I'm just very very new on the OSGi world, and I'd like to ask for your help in this topic:
I've installed Apache Felix (1.0.4) and I want to be able to access a web service hosted in Felix, using a client application (outside Felix).
I've been doing some google searches, and after reading a lot (including apache mailing list), I believe that I need to use CXF inside Felix. And here comes my question.
How do I embed CFX inside Felix? How do I "bundelize" CFX so as to install it inside Felix? Is this what I have to do? I want to keep using Felix, but I want to publish a web service to the outside world. If this is the right approach, I don't have a clue how to do it.
I also thought that I could use ServiceMix Kernel.
The following page will certainly give you some informations and explain how to expose a web service. If you have any problem (the documentation may be slightly outdated), feel free to ping us on the ServiceMix mailing lists.
ServiceMix Kernel is a small container based on OSGi. The latest release allows external clients to connect to it and issue commands using a simple protocol implemented on top of TCP or SSL. However, this remoting protocol has some drawbacks as the internals makes it unable to do another remote login from a remote session. In addition to that, completion and history do not really work great. So I've been thinking about using the SSH protocol, which is widely used, secured, with tons of different clients available. Unfortunately, no SSH server is available in Java. Over the past weeks, I've been working on implementing this SSH server, based on the IEFT specifications, the JSch SSH client library, and the OpenSSH server source code. The server itself is based on Apache Mina which is a great framework for using NIO. The project is available at http://code.google.com/p/sshd/ and although there are lots of limitations right now, the basics of the SSH protocol work. I plan t...
ApacheCon was really interesting this year! Recently, a lot of people have expressed a real interest in ServiceMix Kernel , our generic OSGi distribution for server side applications. We've been discussing moving this subproject into Apache Felix for several reasons: raise the visibility and awareness on ServiceMix Kernel attract a broader community Several Apache projects are planning to use ServiceMix Kernel as their container: this includes Apache James , Apache Directory and Apache ActiveMQ . The Apache Sling community is also willing to contribute to this effort along with some other groups like the OPS4J project. During this discussion, a name as been proposed by Jamie Goodyear: Apache Karaf . A carafe is a small container used for serving wine and other drinks (http://en.wikipedia.org/wiki/Carafe). In similarity to the name the Kernel allows applications to be more easily handled, and improves their characteristics (much like a bottle of wine left to breath in a dec...
My company IONA provides support on Apache ServiceMix via a distribution called FUSE ESB available from the Open Source IONA site . What's in FUSE ESB right now? Well, it's roughly a distribution of ServiceMix trunk. This implies that FUSE ESB is released ahead of the Apache ServiceMix distribution (the latest release is 3.1.1, whereas FUSE ESB is based on 3.2). Why are you using the latest trunk instead of the most stable branch? Well, mostly because our customers needs some of the latest features available. We take great care of what is in our Fuse branch: we do not necessarily backport all new stuff from trunk. We may also add some specific customer needs inside our own distribution, features that are not present in the trunk version. So is that a fork? Certainly not :-) We have always supported Apache ServiceMix and we will continue to do so. But our customers have specific needs, so we may need to do custom development or have custom branches for them to fullfill t...
Comments
I'm just very very new on the OSGi world, and I'd like to ask for your help in this topic:
I've installed Apache Felix (1.0.4) and I want to be able to access a web service hosted in Felix, using a client application (outside Felix).
I've been doing some google searches, and after reading a lot (including apache mailing list), I believe that I need to use CXF inside Felix. And here comes my question.
How do I embed CFX inside Felix? How do I "bundelize" CFX so as to install it inside Felix? Is this what I have to do?
I want to keep using Felix, but I want to publish a web service to the outside world.
If this is the right approach, I don't have a clue how to do it.
I also thought that I could use ServiceMix Kernel.
Thanks for your help.
Regards,
j.
Cheers,
j.