Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Best OSGI free impl? Java Modules vs. OSGi?

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe Travis is talking about Jigsaw project?
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe. But Jigsaw is based on JSR 294.
 
author
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right. But to be honest: I haven't read the bios. Mea culpa.
 
Travis Berthelot
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!