• Post Reply Bookmark Topic Watch Topic
  • New Topic

Functions of J2EE container

 
Nupur Gupta
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have read that the J2EE container takes care of security, transactions, and threading issues. Does that mean that the container by itself implements these functions? Or does the programmer coding the beans have to ensure that these functions are implemented in the code?
Thanks a lot.
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The J2EE container will have code to ensure this. The application developer does not have to write code to deal with this.
 
Debu Panda
author
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read chapter 1 of my book ahttp://www.manning.com/panda/sample-ch01_Panda.pdf

This describes what's a container is and what benefits it provide

regards
Debu
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nupur Gupta:
Hi,
I have read that the J2EE container takes care of security, transactions, and threading issues. Does that mean that the container by itself implements these functions? Or does the programmer coding the beans have to ensure that these functions are implemented in the code?
Thanks a lot.


You as the programmer have to edit your deployment descriptor (ejb-jar.xml) concerning security and transactions. Threading is done automatically by the EJB container for each new transaction.

Regards,
Darya
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!