I'm hunting for ideas or suggestions, so this post is a bit of a ramble with my apologies. I've no problems if there just isn't a solution, but I need to explore the idea. Your help appreciated.
I'm currently writing JAX-WS web services deployed to WLS 10.3, all is going well (fingers crossed). I'd like to give the WLS administrator the ability to set/unset flags that the JAX-WS web services use to change the behaviour of the web service *at runtime* (ie. not at deployment time).
What I'd ideally like to achieve, is somewhere in the WLS console, for my JAX-WS application, to provide a set of checkboxes that the admin can flick on/off, and the program will pick up the values.
I figure the solution to this requires a couple of parts:
1) Ability to configure WLS console
2) Ability for program to read values from WLS console
My overall problem is not necesarily specific to WLS though. How do other JEE servers provide similar facilities? I can't seem to find anything in the JEE spec to provide this sort of functionality. For instance web.xml context-params kind of give us the ability to setup init values for the running application, but I don't believe they can be changed at runtime.
I'm figuring alternatively I'll have to build a JSP/JSF screen to write the values through to the JAX-WS, but not something I particularly want to do as it'll add extra infrastructure we'll need to maintain, and I'll need to secure the relevant pages with the surrounding security headaches.
Can anybody give me a pointer in the right direction please? Your thoughts and comments appreciated.