6 ms·
Why didn't they just use OSGi, a stable, mature (16+ years old) technology for modularity, instead of re-inventing the wheel with JPMS?
by wodencafe 9y ago
Why didn't they just use OSGi, a stable, mature (16+ years old) technology for modularity, instead of re-inventing the wheel with JPMS?
- batter 9y agoi have used OSGI in projects and find it useful to see bundles states, Camel routes/endpoints, lot's of other useful stuff. But i have never seen it working properly in PROD enterprise application. Sadly my eclipse is just confirming that from time to time with errors :(
- jcadam 9y agoI know. OSGi needs to die. I'll quit a job before I subject myself to that level of pain and despair ever again.
- agumonkey 9y agoSorry for the easy jab, but is there anything from Eclipse that is good ? ps: user and ex plugin developer asking
- pjmlp 9y agoCDT used to be quite good, and there are some features like makefiles and debugging capabilities that are missing from CLion. And actually it does use less resources than either InteliJ or Android Studio, while having faster builds.
- Groxx 9y agoAndroid Studio's minimum-resource-usage-for-sane-performance is enormous. It does some things nicer than Eclipse, but there are definitely times I miss Eclipse's lean-ness, which is not a thing I would have expected myself to ever feel prior to AS.
- agumonkey 9y agoOh right I forgot CDT. The key to Eclipse's success.
- lmm 9y agoThe IDE is good. Eclipselink is fine.
- agumonkey 9y agoI felt it was hog, slow, and the interal API is a maze. Also the virtual fs layer ...
- lmm 9y agoIt's big and slow, agreed, but it is very powerful. I don't know the details of the virtual FS layer but I can sympathise because that's very difficult to get right in a cross-platform way.
- agumonkey 9y agoI don't think it's powerful. As fanatic as it seems, emacs is more powerful for real work. It's more human and more theoretical than Eclipse, which is a "usine a gaz" more than anything. It doesn't bring performance, nor ease of use, or stability. I don't get it.
- lmm 9y agoThe graphical views are useful, and the wide range of plugins comes in very handy. I could never get on with the emacs interface - it just wasn't discoverable enough - YMMV I guess.
- agumonkey 9y agoDiscoverability in emacs is a tiny bootstrap problem. I have to admit that for years I didn't know how to ask emacs, but when you do (C-h m, C-h k), there's no more discoverability problem.
- leastangle 9y agoJetty? OpenHAB?
- agumonkey 9y agoDid Jetty start as an Eclipse project or was it swallowed recently ? I thought it was apache incubated.
- AdieuToLogic 9y agoBut i have never seen it working properly in PROD enterprise application. FWIW, I have programmed for and deployed OSGi-based enterprise solutions. Karaf[0] was the container using Felix[1] most of the time (Equinox[2] being the other for a brief period). These are/were production systems, so I am curious by what you experienced as "never seen it working properly in PROD ..." 0 - https://karaf.apache.org/ https://karaf.apache.org/ 1 - https://felix.apache.org/ https://felix.apache.org/ 2 - https://www.eclipse.org/equinox/ https://www.eclipse.org/equinox/
- pjmlp 9y agoBecause OSGi is a pile of needless complexity for selling consulting support, the less I have to touch it the better.
- fauigerzigerk 9y agoAren't you an IT consultant though? ;-)
- pjmlp 9y agoYes, but getting to do JEE and stuff like Websphere is already enough, I don't need to fight with OSGi as well. :) Having written a few Eclipse plugins was already enough.
- wodencafe 9y agoDon't let Eclipse give you a bad impression of OSGi. There are now some very cool things that make starting a new OSGi project a lot easier: * Declarative Services, for simplifying Component definitions (No more editing XML) * bnd / bndtools for building your OSGified jar (No more manually editing the Manifest)
- wodencafe 9y agoOk, but do you think JPMS is a better alternative?
- geodel 9y ago> OSGi, a stable, mature (16+ years old) technology And hardly used in industry beyond eclipse project.
- amyjess 9y agoI used to work for a robotics company that made heavy use of OSGi. We also wrapped OSGi in a services framework we created (and by that, I mean my boss wrote it, and then I added some features and bugfixes later), which we open-sourced. What's really cool is that the Flow stuff from the article resembles a publish/subscribe library that we wrote and also open-sourced (under the name JFlux, even), which in turn was built on some interfaces that bear a resemblance to the Java 8 functional interfaces, except written for Java 6.
- leastangle 9y agoI don't think that this is true: OpenHAB, Nexus 3, a lot of the enterprise application servers... One can probably compile a pretty long list of things "running in production" using OSGi.
- moomin 9y agoTBH, that's not the right question. I'd argue the right question was why didn't they make Jigsaw Maven-compatible?
- moomin 9y agoTBH, that's not the right question. I'd argue the right question was why didn't they make Jigsaw Maven-compatible?