• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • 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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic