Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Services EJB or Container ?  RSS feed

 
Fernanda Silva
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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 ?
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to "EJB and Other J2EE Technologies" forum...
 
Fernanda Silva
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont understand. I am on "EJB and Other J2EE Technologies" forum.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • 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.
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Container that implements J2EE specs should supports/provide this kinda services.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!