a huge number of publicly available packages extends the functionality of the java core platform. some of them provide access to features of the underlying operating system that are not available through the standard class library, such as missing gui components, or reader and writer classes for important file formats. others are exciting technologies in their own right, like spring, hibernate or struts.
the class path 【程序编程相关:CLR和JRE的运行机制的初步总结】sometimes installing them is a bit tricky, requiring you to modify the class path of your application or tweak options passed to the java launcher. others utilize a handy feature called the java extension mechanism. libraries loaded via the extension mechanism can be accessed by any java program without further prerequisites (besides copying some files to certain directories). this article explains how the extension mechanism works and discusses the steps required to implement your own so-called optional packages. 【推荐阅读:hibernate的hello word】
... 下一页