-
1. Re: How to package custom libraries with EAR or EJB-JAR?
spiritualmechanic Mar 6, 2004 12:43 PM (in response to spiritualmechanic)put mylib.jar into your ear file - either at the root, or in a sub-directory (I use library/mylib.jar), then modify the manifest file you package with your ejb to include a reference to the utility jar - something like:
Manifest-Version: 1.0
Class-Path: library/mylib.jar library/myotherlib.jar
Those library jars will be available to the EJBs, and any classes in the WAR applications also ... but don't forget that the class-loader can only see "up" the tree. So a class in the EJB will be able to find a class in mylib.jar, but a class in mylib.jar won't be able to find a class that is down in one of the other class loaders (such as the web-inf/lib area of the web application).
Hope this helps ...
Ken -
2. Re: Mail Server Settings
acoliver Mar 8, 2004 12:15 PM (in response to spiritualmechanic)If you're interested in working on this I can send you some code I've started working on: http://superlinksoftware.com/cgi-bin/erswiki.pl?JBossConsole
(haven't moved this over to the Jboss wiki yet, will soon)
I want to put some hooks into the deployer to deal wit hthis... -
3. Re: Mail Server Settings
spiritualmechanic Mar 8, 2004 3:30 PM (in response to spiritualmechanic)Okay, sure, you can send it to me. I may do some work on it here and there. I probably won't have gobs of time.
We can probably use WebStart and deploy it that way. We've just started doing some WebStart here at work and it rocks.
Steve