hello all,

this might not belong to this forum but i can't find a more appropriate as i am 
considering using JMX to accomplish the task:

i have several instances of jboss (app1, app2) and each one has a custom 
written cache (written as a singleton wrapped within a session bean), i'd like 
one of the instances (app1) to be able to flush the cache within the other 
instance (app2). i realize that this will require a remote call from app1 to 
app2. however, i'd like to be able to read the hostname (in order to make the 
remote call) for the app2 dynamically by the app1. 

i was thinking of writing an MBean that runs within the app2 and configures 
hostname, datadir, etc for the app2. but will app1 have access to it? if so, 
how would it refer to it? 

thanks for any help!
james


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

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


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to