dev@glassfish.java.net

Re: Please review pom.xml for SSE

From: Jitendra Kotamraju <jitendra.kotamraju_at_oracle.com>
Date: Wed, 18 Jan 2012 12:38:28 -0800

On 01/17/2012 07:55 PM, Sahoo wrote:
> Jitu,
>
> Can you please attach web-sse/pom.xml? I would also like to know when
> this module gets activated in runtime.

Attaching the web-sse/pom.xml

The module has a CDI extension and a Servlet extension(a
ServletContainerInitializer).
Servlet and CDI extensions are looking for @ServerSentEvent annotations.
So I guess for every webapp this module is loaded.

thanks,
Jitu
>
> Thanks,
> Sahoo
> On Wednesday 18 January 2012 04:59 AM, Jane Young wrote:
>> Looks good. Thanks.
>>
>> On 1/17/12 3:25 PM, Jitendra Kotamraju wrote:
>>> See the following changes to web module to incorporate
>>> SSE(Server-Sent Events). Also, adding web-sse dir.
>>> That means SSE would be part of web distribution.
>>>
>>> thanks,
>>> Jitu
>>>
>>> ~/src/glassfish-main/main/appserver/web$ svn diff pom.xml
>>> web-glue/pom.xml
>>> Index: pom.xml
>>> ===================================================================
>>> --- pom.xml (revision 52080)
>>> +++ pom.xml (working copy)
>>> @@ -72,6 +72,7 @@
>>> <module>weld-integration-test-fragment</module>
>>> <module>web-embed</module>
>>> <module>web-ha</module>
>>> + <module>web-sse</module>
>>> </modules>
>>>
>>> <build>
>>> Index: web-glue/pom.xml
>>> ===================================================================
>>> --- web-glue/pom.xml (revision 52080)
>>> +++ web-glue/pom.xml (working copy)
>>> @@ -248,6 +248,11 @@
>>> <artifactId>gf-web-connector</artifactId>
>>> <version>${project.version}</version>
>>> </dependency>
>>> + <dependency>
>>> + <groupId>org.glassfish.web</groupId>
>>> + <artifactId>web-sse</artifactId>
>>> + <version>${project.version}</version>
>>> + </dependency>
>>>
>>> </dependencies>
>>> </project>
>>>
>>
>