• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Integrate Cocoon with WebSphere?

 
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have plugged Cocoon (http://xml.apache.org/cocoon) in Tomcat. I wonder if anybody has tried to integrate Cocoon with WebSphere. I am using WAS 3.5 on iSeries (AS/400).
Thanks.
Bruce
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
I don't know what Cocoon is, although I heard it is related to XML. Anyway, WebSphere has xerces.jar and xalan.jar in its classpath. Both SAX and DOM is available.
Jun Hong
[This message has been edited by Jun Hong (edited September 20, 2001).]
[This message has been edited by Jun Hong (edited September 20, 2001).]
 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which version of xerces/xalan WAS is using? I remember IBM had XML4J instead of xerces/xalan.
Can I replace xerces/xalan shipped with WAS with the newest downloads from aparche?
Coccon is a very interesting (maybe useful) Web publishing framework. Click on the link you will find out what it is.
Bruce

Originally posted by Jun Hong:
Hi there,
I don't know what Cocoon is, although I heard it is related to XML. Anyway, WebSphere has xerces.jar and xalan.jar in its classpath. Both SAX and DOM is available.
Jun Hong
[This message has been edited by Jun Hong (edited September 20, 2001).]
[This message has been edited by Jun Hong (edited September 20, 2001).]


 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In your server classpath, put xalan/xerces before XML4j should do the trick.
 
Jun Hong
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you don't want the new edition of xerces.jar and xalan.jar to affect the other applications running on the application server, put xerces and xalan you have in the .ear file of your application. You are not suppose to change anything in lib folder. If you put a new .jar in .ear. It will override the one in lib. The classloader searche .ear first.
Jun Hong
 
Jun Hong
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By the way I saw xml4j.jar is also there, but I never used it. Do you know what it is for?
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jun Hong:
By the way I saw xml4j.jar is also there, but I never used it. Do you know what it is for?


XML4J was the IBM Alphaworks (www.alphaworks.ibm.com) name for what became the Xerces Java XML parser after we turned that technology over to the Apache Consortium. We are still supporting versions of XML4J while we switch all of our products over to the Xerces API's and parser.
Kyle Brown
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Interesting.
If IBM switches to xerces/xalan, then I should be able to code application using JAXP. Which version of xerces/xalan WAS (3.5 and 4.0) is using?
Bruce
 
reply
    Bookmark Topic Watch Topic
  • New Topic