users@glassfish.java.net

Re: EJB Cannot Be Found

From: <glassfish_at_javadesktop.org>
Date: Wed, 20 Jun 2007 09:41:02 PDT

The client @EJB should use the type of Local Business interface -- UserAccount, not the bean
class. In EJB, the client has no visiblity to the bean implementation class.

@EJB
public UserAccount newuser;

instead of

@EJB
public UserAccountBean newuser;
[Message sent by forum member 'ksak' (ksak)]

http://forums.java.net/jive/thread.jspa?messageID=223109