• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Sunil Thaorey
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaRanch Forum is for discussion of this site and it contents.
You might get better luck in Other API's forum.

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!