my dog learned polymorphism
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Design DAO as a SLSB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Design DAO as a SLSB" Watch "Design DAO as a SLSB" New topic

Design DAO as a SLSB

Joao Bosco Jares
Ranch Hand

Joined: May 13, 2011
Posts: 44
Hi friends,

I do a design as the description above:

Presentation Tier (JSP/ManagedBean):
Description: The purpose of the
ManagedBean is handles the
application presentation
and navigation logic
that will be configured at

Business Tier (Session Bean):
Description: The purpose of the
Service Tier is
concentrate the more coarse grained
business logic and
inteligence of the system (such as a Session facade),
delegating to the DAO the fine grained
business logic (more associated with the
form of integration with legacy).

Persistence and Integration Tier (DAO as Session Bean)
Description: The purpose of the DAO
is the facade to the entities, and needs
to get a reference to an entity manager
to read and write data to the database.

As well, is the do the bridge to
communication with all other
legacy systems such as web services,
and others.

Annotation is
used to inject
entity manager into DAO

I want some help about the responsibility assigned to each tier, and specially if exist any problem regarding use DAO as Session Bean.

Best regards!

Luay Abdulraheem
Ranch Hand

Joined: May 18, 2011
Posts: 65
Take a look at this, may be it will help you :

I agree. Here's the link:
subject: Design DAO as a SLSB
jQuery in Action, 3rd edition