Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Spring Roo 1.1 Cookbook

You're reading from   Spring Roo 1.1 Cookbook Over 60 recipes to help you speed up the development of your Java web applications using the Spring Roo development tool

Arrow left icon
Product type Paperback
Published in Sep 2011
Publisher Packt
ISBN-13 9781849514583
Length 460 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Spring Roo 1.1 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with Spring Roo FREE CHAPTER 2. Persisting Objects Using JPA 3. Advanced JPA Support in Spring Roo 4. Web Application Development with Spring Web MVC 5. Web Application Development with GWT, Flex, and Spring Web Flow 6. Emailing, Messaging, Spring Security, Solr, and GAE 7. Developing Add-ons and Removing Roo from Projects Index

Deploying a Spring Web MVC application on GAE


As of Spring Roo 1.1.5, the Roo-generated Spring Web MVC application doesn't work on GAE. The reason for this is related to mismatch in the JSTL version used by GAE and by the Roo-generated Spring MVC application. Also, Roo-generated JPA entities support only unowned relationships (refer http://code.google.com/appengine/docs/java/datastore/jdo/relationships.html to learn about owned and unowned relationships). In this recipe, we'll look at a Spring 3.0 Web MVC application (which uses JSTL tags that work on GAE) consisting of FlightDescription and Flight JPA entities and demonstrates how to create a unidirectional owned one-to-many relationship between JPA entities. The FlightDescription entity is on the one side of one-to-many relationship.

Note

If you are using Spring Roo 1.2.x, then the Roo-generated Spring Web MVC application can be deployed successfully on GAE.

Getting ready

If you only want to run the Spring Web MVC application locally using...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image