I made this. But my code is generated by AndroMDA with Seam and EJB3 cartridge, so I am
not sure why it works lol
But here are a few pieces of code that may help you :
The EJB is injected this way in my Seam component :
@javax.ejb.EJB
| protected myPackage.ServiceProcessusRemote serviceProcessus;
My Seam component is itself an EJB (@javax.ejb.Stateful annotated).
And my serviceProcessus EJB is declared in ejb-jar.xml, something like this :
<session>
| <ejb-name>ServiceProcessusBean</ejb-name>
| <remote>myPackage.ServiceProcessusRemote</remote>
| <ejb-class>myPackageServiceProcessusBean</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
| </session>
Hope it will help you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111255#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...