Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Design DAO as a SLSB  RSS feed

Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at this, may be it will help you :
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!