The JAR can be added to the boot classpath. A JAR can be added to the classpath of a plug-in in four ways. To access a given library from a plug-in, the library needs to be added to the classpath of the plug-in. Note: If you type a new enterprise application project name, the enterprise application project will be created in the default location with the lowest compatible J2EE version based on the version of the project being created. In FAQWhatistheclasspathofaplug-in we explained how the classpath for a plug-in is computed.
Jar may have many related individual java classes that we can reuse in our. If you want to add the new module to an enterprise application project, select the Add project to an EAR check box and then select an existing enterprise application project from the list or create a new one by clicking New. External library is packaged and distributed in JAR file format in Java projects. In the project Properties window, go to Java Build Path > Libraries, and remove all the JARs and class folders in the overview (Ctrl + A to select all content. Click the Add JARs button and select your JAR file from within the lib folder. which classes are being used by this class): Right click on the class, select 'View Outbound Class Dependency'.
To view dependent classes of a specific class (i.e. Select Java Build Path followed by the Libraries tab. To view dependencies between specific classes: select all those classes and right click and choose 'View Class Dependency' to see how those classes are related. This selection affects the run time settings by modifying the class path entries for the project. Start by selecting the Project tab at the top of the screen, and click Properties. In the Target runtime drop-down list, select the application server that you want to target for your development. If you type a new name in this field, the application client project will be created based on the version of the application client JAR file, and it will use the default location. In the Application Client project field, type a new project name or select an application client project from the drop-down list. You can click the Browse button to select the JAR file from the file system. In the Application Client file field, enter the location and name of the application client JAR file that you want to import. Under Select an import source, click on J2EE > App Client JAR file.