Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-15 Thread Martin Grigorov
what do you think about JOOQ ? http://www.petrikainulainen.net/programming/jooq/using-jooq-with-spring-crud/ Martin Grigorov Wicket Training and Consulting On Tue, Apr 15, 2014 at 6:00 AM, William Speirs wspe...@apache.org wrote: Off-topic a bit... on the JPA front, I'm still relatively new

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-15 Thread William Speirs
I hadn't heard of it. There are a few ORMs out there. I've looked at this library as well: http://jdbi.org/ However, that's a bit too much SQL writing for just the basic objects for me. Though it is a GREAT setup to make unit testing REALLY easy. I just find the JPA API so clumsy, especially when

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-15 Thread Chris Snyder
I agree that JPA can be clunky. I have found the CriteriaBuilder way of building queries to be manageable (if a bit verbose). So far, I’ve used JQL queries (defined in @NamedQuery annotations) for the queries that have a well-defined structure, and CriteriaBuilder for the more complex cases (such

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-14 Thread Bill Speirs
Chris, sorry for not responding more quickly... was traveling back from ApacheCon NA. Honestly, it would be non-trivial to drop in a replacement to Hibernate. The JpaPersistService (http://goo.gl/FeI6xU) handles the configuration coming from persistence.xml and has nothing Hibernate specific. The

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-14 Thread Maxim Solodovnik
In our project we have removed Hibernate because it's licence is not AL compatible We are using OpenJPA, was not so hard to replace On Mon, Apr 14, 2014 at 7:44 PM, Bill Speirs bill.spe...@gmail.com wrote: Chris, sorry for not responding more quickly... was traveling back from ApacheCon NA.

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-14 Thread Chris Snyder
Thanks for the reply - no worries on the delay. In my case, I'm using EclipseLink. I originally was using Hibernate, but switched after encountering a known bug in Hibernate (the specifics of which I no longer recall). Since I was sticking to using the pure JPA API, it was a quick drop-in

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-14 Thread William Speirs
Off-topic a bit... on the JPA front, I'm still relatively new and finding it not as useful as I would have hoped. Beyond VERY simple read-by-primary-key and update/create/delete, anything else seems tedious. I'm having to learn the JPA query language (yes, you can use SQL but then you lose

Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-09 Thread William Speirs
I gave a talk at ApacheCon NA yesterday on Croquet. It is a combination of Wicket, Jetty, Hibernate, and Guice to make it super-easy to start writing Wicket code almost immediately, instead of spending time configuring everything. Slides:

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-09 Thread Maxim Solodovnik
I have attended, it was fun :) On Wed, Apr 9, 2014 at 10:51 AM, William Speirs wspe...@apache.org wrote: I gave a talk at ApacheCon NA yesterday on Croquet. It is a combination of Wicket, Jetty, Hibernate, and Guice to make it super-easy to start writing Wicket code almost immediately,

Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-09 Thread Chris Snyder
Looks like awesome work - very clean page design and excellent documentation, and I'm sure that the quality extends to the code as well. I'll definitely be looking into this for my next project, if not porting some of my current ones. When using Croquet, how easy would it be to drop in a