Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

POJO ...  RSS feed

 
Edy Yu
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For those plain Java classes running in a app server, how would we distinguish them between running inside the web server and running inside the EJB container?

This question will bring a further question which asks for the JNDI naming context for a regular Java class.

Thanx in advance.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesn't matter where a POJO runs. Since its just a basic object and has no "extra" container provided properties like Servlets, EJBs etc. do. And that includes any reference in a Namespace - unless you have programatically bound it yourself.
[ December 14, 2004: Message edited by: Paul Sturrock ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!