You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Tobi <K....@gmx.de> on 2009/07/05 15:39:20 UTC
Hello World example for Bundle Plugin for Maven
Hi all,
I am looking for a Hello World example that shows the use of "Bundle Plugin for Maven" and also runs in Equinox.
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
Where can I find such an example? What other open source projects use the Bundle Plugin for Maven?
What I found until now:
An example like "iPOJO Hello World" http://felix.apache.org/site/ipojo-hello-word-maven-based-tutorial.html
On the plugin site exist the "Simple Example"
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
but the mentioned "detailed how-to" is missing.
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html#ApacheFelixMavenBundlePlugin%2528BND%2529-howto
Regards
Tobi
--
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
---------------------------------------------------------------------
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
HTTP/SIP Servlet
Posted by Alexander Blotny <Al...@fokus.fraunhofer.de>.
Hi,
is there a possibility to run a server (like sailfin) inside Felix?
The bundles need to have access to server functionality (SIPSessions ...)
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: Hello World example for Bundle Plugin for Maven
Posted by Aaron Zeckoski <aa...@vt.edu>.
You are welcome to check this code out which has a sample api bundle,
imple bundle, and servlet bundle:
http://azsandbox.googlecode.com/svn/trunk/osgi-sample/
Just follow the README to build and run it using pax runner. If you
want to run it in equinox via pax runner, the command is this:
mvn pax:run -Dframework=equinox
Hope that helps
-AZ
On Sun, Jul 5, 2009 at 2:39 PM, Tobi<K....@gmx.de> wrote:
> Hi all,
>
> I am looking for a Hello World example that shows the use of "Bundle Plugin for Maven" and also runs in Equinox.
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
>
> Where can I find such an example? What other open source projects use the Bundle Plugin for Maven?
>
>
> What I found until now:
>
> An example like "iPOJO Hello World" http://felix.apache.org/site/ipojo-hello-word-maven-based-tutorial.html
>
> On the plugin site exist the "Simple Example"
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
> but the mentioned "detailed how-to" is missing.
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html#ApacheFelixMavenBundlePlugin%2528BND%2529-howto
>
>
> Regards
> Tobi
> --
> Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Aaron Zeckoski (azeckoski (at) vt.edu)
Senior Research Engineer - CARET - University of Cambridge
https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Hello World example for Bundle Plugin for Maven
Posted by Serge Emmanuel Pagop <se...@innoq.com>.
Take a look on the pax-construct project, then you test your
helloworld bundle with different osgi impl. (equinox, felix, ...)
Von meinem iPhone gesendet
Am 05.07.2009 um 15:39 schrieb "Tobi" <K....@gmx.de>:
> Hi all,
>
> I am looking for a Hello World example that shows the use of "Bundle
> Plugin for Maven" and also runs in Equinox.
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
>
> Where can I find such an example? What other open source projects
> use the Bundle Plugin for Maven?
>
>
> What I found until now:
>
> An example like "iPOJO Hello World" http://felix.apache.org/site/ipojo-hello-word-maven-based-tutorial.html
>
> On the plugin site exist the "Simple Example"
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
> but the mentioned "detailed how-to" is missing.
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html#ApacheFelixMavenBundlePlugin%2528BND%2529-howto
>
>
> Regards
> Tobi
> --
> Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
>
> ---------------------------------------------------------------------
> 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