This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Best OSGI free impl? Java Modules vs. OSGi? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Best OSGI free impl? Java Modules vs. OSGi?" Watch "Best OSGI free impl? Java Modules vs. OSGi?" New topic
Author

Best OSGI free impl? Java Modules vs. OSGi?

Travis Berthelot
Greenhorn

Joined: Oct 30, 2004
Posts: 24
What do you think is the best free implementation of OSGi?

I used Knoplerfish years ago and it was pretty great.

Also I would like to know what the book author thinks about the new Java Module JSR vs OSGI?
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

Which "Java Module JSR" do you mean? Both, JSR 294 and JSR 277 are labeled as inactive.

What do you think is the best free implementation of OSGi?

Define "best". I tried Equinox and Apache Felix where I liked Felix a bit more (but that was just personal taste).
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Maybe Travis is talking about Jigsaw project?
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

Maybe. But Jigsaw is based on JSR 294.
Richard S. Hall
author
Ranch Hand

Joined: Feb 14, 2011
Posts: 47
Travis Berthelot wrote:What do you think is the best free implementation of OSGi?


Well, Apache Felix, of course. ;-)

The good thing is, you don't really have to worry about it. Just program to the spec and any implementation should work fine and, if you run into issues on one, you can always switch to a different one.

Travis Berthelot wrote:Also I would like to know what the book author thinks about the new Java Module JSR vs OSGI?


Since there is no substance yet to the Java modularity JSRs, it is difficult to have much of an opinion. I think it is safe to say that no matter what comes out of the JSRs, they will not go as far as OSGi technology, so it will still have its place.
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

Richard Hall wrote:
Travis Berthelot wrote:What do you think is the best free implementation of OSGi?


Well, Apache Felix, of course. ;-)

Now I know why your name sounded familiar to me. You maybe should have mentioned, that you are somehow involved in Apache Felix ;-)
Richard S. Hall
author
Ranch Hand

Joined: Feb 14, 2011
Posts: 47
Joachim Rohde wrote:
Now I know why your name sounded familiar to me. You maybe should have mentioned, that you are somehow involved in Apache Felix ;-)


I think we all fess up to being Apache Felix committers in our bios in the front matter and elsewhere in the book. However, I should point out that the book doesn't really have any dependencies on the Apache Felix framework, it is just our preferred framework implementation.
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

You are right. But to be honest: I haven't read the bios. Mea culpa.
Travis Berthelot
Greenhorn

Joined: Oct 30, 2004
Posts: 24
Actually the module stuff is pretty much done and part of the new version yet to be released.

http://openjdk.java.net/projects/modules/

Since it is not all OSGi like I was wondering what you thought about it.
Augusto Sellhorn
Ranch Hand

Joined: May 24, 2007
Posts: 57
Richard S. Hall wrote:
Well, Apache Felix, of course. ;-)


This is one thing I like about Apache Karaf, you can switch between the underlying containers (currently Equinox or Felix).
Richard S. Hall
author
Ranch Hand

Joined: Feb 14, 2011
Posts: 47
Travis Berthelot wrote:Actually the module stuff is pretty much done and part of the new version yet to be released.

http://openjdk.java.net/projects/modules/

Since it is not all OSGi like I was wondering what you thought about it.


I'm not so sure the module stuff is "done", but I think the requirements they are trying to meet are pretty much defined. I reserve judgment until there is something definitive proposed, not just prototyping in an open source project.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best OSGI free impl? Java Modules vs. OSGi?
 
Similar Threads
OSGI bundling vs CDI bundling
Java Vs C# Hmm...
OSGi vs NetKernel
OSGI usage in the ecosystem
* Welcome Craig Walls