That is an eternal question, right. Which engine to use for simple templates? Personally, I settled upon http://jxp.sourceforge.net, its simple enough and fast enough and gives more power than just regex and very intuitive. Just my 2 pennies.

Nikolaos Giannopoulos wrote:
Stripes and Stripernate in conjunction with Spring, JPA, Hibernate, 
Lucene, etc... IS EVERYTHING its billed to be IMO!  Moreover, I 
initially considered a more advanced templating technology (FreeMarker, 
Velocity, etc...) but once again as the Stripes team envisioned the 
simplicity of JSPs and the excellent Stripes tag support (layouts, 
forms, etc...) for them are actually quite powerful and quite sufficient.

HOWEVER... one aspect of our system is to generate HTML E-mails and for 
that it is important to point out that the Task Server processes that 
will generate the e-mails will be in the Services layer and will not sit 
within a web container (i.e. they will be simple Java Processes 
processing against the DB w/o UI).

Here are some options I am tossing around:

1) Forget about Java Web Templating and simply do variable substitution 
on an HTML template.  Right now this is my top choice.

2) Use the built-in web container in Java 6 to process the JSPs, inject 
a HTTP Request and Capture the HTTP Response.  This feels like a BIG 
kludge not to mention a lot of effort for very little gain... .

Beyond getting into a Holy War on what Templating technology is better 
suited to the task I am curious what others have done OR what would 
anyone suggest if they didn't have a Templating technology beyond JSP?

Much Appreciated!

--Nikolaos

------------------------------------------------------------------------------

_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

  
------------------------------------------------------------------------------

_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to