There is quite an interesting presentation from oracle in this area
(given at xmldevcon so it is reasonably technical).
http://technet.oracle.com/tech/xml/pdf/xmldevcon2001.pdf
We've done an Intranet site using Oracle's xsqlServlet
and we get pretty decent performance (low user numbers mind you).
The trick is to get the actions into the right layer,
in some cases it is quicker to do sorts and joins in xslt
than in the database - especially if you have an xsl capable client
(like ie6 or mozilla). We also found that careful use of
xsl:key 's improved things.
Don't underestimate the difficulty of writing xslt, it
is a functional language in disguise, and probably the
hardest thing I've (yet) learnt. Simple things are easy,
but there is a _lot_ you can do with it. (hey, maybe I'm
just getting old)
"P. Siegmann" wrote:
>
> 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.
>
> 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