I have about 300 beans in my EAR file, and it is very slow to deploy. The EAR is deployed as a directory, in the JBoss hotdeployment directory. I'm trying to use MainDeployer to redeploy a stateless session bean in the ear directory, without redeploying the whole EAR. MainDeployer deploys the session bean with out any errors, but when I try to use it, the classes which I deployed are not reloaded.
Is this kind of redeploying even possible with MainDeployer ... or are there better solutions ?
Sorry if this is wrong forum, but I couldn't find better.
You could try deploying individual ejb jar and war files while developing and deploy single ear once the code stabilizes to get around the deployment speed issue. I'm not sure what's going on with your new classes not being loaded to the system.