You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Alexander Blotny <Al...@fokus.fraunhofer.de> on 2009/07/06 16:10:06 UTC

HTTP/SIP Servlet

Hi,

is there a possibility to run a server (like sailfin) inside Felix?
The bundles need to have access to server functionality (SIPSessionšs ...)
and if I start the server outside of Felix the bundles have no access to the
server context. I am just starting to look at this problem but I thought
maybe can someone give me some hints.

cheers,
Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: HTTP/SIP Servlet

Posted by Sahoo <sa...@sun.com>.
Yes, it is possible. I see two approaches:
1) embed sailfin inside Felix.
2) embed Felix inside sailfin.

Approach #2 is similar how Felix or any other OSGi framework is 
typically embedded in an application server that's not designed with 
OSGi in mind. See [1] for details.

Approach #1 requires you to break sailfin into a set of OSGi bundle(s).

#2 requires extensive knowledge of sailfin, but it definitely has its 
advantages. It allows you to develop Sip Servlet enabled applications as 
traditional "Sip Archives" or as OSGi bundles.

Sailfin project team [2] has just started investigating this. They are 
taking approach #1. As you may already be knowing, the current version 
of sailfin is based on GlassFish v2.x. GlassFish v3 has been 
rearchitected to run as a set of OSGi bundles [3]. It uses Felix as the 
default OSGi platform. It has an extensible architecture and the sailfin 
project team [1] will deliver the "Sip Servlet Container" as a set of 
OSGi bundles which will extend GlassFish with Sip Servlet functionality. 
Your help is welcome. For further questions regarding this effort, 
please send emails to dev@sailfin.dev.java.net.

Thanks,
Sahoo

[1] http://www.eclipse.org/equinox/server/
[2] https://sailfin.dev.java.net/
[3] 
http://wiki.glassfish.java.net/attach/V3FunctionalSpecs/GFv3-OSGi-onepager-v0.3.txt

Alexander Blotny wrote:
> Hi,
>
> is there a possibility to run a server (like sailfin) inside Felix?
> The bundles need to have access to server functionality (SIPSessionšs ...)
> and if I start the server outside of Felix the bundles have no access to the
> server context. I am just starting to look at this problem but I thought
> maybe can someone give me some hints.
>
> cheers,
> Alex
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org