-
where to store configuration info in EJB3 (1 messages)
- Posted by: Java Day
- Posted on: August 04 2009 17:32 EDT
I'm new to EJB3 and looking for some best practice advice. I need to store some configuration information to connect to another service from one of my session beans. Can anyone suggest what would be the best way to implement this? properties file? plain configuration file? other alternatives? examples?Threaded Messages (1)
- Re: where to store configuration info in EJB3 by Asiri Liyanage on August 06 2009 02:02 EDT
-
Re: where to store configuration info in EJB3[ Go to top ]
- Posted by: Asiri Liyanage
- Posted on: August 06 2009 02:02 EDT
- in response to Java Day
I guess you can use a properties file. By doing so you can change it to different servers and services at any time without changing the code.