Home

 

Java EE Application Clients

Java EE Application Clients are one of the four types of components defined in the Java EE specification-the others being EJBs, Web components (servlets and JSPs), and Java applets. They are stand-alone Java applications that use resources provided by a Java EE application server, such as EJBs, data sources and JMS resources.

In the context of our banking sample application, we want to provide an application for bank workers who are responsible for creating accounts and reporting on the accounts held at the bank. Because a lot of the business logic for accessing the bank's database has now been developed using EJBs, we want to avoid duplicating this logic in our new application. Using a Java EE Application Client for this purpose allows us to develop a convenient interface, possibly a GUI, while still allowing access to this EJB-based business logic. Even if we do not want to use EJBs for business logic, a Java EE Application Client allows us to access data sources or JMS resources provided by the application server and allows us to integrate with the security architecture of the server.

ibm.com/redbooks