On Mon, 17 May 1999, Carlos Amengual wrote:
.........
>
> And a very important thing: templates tie you to a certain kind of
> document (HTML in this case). But I want to be able to exchange HTML by
> PDF, for example. A typical case is returning invoice information as an
> HTML document but also creating a PDF with the formal invoice document
> and then print it.

Disagree. you can use templates to generate many types of textual
content, without changes in Java classes:
rich text format, postscript, TAB-delimited-tables (for spreadsheet
 import), SQL "insert" or "update" content, and even XML.

This, in most cases, without the intervention of the guy (girl) who
wrote the .java source.

Template engines are in fact data extraction tools from living java
apps, using introspection or not, more or less optimized.
The resulted documents can be any external representation of that
data, not only .html


Cezar.

___________________________________________________________________________
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

Reply via email to