Not sure if this will work for you... But I have an entity bean which 
contains my configuration. I simply lookup the (configuration) entity and 
get the values that I need in my Session bean.

This might work for you aswell...

Regards,

Harm de Laat
Informatiefabriek
The Netherlands




"Giovanni Formenti" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
11/04/2003 11:00 AM
Please respond to
[EMAIL PROTECTED]


To
"Jboss Mailinglist" <[EMAIL PROTECTED]>
cc

Subject
[JBoss-user] Application configuration






Hallo!
I'm developing an application that have a Session Bean that execute some
operations on a db. I'd like to write some configuration elements in a xml
files and load them at startup (when JBoss is started) and put them in a
storage class (simply a javabean). The Session EJB must access this class
and read the config infos.
Can someone give me some idea who to do this?!

Thanx
Gio



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to