File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes How to Use the JNDI naming context java:comp/env to access enterprise bean's environm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to Use the JNDI naming context java:comp/env to access enterprise bean Watch "How to Use the JNDI naming context java:comp/env to access enterprise bean New topic
Author

How to Use the JNDI naming context java:comp/env to access enterprise bean's environm

Sunil Thaorey
Greenhorn

Joined: Jul 03, 2001
Posts: 3
How to Use the JNDI naming context java:comp/env to access enterprise bean's environment

where env is ublic Properties env;
as getEnvironment is a deprecated method .
It gives error at runtime.
I am using Weblogic5.1 server.
how to use JNDI naming context java:comp/env intead of ctx.getEnvironment() method


Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
JavaRanch Forum is for discussion of this site and it contents.
You might get better luck in Other API's forum.


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Use the JNDI naming context java:comp/env to access enterprise bean's environm