Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

naming.Context.PROVIDER_URL

 
Jason Kim
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I am a newbie in J2EE using WebSphere V5.
While migrating an EJB application from WebSphere V3.5 to WebSphere V5, I came across "javax.naming.Context.PROVIDER_URL".
In WebSphere V3.5, it seems that it is used to resolve JNDI name for EJB or to locate home interface of the EJB.
Am I correct ?
However, in WebSphere V5, it causes an NamingException and the application only works without it.
So can I just leave it out and safely assume that
WebSphere V5 doesn't require "javax.naming.Context.PROVIDER_URL" ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic