dev@glassfish.java.net

Re: how does glassfish process _at_WebService annotation ??

From: Mark Hansen <mark_at_javector.com>
Date: Mon, 06 Mar 2006 18:41:26 -0500

Thanks. Very helpful.

If it is a WAR being deployed, is a javax.servlet.http.HttpServlet
wrapper generated to send/receive SOAP over HTTP?

-- Mark

Vijay Ramachandran wrote:

> Take a look at
> appserv-commons/src/java/com/sun/enterprise/deployment/annotation/handlers/WebServiceHandler
>
>
> During deployment of a service, all deployment descriptors (if any)
> will be loaded and then the annotations are processed. On seeing an
> @WebService, the annotation framework call WebServiceHandler which
> processes the annotation. While processing the annotation, we check if
> there a deployment desc entry already available and if so, the
> annotation values will not override the equivalent defined in the
> descriptor. At the end of the annotation processing phase, we have all
> the information required with which we generate WSDLs and other
> portable artifacts (if not packaged).
>
> Hope this helps
>
> Vijay
>
> Mark Hansen wrote:
>
>> I'd like to better understand how Glassfish processes the @WebService
>> annotation (and other JSR-181 annotations) to create and deploy an
>> annotated class as a runnable web service. Can anyone suggest what
>> packages/classes to start looking at? Could anyone maybe just sketch
>> out how it works in general.
>>
>> Thanks in advance,
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>