Hi,

I'm trying to develop a dynamically-reconfigurable class which is to be used 
within JBoss by my own custom EJB Interceptors and Axis Handlers. I'm also 
wanting to create the class in such a way that it can have its internal 
configuration objects updated from a remote location. Having read through the 
forums/docs I'm under the impression that one way to dynamically update such an 
Interceptor would be to expose a suitable management interface through an MBean 
- or even a simple session bean - with the necessary update methods, but I'm 
unclear as to how to link such an interface to the core logic within my 
Interceptors/Handlers. For instance, part of the core will rely on, say, a 
HashMap of configuration parameters, and if further entries are to be 
dynamically added to this HashMap via a Service MBean/EJB method, is it a 
simple task to have this HashMap shared between both the Bean and the 
Interceptor/Handler core? Would the relevant configuration objects need to be 
shared/accessed across JNDI or something similar?
I imagine another approach is to simply create an RMI service within the 
Interceptor's core logic, and have the remote system communicate directly with 
that. However, having used JBoss for a few years now something tells me that 
this would perhaps not be the best approach with respect to the various layers 
of management etc. ... am I right in thinking this?


If anyone can simply steer me in the right direction it would be very much 
appreciated,

Simon


P.S. At this time I have no security/transaction requirements etc. with respect 
to remote access, I simply want a means to communicate updates to the developed 
system as a proof of concept. Also, I'm not tied to any version of JBoss.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885966#3885966

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885966


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to