dev@jsr311.java.net

RE: Naming of annotations <was> Re: Redirection and creation <was>

From: Jerome Louvel <jerome.louvel_at_noelios.com>
Date: Thu, 12 Apr 2007 14:43:17 +0200

Dhanji, Paul,

> > I dont think this is wise as @WebMethod is a jws
> annotation used to
> > expose EJB methods via WSDL-style webservices.
>
> Foiled again! Darn, this naming thing is tricky!
>
> You would think that packages solve this problem. =)

Hmm, if you rely on this JSR API to expose your EJBs as Web Services, why
also rely on JWS at the same time? In the rare cases where both RESTful and
SOAP Web Services should be exposed from the same POJOs, then package names
should solve the issue. Otherwise, there is little interest in having
namespaces.

Best regards,
Jerome