Skip to Content
0
Former Member
Dec 08, 2009 at 06:56 AM

Custom application configuration parameters without a properties file

28 Views

Hello.

This has to be simple, but I can't find any documentation on this subject -- I have a Java application I'm deploying on the SAP J2EE AS. Right now it uses a properties file stored in the EAR which is read using getResrouceAsStream. The problem is that it means that any chance to the properties required re-building and re-deploying the EAR, which is a huge inconvenience for maintenance.

I'd like to store the configuration options in the AS, and be able to change them using Visual Admin -- I'm sure there has to be a way to do it, but I can't find where I can configure these custom application parameters and how do I read their values from the AS. It's fine if I need to restart the application after changing a value, I just want to avoid re-packging and re-deploying the EAR.

Any lead in the right direction would appreciated.

Thanks,

Alon