Re: wicket + jdbc template app

2009-11-23 Thread Ivan Dudko
Thank you! I have just implement it! I am using c3p0 and SQL DAO
without Spring or any Persistent framework.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket + jdbc template app

2009-11-19 Thread Ivan Dudko
Hello, guys!

I am still could not implement wicket application without any
persistence framework and also spring-jdbc.
I want to use only connection pooling with dbcp or c3p0.
May you provide example for this kind of app.

Thank you for answer!

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket + jdbc template app

2009-11-19 Thread James Carman
Are you saying you don't want to use Spring at all?  But, you do want
to use DBCP or C3P0?

On Thu, Nov 19, 2009 at 7:46 AM, Ivan Dudko ivan.du...@gmail.com wrote:
 Hello, guys!

 I am still could not implement wicket application without any
 persistence framework and also spring-jdbc.
 I want to use only connection pooling with dbcp or c3p0.
 May you provide example for this kind of app.

 Thank you for answer!

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket + jdbc template app

2009-11-19 Thread Clint Checketts
My Wicket app I maintain only uses the JdbcTemplate class from Spring. We
don't use any hibernate or other ORM framework.

I don't have any code I can give, but I can answer any questions. How far
have you gotten?

-Clint


On Thu, Nov 19, 2009 at 7:23 AM, James Carman
jcar...@carmanconsulting.comwrote:

 Are you saying you don't want to use Spring at all?  But, you do want
 to use DBCP or C3P0?

 On Thu, Nov 19, 2009 at 7:46 AM, Ivan Dudko ivan.du...@gmail.com wrote:
  Hello, guys!
 
  I am still could not implement wicket application without any
  persistence framework and also spring-jdbc.
  I want to use only connection pooling with dbcp or c3p0.
  May you provide example for this kind of app.
 
  Thank you for answer!
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




RE: wicket + jdbc template app

2009-11-19 Thread Loritsch, Berin C.
DBCP and C3P0 are implementations of the pooled DataSource interface, so
all you have to do is bind them to JNDI.  Tomcat and other Servlet
container vendors have instructions on how to do this.  Inside your
code, you access it through the JNDI API which looks up the pooled
datasource.

Do be sure to close anything you open, which includes resultsets,
statements, and connections.  Put the close code in finally statements
to ensure that you don't fill up your pool with open resources.  Open
ResultSets also have matching resources on your database server, so you
can introduce scalability problems if you aren't careful.

-Original Message-
From: Clint Checketts [mailto:checke...@gmail.com] 
Sent: Thursday, November 19, 2009 8:35 AM
To: users@wicket.apache.org
Subject: Re: wicket + jdbc template app

My Wicket app I maintain only uses the JdbcTemplate class from Spring.
We
don't use any hibernate or other ORM framework.

I don't have any code I can give, but I can answer any questions. How
far
have you gotten?

-Clint


On Thu, Nov 19, 2009 at 7:23 AM, James Carman
jcar...@carmanconsulting.comwrote:

 Are you saying you don't want to use Spring at all?  But, you do want
 to use DBCP or C3P0?

 On Thu, Nov 19, 2009 at 7:46 AM, Ivan Dudko ivan.du...@gmail.com
wrote:
  Hello, guys!
 
  I am still could not implement wicket application without any
  persistence framework and also spring-jdbc.
  I want to use only connection pooling with dbcp or c3p0.
  May you provide example for this kind of app.
 
  Thank you for answer!
 
 
-
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket + jdbc template app

2009-11-19 Thread James Carman
On Thu, Nov 19, 2009 at 10:41 AM, Loritsch, Berin C.
berin.lorit...@gd-ais.com wrote:
 Do be sure to close anything you open, which includes resultsets,
 statements, and connections.  Put the close code in finally statements
 to ensure that you don't fill up your pool with open resources.  Open
 ResultSets also have matching resources on your database server, so you
 can introduce scalability problems if you aren't careful.

And this is why we use something like Spring's JDBC support to manage
all of that for us (they've already thought of this stuff).


 -Original Message-
 From: Clint Checketts [mailto:checke...@gmail.com]
 Sent: Thursday, November 19, 2009 8:35 AM
 To: users@wicket.apache.org
 Subject: Re: wicket + jdbc template app

 My Wicket app I maintain only uses the JdbcTemplate class from Spring.
 We
 don't use any hibernate or other ORM framework.

 I don't have any code I can give, but I can answer any questions. How
 far
 have you gotten?

 -Clint


 On Thu, Nov 19, 2009 at 7:23 AM, James Carman
 jcar...@carmanconsulting.comwrote:

 Are you saying you don't want to use Spring at all?  But, you do want
 to use DBCP or C3P0?

 On Thu, Nov 19, 2009 at 7:46 AM, Ivan Dudko ivan.du...@gmail.com
 wrote:
  Hello, guys!
 
  I am still could not implement wicket application without any
  persistence framework and also spring-jdbc.
  I want to use only connection pooling with dbcp or c3p0.
  May you provide example for this kind of app.
 
  Thank you for answer!
 
 
 -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket + jdbc template app

2009-11-02 Thread Ivan Dudko
thank you guys!


wicket + jdbc template app

2009-11-01 Thread Ivan Dudko
Hello, guys!

I want to use wicket with plain jdbc without any persistence framework.
Where i can find template application for this type of data source?

Thank you for answer!


Re: wicket + jdbc template app

2009-11-01 Thread James Carman
Do you want to use spring

On Nov 1, 2009 10:12 AM, Ivan Dudko ivan.du...@gmail.com wrote:

Hello, guys!

I want to use wicket with plain jdbc without any persistence framework.
Where i can find template application for this type of data source?

Thank you for answer!


Re: wicket + jdbc template app

2009-11-01 Thread dtoffe

Just set up your connection in your Application subclass and provide a
method to get it from wherever you need it. Use connection pooling.

Daniel


idudko wrote:
 
 Hello, guys!
 
 I want to use wicket with plain jdbc without any persistence framework.
 Where i can find template application for this type of data source?
 
 Thank you for answer!
 
 

-- 
View this message in context: 
http://old.nabble.com/wicket-%2B-jdbc-template-app-tp26151790p26152287.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket + jdbc template app

2009-11-01 Thread Pedro Santos
Hi, I got it working using spring. You can see an template application using
spring on wicket stuff: phone book

http://static.springsource.org/spring/docs/2.0.8/reference/jdbc.html

On Sun, Nov 1, 2009 at 5:07 PM, dtoffe dto...@yahoo.com.ar wrote:


Just set up your connection in your Application subclass and provide a
 method to get it from wherever you need it. Use connection pooling.

 Daniel


 idudko wrote:
 
  Hello, guys!
 
  I want to use wicket with plain jdbc without any persistence framework.
  Where i can find template application for this type of data source?
 
  Thank you for answer!
 
 

 --
 View this message in context:
 http://old.nabble.com/wicket-%2B-jdbc-template-app-tp26151790p26152287.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Pedro Henrique Oliveira dos Santos