Hi Markus,
It's in section 3.6.1 Locating a Session Bean’s Home Interface of the
EJB spec (EJB Core):
@EJB CartHome cartHome;
Regards,
Dies
Markus KARG wrote:
> I have code that is using JNDI to lookup an EJBHome.
>
> Now I want to get rid of the deployment descriptor, so I added @EJB
> annotation instead of the JNDI lookup.
>
> But how can I access the EJBHome now?
>
> Thanks
> Markus