EJB design: where to store configuration info in EJB3
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?
- Posted by: Java Day
- Posted on: August 04 2009 17:32 EDT
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.