This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Websphere and the fly likes Accessing Environment entries in WebSphere 3.5 Adv. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Accessing Environment entries in WebSphere 3.5 Adv." Watch "Accessing Environment entries in WebSphere 3.5 Adv." New topic
Author

Accessing Environment entries in WebSphere 3.5 Adv.

Horaci Macias
Ranch Hand

Joined: Nov 08, 2001
Posts: 74
Does anybody know how to access Environment entries of an EJB in WebSphere ? I've tried the following:

the Environment entry I want to read is called "testing", and I've tried lookup("java:comp/env/testing"), lookup("java:comp"), and many other combinations with no luck. If anyone could paste a sample code....
Thank you in advance,
Horaci Macias
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Accessing Environment entries in WebSphere 3.5 Adv.