users@glassfish.java.net

Re: RE: EJB3 interfaces with _at_Remote and _at_WebService annotations.

From: <glassfish_at_javadesktop.org>
Date: Sun, 02 Aug 2009 07:49:19 PDT

Thanks for the reply. I have a fairly decent understanding of how things work. The thing I don't understand is if or how you're allowed to mix the two. This example uses annotations:

http://www.pascalalma.net/2009/02/11/create-a-ejb3-webservice-with-maven2-running-on-glassfish/

This one has the interface extend java.rmi.Remote:

http://www.theregister.co.uk/2007/01/23/ejb_web_services/

And now your reply gives the impression the two should be mutually exclusive.
[Message sent by forum member 'jptech' (jptech)]

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