• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic