|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL vs. Parsing/Filling and Reading from an Object
Katie,
I'm working on almost the same thing. I had a system to improve that worked almost exactly as the one you described, with a poorer design unfortunately, and a worst separation of concerns, but that way. Servlets, JSP, 'third party' content provider. I started working with cocoon, sax parsing (it was DOM of course) and xsl transformations. SAX parsing is fantastic. Performance boost is really impressive. As this system is a circle, not only generating -> transforming -> serializing but serializing -> requesting -> applying -> generating -> transforming -> and so on, I had a bit of a fight with cocoon flow architecture, concentrated on the sitemap, which is the place I think they have to put work on. (My personal opinion is that the flow between components should be a programmers thing, with a good and flexible xml schema, and not a site-master thing. If you want a "web-master" to connect things, just build and give him a case utility to generate the xml with pipelines definitions.) On the other side, the framework over which cocoon is based, and tomcat, is rock-solid, and the idea of 'components' is what should make cocoon take off. Hope to encourage you with my primitive english, (and push any further discussion to the right list) Ivan Rubin Katie McNally wrote: We are trying to decide which approach to use to create new pages for the site we are building. The current approach for the existing pages involves a servlet calling a session bean, which sends an XML request to a 3rd party vendor, which returns XML. The session bean parses the xml into a hashtable and then passes the hashtable back to the servlet. The servlet puts the data from the hashtable into an object, and the object is placed in the session. The jsp then retrieves the object from the session to build the page presented to the user. </ayma> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








