First of all i don't have experience with Spring Roo. The demo during
Google I/O was interesting but I am skeptical about its real life
usage especially in medium to big projects. Check this out ->
http://groups.google.com/group/gwt-platform/browse_thread/thread/862cab91ccb28d40.
I remember seeing a similar demo about Grails 2 years back. So i would
suggest to take a wait and see approach.
Thanks.
On May 23, 6:28 am, Navigateur <
naveen.c...@googlemail.com> wrote:
> So is anybody able to tell me if I should getGWT2.1 M1 before trying
> Spring Roo, or should I just use Spring Roo now for Hibernate withGWT
> 2.0.3? (I've never used Spring Roo).
>
> I'll definitely be making a db4o version alongside this regardless.
>
> On May 22, 2:04 pm, Navigateur <
naveen.c...@googlemail.com> wrote:
>
> > Thanks Manoj!
> > So I was wondering, is it feasable to use Spring Roo withGWT2.0.3
> > (for spring roo to do thepersistencebit with e.g. Hibernate?) or is
> > it necessary to useGWT2.1 M1?
>
> > I'm thinking of doing both Spring Roo Hibernate and db4o versions and
> > commenting out one to test the performance of the other in turn. I
> > hope they make a nice Spring Roo module forGWT+db4o if that would
> > help using db4o as well.
>
> > So, do I need to useGWT2.1 to use Spring Roo?
> > > There are enhancements inGWT2.0 to handle enhanced classes
> > > especially the ones related topersistence. Please see the section
> > > > And how doesGWThandle associations where Hibernate (as JPA
> > > > implementation) puts own Collection implementations? They are not
> > > > serializable... that is the reason why Gilead exists. Can you tell me
> > > > how is it possible to achieve it without such layer?
>
> > > > On 21. Máj, 16:00 h., Manoj <
vkma...@gmail.com> wrote:
>
> > > > > I just completed an application on the following stack ->GWT, Spring
> > > > > and EclipseLink (JPA). From my experience, if you are usingGWT2.x
> > > > > and using annotations in your persistent classes, there is no need for
> > > > > Gilead or Dozer. Don't get hung up digging the net as most of the
> > > > > blogs/articles are outdated (forGWT1.5 or 1.x)
>
> > > > > If you are developing your application as one big project, this is
> > > > > super easy and everything just works. There is no problem transferring
> > > > > objects from DAO layer all the way upto java script. (GWT2.x knows
> > > > > how to handle it).
> > > > > But if you want to separate out your server side development you will
> > > > > have to package those transfer objects along with source as a jar and
> > > > > add them asgwtmodule(source is also required forgwt). Mine was a
> > > > > relatively small application and hence followed the first approach.
> > > > > But i did try out the second approach and it worked. (A simple build
> > > > > script will do the
> > > > > work for you)
>
> > > > > Thanks,
> > > > > Manoj
>
> > > > > On May 21, 8:44 am, José González Gómez
>
> > > > > <
jose.gonzalez.go...@gmail.com> wrote:
> > > > > > Can't help there, as I haven't tried it yet. Anyway the Spring Roo
> > > > > > tutorial includes generation of persistent classes using JPA and
> > > > > > Hibernate, so I guess it will include some way to get those entities
> > > > > > toGWT, taking into account that is integrated with it
> > > > > > > > > > cumbersome to handlepersistenceby hand, instead of using a ORM
> > > > > > > > > > framework. If you want to have automatic update of the database,
> > > > > > > > > > Hibernate tools is able to generate the database schema from your
> > > > > > > > > > mappings. I suggest to take a look at Maven, Maven Hibernate plugin,
> > > > > > > > > > JBoss Tools, and Spring Roo. Haven't worked with the later, butGWT
> > > > > > > > > > has just made a coordinated release with Spring Roo and I think it may
> > > > > > > > > > be quite interesting for you.
>
> > > > > > > > > > I hope this isn't getting too much OT...
>
> > > > > > > > > > HTH, best regards
> > > > > > > > > > José
>
> > > > > > > > > > On 20 mayo, 15:37, Navigateur <
naveen.c...@googlemail.com> 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 withGWT... we're
> > > > > > > > > > > > working on aGWT+ 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 withGWT, 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-we...@googlegroups.com.
> > > > > > > > > > > > > > To unsubscribe from this group, send email to
google-web-tool...@googlegroups.com.
> > > > > > > > > > > > > > For more options, visit this group
>