You may directly open Java Integration Demo Project using Intellij IDEA. Demo project has UI and backend code to show integration of each available e-Way Bill library method corresponding to respective API in your application.
Before you start using e-Way Bill Lib. First thing to watch for isEWBSession class.
This class includes EWBSettings class & EWBLoginDetails class
EWBSettings – The common settings for all TaxPayers. In case ASP application has multiple TaxPayer support, values in in Settings would remain same.
EWBLoginDetails – TaxPayer specific settings. In case ASP application has multiple TaxPayer support, values of login details changes taxpayer to taxpayer .
The contents of Eway Bill Api Intigration of JAVA Library