What is the best solution for naming and locating resources within J2EE?  Is 
there going to be a replacement for JNDI?  I have been working on this for 
about a week, and I can't get my JSF backing bean to find a simple stateless 
session bean in my EJBs.  At this point, I'm wondering, is JNDI the right tool 
for this job?  It seems like a simple idea: JNDI maintains a directory-like 
structure, and I can find things in it, but it seems like it has a few problems:

a) There's never anything in it

b) There's no way to list all the resources available within an InitialContext. 
 If I could just make it dump out what it has in it, I might be able to find 
out if things are being put in wrong.  Are there any debugging tools for this?  
Or should I somehow recmopile my own JNDI with logging or something in it?

At this point I'm starting to wonder how / if JNDI is actually used in real 
systems.  It does not seem like it should be that hard.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954284#3954284

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954284

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to