Hi all,
I have an ejb-jar with several
EJB ( Session, Entity BMP, etc ). I want to pass to all EJB inside this JAR a parameter as an
String ( i.e , the data source�s JNDI name they must to connect to)
and i know that a must use the JNDI naming context
java:comp/env to access enterprise bean's environment.
The questions are :
* When i lookup for "java:comp/env" what Java type will be returned ?
* How to get the environment entries ?
* Once on the EJB descriptor, the env-entry
is related to some EJB. But how can i define only one env-entry and it be acessed by all EJB�s on the application.
If anyone knows an document with this answers, please tell me where to find.
Any help will be apreciated.
Claudio Gualberto.
SCJP 1.4