Oh, as for your second question, using an MBean as your "service" is the way 
JBoss works (well, assuming you are talking outside of J2EE, in which case you 
should be looking at .war/.ear deployment).

So, yes, to load components, you simply write your MBean, and add its  
configuration to your configuration file.  JBoss makes this part flexible too - 
you can put this directly in your conf/jboss-service.xml or you can bundle up 
your MBean (with its supporting classes/libs) in a .sar and deploy your .sar in 
the /deploy directory.  There are a few other ways to deploy but those are the 
common ones.

In short, yes, you write MBean services and deploy those MBeans in order to 
"load your components".

Hopefully, I understood your question and answered it appropriately.

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

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


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