anonymous wrote : is the construction of the ejb reference right in the following code?
Looks fine :)
Just a note though, which ALR already mentioned, the FirstMatchEjbReferenceResolver
isn't constrained by the deployment unit passed to it. Consider your application is
pacakged as :
| XYZ.ear
| |
| |--- A.jar
| |
| |--- B.jar
Assuming a deployment unit corresponding to A.jar (which belongs to XYZ.ear) is passed to
this resolver, the resolver will not just look for the right EJB within A.jar but will
also look for beans from within B.jar.
If you want the behaviour to be different, then you will have to use a different
implementation other than the FirstMatchEjbReferenceResolver.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228359#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...