Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Spring Roo/GAE without GWT?

  1. #1
    Join Date
    May 2005
    Location
    BEEK, The Netherlands
    Posts
    230

    Default Spring Roo/GAE without GWT?

    Does the new Spring Roo/GAE integration require us to use GWT?
    The intro docs state to use gwt setup

  2. #2
    Join Date
    Dec 2005
    Posts
    930

    Default

    No. You can also deploy Roo MVC apps to the app engine, however there are a few issues, one of them being that the app engine does not support entity relationships at the moment. Thus all our current Roo samples won't work in the production app engine.

    This is a work in progress so please stay tuned.
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    Nor, of course, is it necessary to deploy to GAE to use the GWT support.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

  4. #4
    Join Date
    May 2005
    Location
    BEEK, The Netherlands
    Posts
    230

    Default

    So there seem some issues with Roo/GAE without GWT currentyle, but will they be fixed.

    Will it be official option to not use GWT?


    @Rod: I don't understand why it should necessary to use GWT to deploy to GAE.
    Perhaps I don't understand the sentence you wrote down?

  5. #5
    Join Date
    Oct 2009
    Location
    Munich, Germany
    Posts
    103

    Default

    Rod says that it is not necessary to deploy to GAE to use GWT :-)

  6. #6
    Join Date
    May 2005
    Location
    BEEK, The Netherlands
    Posts
    230

    Default

    I guessed so, but I'm really misinterpreting his post (and I still do)

  7. #7
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    You can use mvn gae:deploy even with a Spring MVC application (ie no GWT).

    I really need to get around to writing that blog post..... :-)
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

  8. #8
    Join Date
    May 2005
    Location
    BEEK, The Netherlands
    Posts
    230

    Default

    That would be great Alex. But what about the comment Alan made about issues in production mode?

  9. #9
    Join Date
    May 2005
    Location
    BEEK, The Netherlands
    Posts
    230

    Default

    I would also be interested to know if I could use the GAE low-level datastore (e.g. instead of JPA)?

    For a small temp project I'm not interested in using JPA, GWT. The low level datastore API suits wel for this.
    But using Roo stil has benefits, that's why I'm asking.

  10. #10
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Marcel, Alan was referring to the considerations around App Engine and relationships between different entities. These aren't working fully in 1.1.0.M1 because App Engine requires the storage of the identifier of the related entity and having the accessors in the domain object go and retrieve the related entity via an explicit call.

    You could certainly stub a Roo project and then use the low-level DataStore API rather than JPA if you wished. For simplicity you'd still have Data Nucleus in your pom.xml, but you could just write your own methods that directly use the GAE DataStore API.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •