If i have a JAR file project with several database connections and several dozen service classes configured with Spring 3.1, how do i go about packaging it and deploying it to my Jboss 7.1 server in such a way that the other 35 projects in my system can have a client class as a dependency with the interfaces, and then autowire the services?
The goal here is to do something similar to EJB3's where i have a single service project that handles the database access, then my other 35 war files use that service instead of creating their own individual database connections.
im still reading the IoC container documentation but it seems to me that everything (at the moment) is geared towards everything being contained in one war/ear/whatever file. I don't have that environment.
How do i package this?