If you can't put such logic in a regular EE application, then see if you
can put your application logic in an OSGi module and deploy it to
GlassFish. GlassFish will activate it everytime it starts and deactivate
it when it shuts down. More information at [1]. Hope it suffices.
Sahoo
[1]
http://glassfish.java.net/public/GF-OSGi-Features.pdf
On Monday 08 August 2011 10:13 PM, forums_at_java.net wrote:
> Hi people!
>
> I am quite new using Glassfish and I am having some issues because I have
> been using JBoss for a long time.
>
> JBoss offers the option to create applications with the extension .SAR
> thax
> executes a service.
>
> I was wondering if it is possible to create a similiar kind of
> application in
> Glassfish.
>
> Waht I really want is a daemon that waits to open a socket when it is
> invoked. Is it possible to create something like this with Glassfish?
>
> I appreciate any help. Thank you in advance.
>
>
> --
>
> [Message sent by forum member 'mapiruli']
>
> View Post: http://forums.java.net/node/830816
>
>