Re: Velocity and JDBC

2005-02-23 Thread Simon Christian
Certainly it'll work in a Struts/Velocity setup - take a look at Claude's example which uses VelocityTools, at: http://velosurf.sourceforge.net/velosurf/docs/index.html#example The VelosurfTool is made available to the context along with other tools. - simon Manish wrote: What would be the

Re: Velocity and JDBC

2005-02-23 Thread Markos Charatzas
Hm... Im quite skeptical about this... Why not use a proper OR mapping tool (e.g. hibernate), provide a complete db implementation (Database, DatabaseRequest, DatabaseClient) and then use a db client wrapper to place as a tool using the velocity toolbox. Regards, Markos On Wednesday 23

Re: Velocity and JDBC

2005-02-23 Thread Claude Brisson
On Wed, 2005-02-23 at 12:39 +0200, Markos Charatzas wrote: Hm... Im quite skeptical about this... Why not use a proper OR mapping tool (e.g. hibernate), provide a complete db implementation (Database, DatabaseRequest, DatabaseClient) and then use a db client wrapper to place as a tool

Re: Velocity and JDBC

2005-02-23 Thread Markos Charatzas
Well ofcourse it depends on the scale of the application. If you want something quick and dirty you can do it with Velosurf no probs. I was just trying to alert ppl who might jump straight to the Velosurf wagon to support their database driven application. Markos On Wednesday 23 February 2005

Re: Velocity and JDBC

2005-02-23 Thread Claude Brisson
On Wed, 2005-02-23 at 16:52 +0200, Markos Charatzas wrote: Well ofcourse it depends on the scale of the application. precisely, not necessarily If you want something quick and dirty you can do it with Velosurf no probs. yes, you can - but even in large applications I'm not totally certain

RE: Velocity and JDBC

2005-02-22 Thread Tim Colson \(tcolson\)
Is it possible to use straight JDBC/SQL type of calls in Velocity directly for web page creation? Sure thing. Just drop in a tool object that can make JDBC/SQL calls What would be the best approach to display DB results on page. I'd check out Claude's project, Velosurf.

Re: Velocity and JDBC

2005-02-22 Thread Manish
What would be the best approach to display DB results on page. I'd check out Claude's project, Velosurf. http://velosurf.sourceforge.net/ Thanks for the link!! :) Is it feasible to use velosurf with Struts/Velocity paradigm. Some design restrictions require me to use action for every link on