users@glassfish.java.net

Name Space Binding for constant Strings

From: <glassfish_at_javadesktop.org>
Date: Tue, 17 Jul 2007 02:34:41 PDT

Hi,

I'm trying to enter a constant String in the JNDI tree for the applications to find. The Applications have been told to use

java:comp/env/cfg/xxx

to do it and I have to create the strings in the JNDI for them.

The problem is, I have not found anything in the documentation related to adding Strings to the JNDI tree, only ejbs or mdbs or jdbc datasources. I tried doing it using a custom resource but I don't know the "Factory Class" for Strings

thanks
jeremie
[Message sent by forum member 'granat' (granat)]

http://forums.java.net/jive/thread.jspa?messageID=226876