Application client modules are regular Java programs that directly interact with the EJB modules. These modules depend on another type of container named Application Client Container for the services that are required for operation. Each application client module is assembled in a JAR file that contains a deployment descriptor named
application-client.xml descriptor file determines how the application accesses enterprise beans and web resources. When the resources which the application client requires to access are secure the client will be authenticated accordingly.
Assume that we have a Swing application interacting with an EJB module with several constrained EJBs that we ...