Dimitris,

thanks for your reply. this sounds good. now the second part of the problem is, 
i'd like to configure a set of properties (hostname, datadir) for the app2 
dynamically so that i can deploy the app2 in dev, stage, prod just by running 
the same ant target (deploy). hence, i was thinking of an MBean whose 
mymbean-service.xml will contain dev, stage and prod values depending on the 
environment it is in. 

i assume it's simple for the session bean in the app2 to have access to the 
values MBean configured.

can you see a better way of handling this? would i be better off using 
jbosscache at all?

thanks again!
james

  

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

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


-------------------------------------------------------
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