Spring 2.5 in an EJB container
I would like to use a spring framework in an EJB3 project. In detail, I would like to use a JDBC templating class that should be generated from a given datasource. When I put spring.jar in my personal Jboss lib directory everything works fine. But when I put the JAR in my EAR, there are only external dependencies on the JDbcTemplate before other libraries. EARs / EJBs classloader tries to instantiate the JdbcTemplate and shows that it cannot load the class due to external dependencies. It doesn't show me what additional JARs I have to contribute.
Question. Does anyone know what additional JARs I should include, or even how I can search for dependent JARs with an external tool. I remember there is a tool that can do this, but I don't know its name anymore. I think something like jarjar etc.
Can anyone please help? Thanks.
a source to share