bundles in java?
in symfony 2.0 and django there are bundles that contain everything for a feature (html, css, js, img, php/python).
so if you want to delete one feature, you basically just delete that bundle and unregister it from "main".
are there java frameworks for this too?开发者_运维知识库 or is it different in java cause java is a compiling language.
thanks
In Java, libraries and programs are normally packaged in JAR files. Java does not have its own package management system to install or remove features. Web applications are packaged in WAR files, which are just JAR files with a specific layout.
This has nothing to do with Java being a compiled language.
Are osgi-bundles what you search ?
http://en.wikipedia.org/wiki/OSGi
I suppose the closest thing in Javaland is the venerable Web Application Archive (war file).
精彩评论