-
1. Re: Location of Custom Java Bean JAR !!!!!
sgturner Aug 13, 2002 12:41 PM (in response to pkondaka)Same place as you war file, the <server config>/deploy directory.
-
2. Re: Location of Custom Java Bean JAR !!!!!
romalley Aug 13, 2002 3:17 PM (in response to pkondaka)To adhere to J2EE standards, and to enable these beans to be re-deployed when you deploy your application, you could put the jar file either:
- within a WEB-INF/lib folder (i haven't tested with JBOSS)
- Unpacked in a WEB-INF/classes folder (i haven't tested with JBOSS)
or, a way that I HAVE tested with JBOSS and it works:
- Ouside your WAR application in an EAR deployment. The EAR deployment would contain both your mybeans.jar file and your WAR file and it has another folder called META-INF that contains a file called application.xml. That application.xml file lists tags and one of the modules is a module with the name of your jar file. The other module is the name of your war file.
Also, If you don't care if the beans are re-deployed dynamically (you can stop and restart the JBoss server to redeploy), then you should be able to put the jar file in C:\jboss-3.0.0_tomcat-4.0.3\lib\ext assuming your JBoss root is the same as mine.
Bob