• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Suggestions?: Providing WLS admin console controls for runtime application

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

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.

Thanks & regards,

CM.
 
reply
    Bookmark Topic Watch Topic
  • New Topic