users@glassfish.java.net

Re: SLSB implementing interface with EJB 3.1 simplified packaging/GFv3

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Jun 2009 12:33:30 PDT

Did you get the same error as before when you added @LocalBean?

@LocalBean
public class A implements B {}

is supposed to work fine. If the B interface is not itself annotated with @Local it should just be ignored w.r.t. determining the client views exposed by the bean. Otherwise, the bean would just expose both a B local interface view and a no-interface view.
[Message sent by forum member 'ksak' (ksak)]

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