开发者

bundles in java?

开发者 https://www.devze.com 2022-12-31 09:50 出处:网络
in symfony 2.0 and django there are bundles that contain everything for a feature (html, css, js, img, php/python).

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消