• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Functions of J2EE container

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I'm still in control here. LOOK at this tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic