What does application client module contain?

The application client module contains:

class files, and an application client deployment descriptoor.

Application client modules are packaged as JAR files with a .jar extension.

In the context of Java EE (Enterprise Edition), an application client module typically contains components that are used to build standalone client applications that run outside of a Java EE server. The correct answer would be:

The application client module contains:

  1. Application Client: This is the Java class that serves as the entry point for the application client. It typically contains the main method where the execution of the client application begins.
  2. Application Client Container Descriptor (glassfish-application-client.xml): This XML file contains deployment information and configuration settings for the application client module. It specifies details such as the main class, the location of the application client JAR file, and other deployment properties.
  3. Client JAR File: The JAR (Java Archive) file that contains the compiled classes and resources needed to run the application client. This file is often created during the build process and is deployed to the client machine.
  4. Library JARs: Additional JAR files containing libraries or dependencies required by the application client. These JARs are often included in the application client module to ensure that all necessary libraries are available when the client application runs.

It’s important to note that the specifics can vary depending on the Java EE application server being used (e.g., GlassFish, WildFly, WebLogic), as each may have its own configuration and deployment mechanisms.