cancel
Showing results for 
Search instead for 
Did you mean: 

Managing persistent parameters in Java Web Dynpro

Former Member
0 Kudos

Hi all,

I need to develop a Java Web Dynpro that communicates with MDM. I would like to manage the MDM connection data (host, user, pw, etc.) as parameters, and not hard-code it in the WD.

I was thinking of creating a table in the J2EE DB with a structure : Parameter_ID / Parameter_Value. So the admin could change the values in this table instead of changing the code, recompiling, redeploying. And at runtime the WD would read the content.

Does someone has other ideas on this ? The best would be a friendly interface like for JCo management, but I guess this does not exist...

Thanks in advance.

Best regards,

Julien

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Julien,

You can use the <i>Configuration Service</i>:

http://help.sap.com/saphelp_nw04/helpdata/en/b8/aa343e32ff1033e10000000a114084/frameset.htm

This service lets you maintain the properties in a properties

file at the level of the application or component.

After deployment, these properties can be changed via the

<i>Visual Administrator</i> in <i>Configuration Service</i>,

or directly in the properties files.

You can find more information and examples in the NWDS help.

Hope that helps,

Yoav.

Former Member
0 Kudos

Hello Yoav,

this looks perfect.

Thanks for your help,

Julien

Answers (0)