AW: How do you achieve persistency

2009-10-07 Thread Peter Arnulf Lustig
- Ursprüngliche Mail Von: John Armstrong siber...@siberian.org An: users@wicket.apache.org Gesendet: Dienstag, den 6. Oktober 2009, 12:12:11 Uhr Betreff: Re: How do you achieve persistency I use Cayenne (http://cayenne.apache.org/). The GUI tool eliminates any requirement to deal with XML and maps all

Re: How do you achieve persistency

2009-10-07 Thread Olivier Bourgeois
Why would you replace the Wicket filter ? You can have multiple filters defined in your web.xml , they are chained by your application server. 2009/10/7 Peter Arnulf Lustig u...@yahoo.de Great piece of software! But how did you manage to replace the web.xml filterclass into:

AW: How do you achieve persistency

2009-10-07 Thread Peter Arnulf Lustig
Cayenne needs his own filter. - Ursprüngliche Mail Von: Olivier Bourgeois olivier.bourgeois@gmail.com An: users@wicket.apache.org Gesendet: Mittwoch, den 7. Oktober 2009, 10:10:00 Uhr Betreff: Re: How do you achieve persistency Why would you replace the Wicket filter ? You can

Re: How do you achieve persistency

2009-10-07 Thread James Perry
Interesting, but how would you provide transactional isolation so you do not experience phantom or dirty reads? 2009/10/6 Igor Vaynberg igor.vaynb...@gmail.com i think all the suggestions you have gotten until now are overcomplicated and have a high learning curve. i think the easiest and

Re: How do you achieve persistency

2009-10-07 Thread Olivier Bourgeois
olivier.bourgeois@gmail.com An: users@wicket.apache.org Gesendet: Mittwoch, den 7. Oktober 2009, 10:10:00 Uhr Betreff: Re: How do you achieve persistency Why would you replace the Wicket filter ? You can have multiple filters defined in your web.xml , they are chained by your application

Re: How do you achieve persistency

2009-10-07 Thread Igor Vaynberg
lock files :) -igor On Wed, Oct 7, 2009 at 3:27 AM, James Perry james.austin.pe...@gmail.com wrote: Interesting, but how would you provide transactional isolation so you do not experience phantom or dirty reads? 2009/10/6 Igor Vaynberg igor.vaynb...@gmail.com i think all the suggestions

Re: How do you achieve persistency

2009-10-07 Thread dtoffe
directory name (with a capital). This immediately makes it an ORM solution. Inheritance hierarchies can be created by symlinking the instances to each super type's directory. Martijn -- View this message in context: http://www.nabble.com/How-do-you-achieve-persistency-tp25765566p25789315

Re: How do you achieve persistency

2009-10-07 Thread Reinout van Schouwen
Op dinsdag 06-10-2009 om 03:12 uur [tijdzone -0700], schreef John Armstrong: I use Cayenne (http://cayenne.apache.org/). The GUI tool eliminates any requirement to deal with XML and maps all relationships for you. Interesting. I also use Cayenne (with Databinder, but I'm doubting more and more

Re: How do you achieve persistency

2009-10-07 Thread Igor Vaynberg
directory. Martijn -- View this message in context: http://www.nabble.com/How-do-you-achieve-persistency-tp25765566p25789315.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: How do you achieve persistency

2009-10-07 Thread dtoffe
fast searching for free! -igor On Tue, Oct 6, 2009 at 5:52 PM, James Carman jcar...@... wrote: What about queries against your persistent storage tier? Wouldn't that be quite slow? -- View this message in context: http://www.nabble.com/How-do-you-achieve-persistency-tp25765566p25789750

How do you achieve persistency

2009-10-06 Thread Peter Arnulf Lustig
What's the fast and easy way? I am asking because of a lot of trouble with hibernate. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: How do you achieve persistency

2009-10-06 Thread John Armstrong
I use Cayenne (http://cayenne.apache.org/). The GUI tool eliminates any requirement to deal with XML and maps all relationships for you. You can also tweak the XML but its not required or recommended. My workflow is to build my database directly in SQL and then point Cayenne at it and get my

Re: How do you achieve persistency

2009-10-06 Thread nino martinez wael
Hmm, Im free todo what I want, I use hibernate+JPA if theres no db I model it in java and if I have the db I reverse engineer it with JPA tools from eclipse so that It generates my POJO's.. 2009/10/6 Peter Arnulf Lustig u...@yahoo.de What's the fast and easy way? I am asking because of a

Re: How do you achieve persistency

2009-10-06 Thread James Perry
Assembler! On Tue, Oct 6, 2009 at 10:34 AM, Peter Arnulf Lustig u...@yahoo.dewrote: What's the fast and easy way? I am asking because of a lot of trouble with hibernate. - To unsubscribe, e-mail:

Re: How do you achieve persistency

2009-10-06 Thread James Perry
On a more serious note then perhaps just using raw JDBC if you are unsure of ORM concepts. On Tue, Oct 6, 2009 at 4:03 PM, James Perry james.austin.pe...@gmail.comwrote: Assembler! On Tue, Oct 6, 2009 at 10:34 AM, Peter Arnulf Lustig u...@yahoo.dewrote: What's the fast and easy way?

Re: How do you achieve persistency

2009-10-06 Thread James Carman
On Tue, Oct 6, 2009 at 11:05 AM, James Perry james.austin.pe...@gmail.com wrote: On a more serious note then perhaps just using raw JDBC if you are unsure of ORM concepts. Isn't that kind of like saying I suggest you walk everywhere you want to go if you're unfamiliar with how to drive a car?

Re: How do you achieve persistency

2009-10-06 Thread Erik Post
On Tue, Oct 6, 2009 at 5:42 PM, James Carman jcar...@carmanconsulting.com wrote: On Tue, Oct 6, 2009 at 11:05 AM, James Perry james.austin.pe...@gmail.com wrote: On a more serious note then perhaps just using raw JDBC if you are unsure of ORM concepts. Isn't that kind of like saying I

Re: How do you achieve persistency

2009-10-06 Thread James Carman
On Tue, Oct 6, 2009 at 11:50 AM, Erik Post eriksen...@gmail.com wrote: That's fairly sound advice though, isn't it? And may I add may own two cents in suggesting iBatis if you prefer SQL to things like JPA or Hibernate? I don't know if I'd call it sound advice. Sure, walking can give you

Re: How do you achieve persistency

2009-10-06 Thread Erik Post
On Tue, Oct 6, 2009 at 5:55 PM, James Carman jcar...@carmanconsulting.com wrote: On Tue, Oct 6, 2009 at 11:50 AM, Erik Post eriksen...@gmail.com wrote: That's fairly sound advice though, isn't it? And may I add may own two cents in suggesting iBatis if you prefer SQL to things like JPA or

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
give you hints on what specific tool would be best for you. Cheers, Daniel Peter Arnulf Lustig wrote: What's the fast and easy way? I am asking because of a lot of trouble with hibernate. -- View this message in context: http://www.nabble.com/How-do-you-achieve-persistency

Re: How do you achieve persistency

2009-10-06 Thread James Carman
On Tue, Oct 6, 2009 at 12:32 PM, dtoffe dto...@yahoo.com.ar wrote:    So our fast and easy way is to use code generation to get JDBC based DAOs that wrap the stored procs call. We even keep writing stored procs for new requirements, all our devs know SQL well and I don't believe we will gain

Re: How do you achieve persistency

2009-10-06 Thread James Perry
There are many ways to skin a cat. Personally I like to use machine code to give it a slow, painful death. Best, James. On Tue, Oct 6, 2009 at 4:42 PM, James Carman jcar...@carmanconsulting.comwrote: On Tue, Oct 6, 2009 at 11:05 AM, James Perry james.austin.pe...@gmail.com wrote: On a more

Re: How do you achieve persistency

2009-10-06 Thread Dane Laverty
I've just finished up my first Wicket + ORM project. I knew nothing about ORM when I started, so I decided to go with Hibernate since it seems to be the most commonly used. It was both painful and educational. My only suggestion is to suck it up and put in the effort it will take to learn it. I'm

Re: How do you achieve persistency

2009-10-06 Thread T Ames
I use a product called JPersist - no XML, just POJOs. Has built in pooling. I instantiate the DatabaseManager in the web application and use a getter. http://www.jpersist.org It has a list of tested databases, but I use Microsoft SQL. Haven't had too many issues with it. On Tue, Oct 6,

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
my logic out of stored procedures as much as I can. -- View this message in context: http://www.nabble.com/How-do-you-achieve-persistency-tp25765566p25776405.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: How do you achieve persistency

2009-10-06 Thread Sam Stainsby
On Tue, 06 Oct 2009 09:34:55 +, Peter Arnulf Lustig wrote: What's the fast and easy way? I am asking because of a lot of trouble with hibernate. You can use an object database (like DB4O) that doesn't require ORM. -

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
: http://www.nabble.com/How-do-you-achieve-persistency-tp25765566p25776501.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands

Re: How do you achieve persistency

2009-10-06 Thread Igor Vaynberg
i think all the suggestions you have gotten until now are overcomplicated and have a high learning curve. i think the easiest and fastest way to achieve persistency is to use a database that all operating systems already have - the file system. each table is a directory, each entity is simply a

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
u...@yahoo.dewrote: What's the fast and easy way? I am asking because of a lot of trouble with hibernate. -- View this message in context: http://www.nabble.com/How-do-you-achieve-persistency-tp25765566p25776608.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: How do you achieve persistency

2009-10-06 Thread Sam Stainsby
On Tue, 06 Oct 2009 14:02:56 -0700, Igor Vaynberg wrote: i think all the suggestions you have gotten until now are overcomplicated and have a high learning curve. i think the easiest and fastest way to achieve persistency is to use a database that all operating systems already have - the file

Re: How do you achieve persistency

2009-10-06 Thread Scott Swank
All you really need is a good database browser. http://mh-nexus.de/en/hxd/ On Tue, Oct 6, 2009 at 2:17 PM, Sam Stainsby s...@sustainablesoftware.com.au wrote: On Tue, 06 Oct 2009 14:02:56 -0700, Igor Vaynberg wrote: i think all the suggestions you have gotten until now are overcomplicated

Re: How do you achieve persistency

2009-10-06 Thread bht
Peter, If you already used Hibernate, then you probalbly don't want to deal with raw JDBC anymore. JPA is the new standard, and even Hibernate is compatible with it. I use NetBeans + EJB 3.0 including JPA + Wicket which looks like an easy combination to me. On that level, if your persistence

Re: How do you achieve persistency

2009-10-06 Thread Igor Vaynberg
i dont think anyone on the wicket team is biased against ejb or jpa. what we are biased against are people who believe that just because something is a standard it is inherently good. -igor On Tue, Oct 6, 2009 at 2:30 PM, b...@actrix.gen.nz wrote: Peter, If you already used Hibernate, then

Re: How do you achieve persistency

2009-10-06 Thread Martijn Dashorst
I would use the package names as directories and the class names as the inner most directory name (with a capital). This immediately makes it an ORM solution. Inheritance hierarchies can be created by symlinking the instances to each super type's directory. Martijn On Tue, Oct 6, 2009 at 11:02

Re: How do you achieve persistency

2009-10-06 Thread James Carman
What about queries against your persistent storage tier? Wouldn't that be quite slow? On Tue, Oct 6, 2009 at 6:07 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: I would use the package names as directories and the class names as the inner most directory name (with a capital). This

Re: How do you achieve persistency

2009-10-06 Thread Igor Vaynberg
pft, just use a lucene file crawler, you get super fast searching for free! -igor On Tue, Oct 6, 2009 at 5:52 PM, James Carman jcar...@carmanconsulting.com wrote: What about queries against your persistent storage tier?  Wouldn't that be quite slow? On Tue, Oct 6, 2009 at 6:07 PM, Martijn