What is the best way of load properties that will be available to any ejb?  
Specifically, I need an easy way to switch between our test and production databases.  
I'm not using connection pooling and need know the correct connection string.

One thought was to use jndi-properties.xml, but I'm unsure of the correct syntax.  

Another was a class that runs at startup and loads the string into a System.property, 
but I don't know how to do a load-on-startup in JBoss.

Thank you
Peg

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

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


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to