You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Kevin Krouse <kk...@bea.com> on 2005/02/25 01:30:54 UTC

[ANN] XMLBeans 2.0.0-beta1, 1.0.4, 1.0.4-jdk1.3 available

Apache XMLBeans 2.0.0-beta1, 1.0.4, and 1.0.4-jdk1.3 released

The Apache XMLBeans project is pleased to announce new releases of
XMLBeans.  The 2.0.0-beta1 release is a significant improvement from
previous release and has been in development for about 10 months.  The
1.0.4 release is a maintenance release focused on stability and bug
fixes.  The 1.0.4-jdk1.3 release is the first release of XMLBeans
compatible with JDK 1.3.

Major goals of the 2.0.0-beta1 release:
  - source backwards compatible
  - improve usability of wildcards, substitution groups, error handling
  - a native DOM level 2 API
  - integration with Saxon xpath/xquery engine
  - performance improvements
  - instance to schema and schema to instance tools

For a comprehensive list of improvements, see the CHANGES.txt file in
the distribution.

Goals for the next 2.0.0 release include fixing any remaining
performance issues and bugs.

The source and binaries are available on mirror near you at:
http://www.apache.org/dyn/closer.cgi/xmlbeans


Kevin Krouse
http://xmlbeans.apache.org/

--k 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


RE: [ANN] XMLBeans 2.0.0-beta1, 1.0.4, 1.0.4-jdk1.3 available

Posted by Serge Simard <se...@cgi.com>.
Kevin,
	I have just spent the better part of last night profiling XmlBeans
2.0.0 (from svn, and in the just released archives) to uncover a big
performance problem that was causing Xpath queries to run very slowly.  

The fault lies in the Path class, in the following method. 
The Class.forName tries to dynamically load an inexistant class 
which is heavy on an application server with a lot of jars on the 
classpath.  My selectPath() calls throughput have increased 90% :

private static Path createXqrlCompiledPath(String pathExpr, String
currentVar)
    {
        if (_xqrlCompilePath == null) {
            try {
                Class xqrlImpl =
Class.forName("org.apache.xmlbeans.impl.newstore2.XqrlImpl");

                _xqrlCompilePath =
                        xqrlImpl.getDeclaredMethod("compilePath",
                                new Class[]{String.class, String.class,
Boolean.class});
            }
            catch (ClassNotFoundException e) {
                return null;
            }
            catch (Exception e) {
                throw new RuntimeException(e.getMessage(), e);
            }
        }

        Object[] args = new Object[]{pathExpr, currentVar, new
Boolean(true)};

        try {
            return (Path) _xqrlCompilePath.invoke(null, args);
        }
        catch (InvocationTargetException e) {
            throw new RuntimeException(e.getMessage(), e);
        }
        catch (IllegalAccessException e) {
            throw new RuntimeException(e.getMessage(), e);
        }
    }

Serge Simard, ext. 5900
-----Original Message-----
From: Kevin Krouse [mailto:kkrouse@bea.com] 
Sent: February 24, 2005 7:31 PM
To: dev@xmlbeans.apache.org; user@xmlbeans.apache.org; announce@apache.org
Subject: [ANN] XMLBeans 2.0.0-beta1, 1.0.4, 1.0.4-jdk1.3 available

Apache XMLBeans 2.0.0-beta1, 1.0.4, and 1.0.4-jdk1.3 released

The Apache XMLBeans project is pleased to announce new releases of
XMLBeans.  The 2.0.0-beta1 release is a significant improvement from
previous release and has been in development for about 10 months.  The
1.0.4 release is a maintenance release focused on stability and bug
fixes.  The 1.0.4-jdk1.3 release is the first release of XMLBeans
compatible with JDK 1.3.

Major goals of the 2.0.0-beta1 release:
  - source backwards compatible
  - improve usability of wildcards, substitution groups, error handling
  - a native DOM level 2 API
  - integration with Saxon xpath/xquery engine
  - performance improvements
  - instance to schema and schema to instance tools

For a comprehensive list of improvements, see the CHANGES.txt file in
the distribution.

Goals for the next 2.0.0 release include fixing any remaining
performance issues and bugs.

The source and binaries are available on mirror near you at:
http://www.apache.org/dyn/closer.cgi/xmlbeans


Kevin Krouse
http://xmlbeans.apache.org/

--k 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org