This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
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

Modular Java: comparison of OSGI with other systems and approaches and how they can be combined

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm interested in your opinions on the following topic:
Java (means: Java SE 6, Java EE 6) has no real mechanism for declaring modules and their interdependencies. The topic is quite complicated, and involves among others capabilities like: declarative describtion of modules, their dependencies, versioning, automatic resolving dependencies (using e.g. repositories of modules), etc. There are, however, many approaches/idea/specifications which are linked to this topic somehow. What's interesting, there seems to me that exists clear division between compile-time and runtime. For compile time, we have Maven and Ivy. For runtime, there is OSGI + Spring DM + Spring dm server. There are also other related specification, which I'm not even sure about their current status and scope (JSR-277, JSR-291 - that's actually OSGI, right?, JSR-294). There are also other tools: pax, bundlor etc...
From my point of view it's questionable if the compile/runtime division makes any sense. WOuldn'be be best if maven or ivy used the same module metadata as osgi? There are obviously technical differences and problems here, for example maven uses this silly groupId-artifactId scheme for identificaton (how on earth did they invent this crazy idea instead of single package-based id? I can't imagine).
So the interesting topic is: what's the possible future of this systems/approaches? What are the chances of having them unified and/or integrated? If the OSGi is the clean winner in runtime scope (is it?) is there any chance that we'll have the compile-time system based on OSGI metadata soon?
 
You’ll find me in my office. I’ll probably be drinking. And reading this 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!