I am using MyEclipse and I use an Enterprise Application Project (EAP) that automattically deploys my Web and EJB Projects.
These projects use some other projects that are just POJOs, "simple" java projects. Like a library kind of thing.
The problem is that when I change something in on of the "simple" java projects I have to redeploy my entire EAP in my JBoss in order to see the changes.
What I want is a way to automatically deploy those projects (POJOs) in the EAP, so hot code replacement works with those too.
Any ideas?
With JBoss, you can just drop your JARs in the
server/default/deploy
directory - this was at least true with older versions - thanks to JBoss special classloader (hate it or love it).With WebLogic, you could use "Shared Libraries".
In both cases, the mentioned features are proprietary, i.e. non standard and using them will make your application not portable.
Ahhhh, ok, got it now. In that case, "Exploded Archive Deployment" is the way to go and is supported by MyEclipse (and JBoss). Quoting 7.1 J2EE Project Deployment Modes: