[jboss-dev-forums] [Design of EJB 3.0] - Re: Parse jar to detect ejb3 beans
bill.burke@jboss.com
do-not-reply at jboss.com
Mon Jan 1 17:47:54 EST 2007
I wouldn't suggest doing it this way....
What you should do is have your JACC deployer come after the EJB3 deployers and look for:
|
| public void deploy(DeploymentUnit unit) throws DeploymentException
| {
| Ejb3Deployment deployment = unit.getAttachment(Ejb3Deployment.class);
| if (deployment == null) return; // there is no EJB3 deployment in this file
|
Scanning is time consuming. We don't want 50 deployers doing scanning.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997140#3997140
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997140
More information about the jboss-dev-forums
mailing list