Skip to Main Content
Java EE 7 Recipes: A Problem-Solution Approach
book

Java EE 7 Recipes: A Problem-Solution Approach

by Josh Juneau
May 2013
Intermediate to advanced content levelIntermediate to advanced
748 pages
20h 58m
English
Apress
Content preview from Java EE 7 Recipes: A Problem-Solution Approach

CHAPTER 9

image

Enterprise JavaBeans

Enterprise JavaBeans were created in order to separate the view layers from the database access and business layers. EJBs are where all of the database (EntityManager) access and business logic should take place within a Java EE application, and they have become significantly easier to use over the past few releases. EJBs are used to coordinate database tasks with entities, and JSF managed beans are used to interact directly with the JSF web pages. Managed beans are used to provide a façade between the view layer and the business layer.

EJBs are deployed to an application server container, which manages the bean ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Java EE 7

Beginning Java EE 7

Antonio Goncalves
Beginning EJB 3: Java EE 7 Edition

Beginning EJB 3: Java EE 7 Edition

Jonathan Wetherbee, Chirag Rathod, Raghu Kodali, Peter Zadrozny

Publisher Resources

ISBN: 9781430244257Purchase book