velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jian chen <>
Subject Re: Velocity vs JSP vs FreeMarker
Date Thu, 07 Apr 2005 16:11:05 GMT
Hi,  Steve,

I totally agree with you.

Using JSP, it is very easy to lose sight of the MVC pattern when
development is under release pressure. I have seen people putting JDBC
database code directly in JSP because it is lot easier to do and so to
meet development deadline. Afterwards, that page with all the java
code inside it was too long and ugly to be even debugged.

Not proper used, JSP pages are a maintenance nightmare. Also I should
say the possibility that JSP is not properly used is very high.



On Apr 7, 2005 8:52 AM, Steve O'Hara <> wrote:
> My tuppence worth........
> Velocity outstrips JSP in one fundamental way that even as a Java developer,
> I can't refute - the fact that practically any HTML geek can use it without
> a crash course in Java.
> Aso, I've used JSP a lot and the tendency is to end up losing site of the
> MVC paradigm and ending up stuffing lots of application code into the
> display.
> As for performance, that's not an issue - the very minor performance benefit
> of JSP is insignificant compared to overall application losses caused by the
> servlet container, comms transport and browser rendering.  Lets face it, if
> performance was a major factor you wouldn't be using Java in the first
> place!
> Steve
> -----Original Message-----
> From: Ryan Lea []
> Sent: 06 April 2005 11:47
> To:
> Subject: Velocity vs JSP vs FreeMarker
> Just wondering if anyone has used/tried/investigated all 3 of these as
> views (from MVC) and has any opinions on them??
> As a bit of a site note as well, has anyone used them with WebWork??
> cheers
> Ryan Lea
> Web Developer
> n Email:
> n Tel: 0207 318 9080
> n Fax: 0207 318 9099
> <>  - the UK's number 1
> property website
> 9 Park Place, St James's, London, SW1A 1LP
> This message (including any attachments) is confidential and may be
> legally privileged. The content and views expressed are those of the
> sender and not necessarily If you are not the intended
> recipient, you must not disclose, copy or use any part of it. Please
> delete all copies immediately and notify the sender.
> Limited is registered in England and Wales, No. 03997679. Registered
> Office: Lavells House, 31 Hockliffe Street, Leighton Buzzard, LU7 1EZ.
> ________________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs service.
> ________________________________________________________________________
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message