i would like to achieve a modular application structure. Is it possible to have one .ear which uses classes of another (ear, war, jar...). Something in the lines of Spring DM. I would like to write a service, deploy it as a module and have it access and be accessed by other modules without repackaging/restarting servers.
To sum up my question is if such architecture is possible in some jboss specific way or if not is it possible to have Spring DM integrated with OSGi capable Jboss Seam ear under Jboss As.