You could try OpenJPA, which can now largely be done using 
annotations rather than xml, or if you are not needing to use SQL
DBs you could try one of the object dbs like db4o.

David

On Thursday 20 May 2010, Navigateur wrote:
> Thanks José! But don't they still require you to do the "hibernate-
> mapping" xml thing? Isn't this cumbersome for complex object
> structures? Or is there a way of being able to play with your object
> structure without having to change the hibernate-mapping xml every
> time (i.e. a default automatic behaviour for all objects, which also
> updates the data-store to reflect object-structure changes in the
> code)?
> 
> Thanks!
> N
> 
> On May 20, 10:08 am, José González Gómez
> 
> <jose.gonzalez.go...@gmail.com> wrote:
> > Although your question has (almost) nothing to do with GWT... we're
> > working on a GWT + JavaEE application, and evaluated several
> > alternatives regarding this problem. We had two winners, both of them
> > using of course JPA with Hibernate provider:
> >
> > 1. Use Gilead to transform your persistent entities and send them to
> > GWT
> > 2. Use DTOs, and use Dozer to transform from / to domain objects /
> > entities
> >
> > In our case we chose DTOs / Dozer over Gilead because we favoured
> > layer separation, encapsulation and security over development ease.
> > YMMV
> >
> > Best regards
> > José
> >
> > On 20 mayo, 10:54, Navigateur <naveen.c...@googlemail.com> 
wrote:
> > > Ah yes! Except that I want to be able to get persistent things onto 
my
> > > client side without too much conversion or trouble (i.e. the same
> > > objects client-and-server-side using the same language, and the 
same
> > > class definitions).
> > >
> > > What are my full range of options for this, anyway?
> > > And which is the best one for the purposes I've mentioned?
> > >
> > > On May 20, 12:34 am, Blessed Geek <blessedg...@gmail.com> 
wrote:
> > > > Wouldn't  your initial question be like -
> > > > What is the best power tool to use to build the fence around my
> > > > garden if I wish to plant my garden with tulips.
> > > >
> > > > But later on in your post, you reveal that your question actually 
has
> > > > nothing to do with GWT, just as growing tulips has nothing to do 
with
> > > > choice of power tools for your fence.
> > > >
> > > > --
> > > > You received this message because you are subscribed to the 
Google
> > > > Groups "Google Web Toolkit" group. To post to this group, send 
email
> > > > to google-web-tool...@googlegroups.com. To unsubscribe from 
this
> > > > group, send email to google-web-
toolkit+unsubscr...@googlegroups.com.
> > > > For more options, visit this group
> > > > athttp://groups.google.com/group/google-web-toolkit?hl=en.
> > >
> > > --
> > > You received this message because you are subscribed to the 
Google
> > > Groups "Google Web Toolkit" group. To post to this group, send 
email to
> > > google-web-tool...@googlegroups.com. To unsubscribe from this 
group,
> > > send email to google-web-toolkit+unsubscr...@googlegroups.com. 
For more
> > > options, visit this group
> > > athttp://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > --
> > You received this message because you are subscribed to the Google 
Groups
> > "Google Web Toolkit" group. To post to this group, send email to
> > google-web-tool...@googlegroups.com. To unsubscribe from this 
group, send
> > email to google-web-toolkit+unsubscr...@googlegroups.com. For 
more
> > options, visit this group
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to