Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r18 - trunk/www/index.html

pomstrap
Discussion topic

Back to topic list

svn commit: r18 - trunk/www/index.html

Reply

Author alag
Full name Alexis Agahi
Date 2006-05-07 03:55:00 PDT
Message Author: alag
Date: 2006-05-07 03:54:59-0700
New Revision: 18

Modified:
   trunk/www/index.html

Log:


Modified: trunk/www/index.html
Url: http://pomstrap.tigr​is.org/source/browse​/pomstrap/trunk/www/​index.html?view=diff​&rev=18&p1=t​runk/www/index.html​&p2=trunk/www/ind​ex.html&r1=17​&r2=18
====================​====================​====================​==================
--- trunk/www/index.html (original)
+++ trunk/www/index.html 2006-05-07 03:54:59-0700
@@ -18,6 +18,10 @@
 providing strict hierarchical java classloader confinement.
 </p>
 
+<p>
+New release 1.0.2 fixes lots of bugs and is now used in production for many middle size applications.
+</p>
+
 <p>POMStrap features:
 </p>
 
@@ -50,7 +54,7 @@
 
 <ul>
 <li>a lightweight application bootstrap with command line such:
-java -jar pomstrap-1.0.jar groupId:artifact:version classname[:method] [method args]</li>
+java -jar pomstrap-1.0.2.jar groupId:artifact:version classname[:method] [method args]</li>
 <li>a Maven 2 plugin: mvn pomstrap:run</li>
 <li>a Servlet with similar init-parameters configuration</li>
 <li>a JBoss POMStrap Service allowing you to lauch applications as JBoss Service (via .sar file deployed in a JBoss instance)</li>
@@ -58,7 +62,7 @@
 
 
 
-<p>POMStrap 1.0.1 source is available for <a href="http://pomstrap.site​o.com/file/pomstrap-​1.0.1.tgz">download here</a>.
+<p>POMStrap 1.0.2 source is available for <a href="http://pomstrap.tigr​is.org/files/documen​ts/3471/31810/pomstr​ap.1.0.2.tgz">download here</a>.
 </p>
 
 <p>POMStrap legacy website is <a href="http://pomstrap.pref​etch.com/en/">located here.</a></p>
@@ -71,5 +75,83 @@
 We hope to get approuval from Maven 2 community and have POMStrap merged with current mainstream.</li>
 </ul>
 
+
+<h3>Misc</h3>
+
+<h4>Example</h4>
+Here is an example of classloader dependency graph of a webapp:
+<pre>
+silver:silver:1.0 (5298332)
+ +- commons-logging:comm​ons-logging:1.0.4 (29167060)
+ +- log4j:log4j:1.2.8 (14093690)
+ +- org.springframework:​spring-core:2.0-m2 (11924794)
+ | +- commons-logging:comm​ons-logging:1.0.4 (29167060)
+ | +- commons-collections:​commons-collections:​3.1 (32960703)
+ +- org.springframework:​spring-beans:2.0-m2 (20432397)
+ | +- org.springframework:​spring-core:2.0-m2 (11924794)
+ | | +- commons-logging:comm​ons-logging:1.0.4 (29167060)
+ | | +- commons-collections:​commons-collections:​3.1 (32960703)
+ | +- commons-collections:​commons-collections:​3.1 (32960703)
+ +- org.springframework:​spring-support:2.0-m​2 (11240763)
+ | +- org.springframework:​spring-jdbc:2.0-m2 (12067688)
+ | | +- org.springframework:​spring-dao:2.0-m2 (18647665)
+ | | | +- org.springframework:​spring-context:2.0-m​2 (12926414)
+ | | | | +- org.springframework:​spring-aop:2.0-m2 (22862399)
+ | | | | | +- org.springframework:​spring-beans:2.0-m2 (20432397)
+ | | | | | | +- org.springframework:​spring-core:2.0-m2 (11924794)
+ | | | | | | | +- commons-logging:comm​ons-logging:1.0.4 (29167060)
+ | | | | | | | +- commons-collections:​commons-collections:​3.1 (32960703)
+ | | | | | | +- commons-collections:​commons-collections:​3.1 (32960703)
+ | | | | | +- aopalliance:aopalliance:1.0 (16554308)
+ | | | | | +- oro:oro:2.0.8 (28470003)
+ | | | +- javax.transaction:jta:1.0.1B (9142687)
+ +- commons-dbcp:commons-dbcp:1.2.1 (15401342)
+ | +- commons-collections:​commons-collections:​2.1 (11468767)
+ | +- commons-pool:commons-pool:1.2 (18916478)
+ | | +- commons-collections:​commons-collections:​2.1 (11468767)
+ | | +- xml-apis:xml-apis:2.0.2 (1012673)
+ | | +- xerces:xerces:2.0.2 (7901508)
+ | +- xml-apis:xml-apis:2.0.2 (1012673)
+ | +- xerces:xerces:2.0.2 (7901508)
+ +- rhino:js:1.6R2 (25771774)
+ +- opensymphony:quartz:1.5.0 (25609906)
+ +- xpp3:xpp3:1.1.3.4.O (22996593)
+ +- org.hibernate:hibernate:3.1.1 (23794631)
+ | +- commons-logging:comm​ons-logging:1.0.4 (29167060)
+ | +- ehcache:ehcache:1.1 (14651230)
+ | | +- commons-logging:comm​ons-logging:1.0.4 (29167060)
+ | +- cglib:cglib:2.1_3 (20812788)
+ | | +- asm:asm:1.5.3 (29140465)
+ | +- asm:asm:1.5.3 (29140465)
+ | +- commons-collections:​commons-collections:​2.1.1 (3317565)
+ | +- dom4j:dom4j:1.6.1 (24418135)
+ | | +- xml-apis:xml-apis:1.0.b2 (24893089)
+ | +- javax.transaction:jta:1.0.1B (9142687)
+ | +- antlr:antlr:2.7.6rc1 (21491205)
+ +- org.hibernate:hibern​ate-annotations:3.1b​eta8 (22781544)
+ | +- org.hibernate:hibernate:3.1.1 (23794631)
+ | | +- commons-logging:comm​ons-logging:1.0.4 (29167060)
+ | | +- ehcache:ehcache:1.1 (14651230)
+ | | | +- commons-logging:comm​ons-logging:1.0.4 (29167060)
+ | | +- cglib:cglib:2.1_3 (20812788)
+ | | | +- asm:asm:1.5.3 (29140465)
+ | | +- asm:asm:1.5.3 (29140465)
+ | | +- commons-collections:​commons-collections:​2.1.1 (3317565)
+ | | +- dom4j:dom4j:1.6.1 (24418135)
+ | | | +- xml-apis:xml-apis:1.0.b2 (24893089)
+ | | +- javax.transaction:jta:1.0.1B (9142687)
+ | | +- antlr:antlr:2.7.6rc1 (21491205)
+ | +- javax.persistence:ej​b:3.0-public-draft-2​0060118 (33353934)
+ +- org.apache.derby:derby:10.1.2.1 (19230370)
+ +- xstream:xstream:1.1.3 (8548382)
+</pre>
+<p>The number next to the name represent the classloader hashcode. Has you can see, for same dependency the same classloader is used.
+Also you can see here different version of "commons-collections" used in this application without side effect.</p>
+
+<h4>Known limitation</h4>
+<p>As each dependency is used in its distinct classloader, you might encounter problems when trying to access protected method of class in same package but
+in different dependency (jar file).</p>
+<p>There is no simple solution to this problem since it is a java security protection to avoid malicious code execution (see http://www.artima.co​m/insidejvm/ed2/secu​rity2.html).</p​>
+
 </body>
 </html>

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r18 - trunk/www/index.html alag Alexis Agahi 2006-05-07 03:55:00 PDT
Messages per page: