cancel
Showing results for 
Search instead for 
Did you mean: 

External configuration file

Former Member
0 Kudos

Hi all,

I'm about to create a J2EE application (using EAR).

I can deploy in to the server. Problem is we have three stages environment (itl, pre-prod and prod), I want to have all stuff related to different stages (like IPs) in separate configuration file.

One possibility is to have this file inside EAR, but it is not very nice as before deploy to different environment I have to recreate the EAR, so I'd like to have it separately.

Is there a way how to this?

The question can also be laid as "is there a way how to change classpath to point out of EAR?"

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Have a look into the configuration adapter service ( on how to access the configuration.

If you create the same configuration in every environment with other values, it should solve your problem

Regards,

Christophe

Former Member
0 Kudos

The code doesn't work at all. It even can't be compiled.

I'm using NW2004 version.

The is no com.sap.engine.frame.core.configuration.ConfigurationContext class in the configuration.jar