cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Tomcat version
Date Thu, 11 Jul 2002 14:24:28 GMT
> From: David Vos [mailto:dvos12@calvin.edu]
> 
> What version of Tomcat is recommended with the latest Cocoon?

JDK1.3.1 + Tomcat 4.0.4 + Cocoon 2.0.2


Or:

JDK1.3.1 + Tomcat 4.0.4 + Cocoon 2.0.3-jvm13 release
JDK1.4 + Tomcat 4.0.4LE + Cocoon 2.0.3-jvm14 release

Cocoon 2.0.3 releases are due in several days from now.


> If I go to
> their release binaries for Tomcat 4.0.4, it lists a standard version
and a
> lightweight version that does not include any of the optional binaries
or
> an XML parser.  It says that JDK 1.4 should come with its own XML
parser.
>
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/bin/
> 
> I am leaning to the Lightweight build so that I don't have extra stuff
on
> the machine and it would be easier to understand what is really going
> on.  However, I am concerned about the XML parser.  We are running an
IBM
> 1.4 JDK on the server.  Is that as fast as Xerces?  Does Cocoon use
the
> same parser as Tomcat, or does it use its own?

Cocoon ships with own parser in WEB-INF/lib which you can replace.

 
> Since a fast XML parser is so important for my job, my boss even
suggested
> that I look into seeing if I could get Cocoon to work with the C++
> Xerces/Xalan. 

C++ version of SAX parser used with Cocoon will be slower then Java
version because of multitude of SAX calls which has to be routed through
JNI.


> We have tested a stand-alone C++ Xalan engine against
> (an older version of) Cocoon, and Cocoon lost by a factor of 10 or 20
on
> large documents.  Is the newest version of Cocoon using a SAX parser? 

Yes.


Vadim


> If
> so, then it should be a lot quicker.
> 
> David


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message