• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Bear Bibeault
  • paul wheaton
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Mikalai Zaikin
  • Piet Souris
Bartenders:

Services EJB or Container ?

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a doubts:
Security, Transaction services and lifecycle are service of EJB or Container. What is of EJB and what is of Container ?
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to "EJB and Other J2EE Technologies" forum...
 
Fernanda Silva
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I dont understand. I am on "EJB and Other J2EE Technologies" forum.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Security, Transaction services and lifecycle are service of EJB or Container. What is of EJB and what is of Container ?


I would almost say that all of these are "of" the container.
- Security is enforced (declarative) and enabled (for programmatic security) by the container, which implements the necessary interfaces and contracts defined in the EJB specification.
- Transaction services are implemented by the container, although part of the actual transaction management might be incorporated into the supporting EJB classes generated by the container.
- Lifecycle management is also handled by the container as the EJBs live and die under the strict control of the container.
Hope this helps.
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Container that implements J2EE specs should supports/provide this kinda services.
 
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic