When caller of your ejb(web component) and ejbs are in different JVM then you just have to
include classes of Home and remote of you ejb in your web module.
When caller and ejb are in same JVM and you placed home and remote of your ejb in web
module, you get this exception i.e "Invalid invocation, check your deployment
packaging", because in this case home and remote are loaded by two class loaders (Web
and EJB class loader). Thats why caller finds mismatch.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134893#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...