on 10-08-2007 6:58 PM
I have developed an EJB that connects to a MDM Server using the MDM Java API. Right now all the info regarding the connection to MDM; User Name, User Password, Server IP, Repository, etc; is stored in a properties file inside the the EJB's project.
Since that gives me some troubles while transporting the application from DEV to QAS and PRD, I was wondering if there is any way to store this info in a custom properties that can be entered and stored via the J2EE Visual Administrator.
Is that possible? and if so, where can I look for info?
Thanks for your help.
Hello
you could move the configuration into the deployment descriptor using an <env-entry> tag
have a look at this <a href="http://jonas.objectweb.org/JOnAS_4_7/doc/PG_Environment.html">link</a>
regards franz
reward points if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.