ejb@glassfish.java.net

Re: Annotations compatibility

From: Kenneth Saks <Kenneth.Saks_at_Sun.COM>
Date: Fri, 15 Sep 2006 10:09:30 -0400

Carlos Angarita wrote:

> Hi All
>
> I´ve just deployed a sample EJB in glassfish and exposed it as a web
> service using the @WebService annotation everything works perfect, but
> when I try to deploy it to the oc4j 10.1.3, the web service was not
> created and I had to move the WebService annotation to the interface
>
>
> @WebService(serviceName = "MyFirstEJB3Service")
> public interface WebserviceEJB extends Remote{
> @WebMethod(operationName="HelloWorld")
> String getHelloMessage(String s) throws RemoteException;
>
> }
>
> So I conclude the oracle containner is not fully compatible with the
> specification,

Hi Carlos,

Yes, it sounds like a bug in that implementation. Despite the fact
that many vendors have made pre-FCS versions of their Java EE 5
products available, at this time there are only two vendors that
have passed the Java EE 5 Compatibility Test Suite : SUN and
TmaxSoft. You can find more info on the compability program here :

http://java.sun.com/javaee/overview/compatibility.jsp

 --ken

>
> and I want to know, where can I find the standard way? will we have
> the same problem when other application servers come up?
>
> Thanks
>