December 2017
Intermediate to advanced
372 pages
8h 46m
English
Frequently, Java EE applications consist of web applications acting as clients for EJBs. Before Java EE 6, the most common way of deploying a Java EE application that consists of both a web application and one or more session beans was to package both the WAR file for the web application and the EJB JAR files into an EAR (Enterprise ARchive) file.
Java EE 6 simplified the packaging and deployment of applications consisting of both EJBs and web components.
In this section, we will develop a JSF application with a CDI named bean acting as a client to the DAO session bean we just discussed in the previous section.
In order to make this application act as an EJB client, we will develop a CustomerController ...