
247
imPlementing a business aPPliCation using Coda
• Business components are implemented as Enterprise Java Beans (EJB). EJBs
are injected to the model managed beans in the UI layer by the EJB container
dependency injection.
• Persistence is implemented using JPA. EJBs leverage JPA to access persis-
tence. Persistence management is handled by the application or by the EJB
container.
e overall structure of the Java EE framework–based implementation of the POS
application is presented in Figure11.25.
e Java EE implementation of a POS Web application includes a number of JSF
components at the presentation tier. e mapping of the JSF components to ...