users@glassfish.java.net

Re: _at_Local extends _at_Remote

From: <glassfish_at_javadesktop.org>
Date: Mon, 15 Sep 2008 05:18:43 PDT

I tried the 2nd approach, with a "helping" interface where both Local and Remote interface extend from.
But NetBeans gives a warning on
@Stateless(mappedName="FooEJB")
public class FooBean implements FooLocal, FooRemote {
...
}
saying
"When a session bean has remote as well as local business interface, there should not be any method common to both the interfaces"

Although this warning the deployed project behaves like expected when accessing both Local and Remote interfaces.

Anyone with some more expertise/experience on this topic?

Thanks

Kris
[Message sent by forum member 'moenzie' (moenzie)]

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