[jboss-user] [EJB 3.0] - Re: The deployment of EJB3.0 is too slow, 5m for each bean

puddlor do-not-reply at jboss.com
Tue Apr 10 02:01:42 EDT 2007


I find the problem.


Wrong but can work in JBOSS( not in Weblogic):
@Stateless
public class A implements ASvr, ALocal{}
@Remote
public interface ASvr{}
@Local
public interface ALocal{}


Correct:
@Stateless
@Remote(ASvr.class)
@Local(ALocal.class)
public class A implements ASvr, ALocal{}
public interface ASvr{}
public interface ALocal{}


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035864



More information about the jboss-user mailing list