You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2009/05/29 15:01:10 UTC

svn commit: r779951 - /incubator/pivot/trunk/README

Author: gbrown
Date: Fri May 29 13:01:10 2009
New Revision: 779951

URL: http://svn.apache.org/viewvc?rev=779951&view=rev
Log:
Update README to recommend modified StAX libraries for web deployment in Java 6+ only.

Modified:
    incubator/pivot/trunk/README

Modified: incubator/pivot/trunk/README
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/README?rev=779951&r1=779950&r2=779951&view=diff
==============================================================================
--- incubator/pivot/trunk/README (original)
+++ incubator/pivot/trunk/README Fri May 29 13:01:10 2009
@@ -42,18 +42,21 @@
 * Pivot includes a repackaged version of the StAX libraries, which includes a
 service descriptor for the javax.xml.stream.XMLInputFactory class (the code is
 otherwise unchanged). An external StAX library is required when using Java 5;
-however, this modified version is also recommended when using Java 6 or above
-to avoid needless requests to the web server when running Pivot in an applet:
-the service resolution process employed by many JDK factory methods looks on
-the classpath for a service descriptor file; since an applet's classpath also
-contains its codebase, the JRE will look for this file on the web server if it
-is not found in an archive JAR. Such requests can have a noticeable impact on
-runtime performance, especially for slow or unresponsive web servers.
+however, this modified version is also recommended for web deployment in Java 6
+or above to avoid needless requests to the web server: the service resolution
+process employed by many JDK factory methods looks on the classpath for a
+service descriptor file; since an applet's classpath also contains its codebase,
+the JRE will look for this file on the web server if it is not found in an
+archive JAR. Such requests can have a noticeable impact on runtime performance,
+especially for slow or unresponsive web servers.
 
 Another alternative is to set the codebase_lookup applet parameter to false.
 However, this parameter requires Java 6 or later and also precludes the use
 of dynamically generated WTKX on the server.
 
+These libraries are not necessary or recommended for desktop deployment in
+Java 6+.
+
 
 Dependencies
 ============