Meet The Experts Architecture – Open Space: Managing the JAR Chaos
This post shall sum up the results from our fruitful discussion on friday evenig. The idea for the open space discussion was sparked by Stefan Zörner who talked about modularity and what happens when you have no control over modularity. This post will not try to repeat the discussion but merely conserve the results:
- OSGi is a great module concept that is missing in pure Java. It is somewhat sad that the average enterprise developer will not be able to use it for a while. The main problem seems to be the migration and interoperability of existing non OSGi code, and the changed runtime environment, which is new for the standard operations department.
- You shall make many small modules for your own software. There is a benefit in having them although it cost slightly more work to manage them (for example in eclipse).
- It is mandatory to have somebody watching over external dependencies.
- Many third party dependencies cause various troubles: Classloading, legal, filesize, deployment time, runtime memory
- Maven or Ivy do not solve the problem but they help a lot
- Evaluate the usage of third party code on a regular basis. Consider removing dependencies that are only used for very few code
Thanks to all attendees. Over twenty people joining the discussion shows that there is a need for good ideas.















category:





Hallo Fabian,
ich vermute im ersten punkt soll es heißen “… welches leider noch nicht…”
. Gute Zusammenstellung, klingt allerdings ein wenig danach als wäre OSGi das Allheilmittel. IMHO bringt OSGi zum einen einen nicht zu unterschätzenden Overhead und viele neue Probleme mit sich, vor denen man ohne OSGi nicht stand. Desweiteren braucht es um das Thema Modularität in den Griff zu bekommen nur ein Subset von OSGi, d.h. was kleineres mit vielleicht weniger “Nebenwirkungen” wäre weitaus angenehmer. Hoffen wir auf Jigsaw?
Gruß
Ollie
Hallo Oliver,
danke, habe ich korrigiert. Fehlende Worte unterschlängelt die Rechtschreibprüfung leider noch nicht
Stimmt kann man so verstehen, aber Du hast Recht. OSGi ist kein Allheilmittel, doch die Modularisierung ist ein riesen Schritt nach vorne.
Warten wir auf Jigsaw!
http://beta.parleys.com/#st=5&sl=1&id=1569
Fabian
Schön, dass Euch der Vortrag Antrieb zu dieser Diskussion gegeben hat.
Ich hätte zu dem Thema noch einen kleinen Artikel parat …
Von Software-Messies und Jar-File-Schüttgut
http://it-republik.de/jaxenter/news/Architekturen-dokumentieren-Von-Software-Messies-und-Jar-File-Schuettgut-048153.html
Herzliche Grüße,
StefanZ