Too many questions ;-)
lib/ext is what jboss does with most services,
but you won't get hot-deployment
the classloaders for lib/ext are created at
You didn't mention which version of JBoss you are using?
With JBoss3.0 you can create a sar
"super archive" this can contain
ejbs, rars, wars, jars and MBean configuration
and it is all hot-deployable
How you package the application is for you to decide.
You could create one big sar, or choose to
"modularise" it for ease of development.
Or you might decide to use service.xml snippets that
point to specific archives for their classes.
i think hot-deploy is, of course, a cool way to go so are you saying that if i want hot-deploy, i'll have to make my whole application an mbean ???
can multiple mbeans share code and still be hot-deploy?
Hot deploy works for everything.
Multiple MBeans can share hot-deployed jars.
You have to declare the dependency on the jar to
force a redeployment of the MBeans.