velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florin Vancea" <fvan...@maxiq.ro>
Subject Re: Switching from PHP to Java/Velocity, Performance?
Date Thu, 13 Apr 2006 13:37:49 GMT

----- Original Message ----- 
From: "Claude Brisson" <claude@renegat.net>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: Thursday, April 13, 2006 4:28 PM
Subject: Re: Switching from PHP to Java/Velocity, Performance?


> Le jeudi 13 avril 2006 à 11:43 +0200, Dominik Bruhn a écrit :
> > My plans were to Use a VelocityViewServlet and Velocity-Templates. In
between
> > a small layer for abstraction and Page-Handling and Permissions. As
> > Database-Layer I use JDBC. I tired Hibernate but I haven't seen any
> > advandages in it.
>
> I agree.
>
> Le jeudi 13 avril 2006 à 14:40 +0300, Florin Vancea a écrit :
> > Of course JDBC would work, but as soon as the complexity grows, you may
want
> > a layer that shields you from it. It's the same "better"/"ugly" issue.
>
> True, but Hibernate seems overkill for this task.
>
> You can have a look at Velosurf. It's a small database access layer that
> won't induce any bottleneck by it owns. Nowadays, every good database
> will already have a built-in caching mechanism.

Yes, true, but at the end of the day it's network roundtrips and overhead
that kills you.

>
>   Claude
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message