Re: How to define database connection in C2.2?

2007-07-06 Thread Grzegorz Kossakowski
Felix Knecht pisze: Do you think its worth to write such a bridge? Avalon is dead (http://avalon.apache.org/closed.html) and c22 is now spring based. Wouldn't it be a better solution migrate the db-stuff to spring and therefore force the user to migrate his own components as well? In c22 a lot

Re: How to define database connection in C2.2?

2007-07-04 Thread Grzegorz Kossakowski
Giacomo Pati pisze: On Wed, 4 Jul 2007, Grzegorz Kossakowski wrote: Date: Wed, 04 Jul 2007 00:01:53 +0200 From: Grzegorz Kossakowski [EMAIL PROTECTED] Reply-To: dev@cocoon.apache.org To: Cocoon's dev mailing list dev@cocoon.apache.org Subject: How to define database connection in C2.2? Hello

Re: How to define database connection in C2.2?

2007-07-04 Thread Giacomo Pati
dev@cocoon.apache.org Subject: How to define database connection in C2.2? Hello, It's me again. Fortunately enough, it's five minutes to midnight so this is going to be my last e-mail this day. ;) I'm wondering now how to define database connection in C2.2 so it is available easily in all

Re: How to define database connection in C2.2?

2007-07-04 Thread Grzegorz Kossakowski
Giacomo Pati pisze: Of course not. Avalon Components usually depend on DataSourceComponent, which is an Excalibur class and in no way compatible with standard javax.sql.DataSource class. Then it would be very inconvenient to define data source both for Avalon components and Spring beans, I'm

Re: How to define database connection in C2.2?

2007-07-04 Thread Grzegorz Kossakowski
Felix Knecht pisze: Do you think its worth to write such a bridge? Avalon is dead (http://avalon.apache.org/closed.html) and c22 is now spring based. Wouldn't it be a better solution migrate the db-stuff to spring and therefore force the user to migrate his own components as well? In c22 a lot

Re: How to define database connection in C2.2?

2007-07-04 Thread Felix Knecht
Then it would be very inconvenient to define data source both for Avalon components and Spring beans, I'm thinking about writing some bridge that would allow Avalon components use connections defined in Spring way. Do you have any ideas where to start while implementing such functionality?

Re: How to define database connection in C2.2?

2007-07-04 Thread Felix Knecht
Grzegorz Kossakowski schrieb: Felix Knecht pisze: Do you think its worth to write such a bridge? Avalon is dead (http://avalon.apache.org/closed.html) and c22 is now spring based. Wouldn't it be a better solution migrate the db-stuff to spring and therefore force the user to migrate his own

Re: How to define database connection in C2.2?

2007-07-04 Thread Grzegorz Kossakowski
Felix Knecht pisze: I see the point, but wouldn't this give a wrong idea to new c22 users on how to do it? Wouldn't it be better to put our efforts in migrating the samples? Yes, I agree that we should migrate samples ASAP but what about all components? Migrating them all is not one day

RE: How to define database connection in C2.2?

2007-07-04 Thread Jeroen Reijn
to define database connection in C2.2? Felix Knecht pisze: I see the point, but wouldn't this give a wrong idea to new c22 users on how to do it? Wouldn't it be better to put our efforts in migrating the samples? Yes, I

Re: How to define database connection in C2.2?

2007-07-04 Thread Grzegorz Kossakowski
Jeroen Reijn pisze: I've been going through some db and forms samples over the past couple of days and I'm happy to help out in the little time I have during the week. I'll be very busy from next week on, but I can probably lend a hand this week. Is there some working/migrated example

RE: How to define database connection in C2.2?

2007-07-04 Thread Jeroen Reijn
CC: Onderwerp: Re: How to define database connection in C2.2? Jeroen Reijn pisze: I've been going through some db and forms samples over the past couple of days and I'm happy to help out in the little time I have during the week. I'll

How to define database connection in C2.2?

2007-07-03 Thread Grzegorz Kossakowski
Hello, It's me again. Fortunately enough, it's five minutes to midnight so this is going to be my last e-mail this day. ;) I'm wondering now how to define database connection in C2.2 so it is available easily in all Cocoon components and my own Spring beans. Do we have an replacement

Re: How to define database connection in C2.2?

2007-07-03 Thread Giacomo Pati
On Wed, 4 Jul 2007, Grzegorz Kossakowski wrote: Date: Wed, 04 Jul 2007 00:01:53 +0200 From: Grzegorz Kossakowski [EMAIL PROTECTED] Reply-To: dev@cocoon.apache.org To: Cocoon's dev mailing list dev@cocoon.apache.org Subject: How to define database connection in C2.2? Hello, It's me again