If I wanted to use Ibatis within a EJB session bean -what directory would I put the ibatis jar files in? tried lib, WEB-INF/lib but doesn't seem to work.
You can put ibatis*.jar files anywhere, but please make sure your ejb.jar references ibatis*.jar using the Class-Path mechanism(within META-INF/MANIFEST.MF). In our project, we put ibatis*.jar in the root directories of EAR files. This add flexibilty to our development & deployment, though it does lead to mutiple copies of ibatis on the same app server.
thanks for that, I'm assuming it's the EJB's META-INF/MANIFEST.MF file I need to change? can you possibly show how to set the classpath in it to point to the jar files in the app's root directory?
thanks once again!
You're right. Here is a sample of EJB's MANIFEST.MF, which is usually modified within an IDE, such as WSAD, JBuilder, and etc.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.