"sguilhen(a)redhat.com" wrote :
| As Adrian said, we can always include the stub classes in the vehicles war deployments
to have the tests passing, but it would be good to have a more general solution in place.
Another solution would be to write a new stub deployer that either
* Takes a list of interfaces to generate stubs for
(could be the interfaces defined on the ejb-refs in the ejb-jar/web.xml)
* Scans the deployment for Remote classes and generates them automatically.
The generated bytecode could then be placed in the in memory vfs that is available
for each classloader used by aop.
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-deploye...
This doesn't require any change to the classloader, such as the complicated
multiple pass, and the resource does exist in the in-memory vfs context.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157074#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...