> -----Ursprungligt meddelande-----
> Fran: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]For P. Siegmann
> Skickat: den 18 april 2001 16:43
> Till: [EMAIL PROTECTED]
> Amne: Re: servlet -> DOM + XSLT -> html ?
>
>
> We're already working with a similar setup, using NAS 2.1 and
> GX-templates.
> In this system there are servlet-like java classes (called applogics)
> that fill row-oriented request data.
> This data is then formatted using a template file.
> We like this design a lot because it separates the business logic nicely
> from the layout.
> I hope I don't start a long-simmering jsp vs. servlet discussion, but
> we've looked at jsp's and their mixing of layout and logic doesn't
> appeal to us.
>
> I'm aware of the performance penalty caused by xslt.
> It's one of my greates worries in this whole project.
> We've done some preliminary tests on a desktop machine
> (Pentium 500 Mhz IIRC) on which it took 30 ms to transform a single
> page. Which would be fast enough for our purposes.
>
>
I'm just wondering what you're using to transform your XML-data? I'm
currently
using Xerces 1.2.1 to transform a DOM-object with a XSL-document (loaded
from
a file) and I'm having problem with the performance.
My development machine is a P3 550 with 384 Mb RAM and it takes about
300-500 ms
to transform a single DOM-object! Obviously, I must be doing something
wrong.
Would you mind sharing your transforming code? I'd be very grateful.
>
> regards,
> Paul Siegmann
>
> Tinou Bao wrote:
>
> > I think the question is do you need this much flexibility. If
> you do then
> > the overhead of the dom object and the transformation may be worth it,
> > otherwise you may be over designing your system.
> >
> > --tinou
> >
> > ----- Original Message -----
> > From: "P. Siegmann" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, April 18, 2001 4:34 AM
> > Subject: [SERVLET-INTEREST] servlet -> DOM + XSLT -> html ?
> >
> >
> >
> >>hi all,
> >>
> >>We're thinking about moving to a setup where a servlet generates a DOM
> >>object, and then uses xslt to transform this into either html, pdf, wap,
> >>whatever.
> >>The problem however, is that I've never seen this anywhere before, which
> >>makes me (and my boss) a bit suspicious.
> >>Could anyone point me to a (preferrably as large and well-known as
> >>possible) website that uses this system?
> >>And another question I have is: are there any pitfalls we should look
> >>out for?
> >>
> >>thanks in advance,
> >> Paul Siegmann
> >>
> >>
> >>
> >
> __________________________________________________________________
> _________
> >
> >>To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> >>
> > body
> >
> >>of the message "signoff SERVLET-INTEREST".
> >>
> >>Archives: http://archives.java.sun.com/archives/servlet-interest.html
> >>Resources: http://java.sun.com/products/servlet/external-resources.html
> >>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >>
> >>
> >
> >
> __________________________________________________________________
> _________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html