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
>>
>>
>
> ___________________________________________________________________________
> 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