Hello,

We are using EJBs, only Stateless Session Beans that are identified as such be 
annotation @javax.ejb.Stateless. It is an exploded .jar without ejb-jar.xml 
file.

In development, every change to the classes provokes a redeploy of the EJBs.

My question is, can I switch off EJB?

All client code accesses EJBs via a factory class, so there could be an 
alternative factory that just returns an instance of the EJB class, The 
functionality would be the same, of course without the EJB features like 
transactions and security. But sometimes during development that is acceptable 
for fast redeploy.

I understand that in JBoss there are configurable deployers that recognize and 
deploy the various files that you put into deploy/. It seems what I want to do 
is something like remove or switch off the EJB deployer. Then the .jar will be 
deployed as a plain JAR which will hopefully be faster.

Has anyone done that?
How can I do it?

Thanks,
Alex

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205018#4205018

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205018
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to