[jboss-user] [EJB 3.0] - Re: how to enable RMI class loading

jzawlocki do-not-reply at jboss.com
Sun Dec 7 07:09:11 EST 2008


You should copy your business interfaces to the global class loader on top of your ear class loader.  Let's say that you have 

@Remote
MyInterfate{}

@Stateless
MyBean implements MyInterface{
}

So you should place MyBean in your ear, but MyInterface should be located outside ear, directly in your deploy directory.



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

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



More information about the jboss-user mailing list