Your SlideShare is downloading. ×
Bucharest GTUG - Roo and GWT - 01 June 2010
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Bucharest GTUG - Roo and GWT - 01 June 2010

1,850
views

Published on

Spring Roo and Google Web Toolkit …

Spring Roo and Google Web Toolkit

SpringSource and Google are working together to combine the speed of development of Spring Roo with the power of the Google Web Toolkit (GWT) to build rich browser apps.

Published in: Technology, Business

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,850
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
25
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Bucharest GTUG 1 Iunie 2010
  • 2.
    • What's Coming in GWT 2.1?  
      • Data Presentation Widgets
      • MVP Framework
      • Spring Roo
      • Server-side Speed Traces
  • 3. GWT 2.1 and SpringSource Tool Suite (STS)
    • Google and VMware are delighted to introduce SpringSource's new STS 2.3.3 and Spring Roo 1.1.0.M1 releases. These technologies deliver new levels of productivity, including:
      • Spring Roo 1.1.0.M1
      • Google Plugin for Eclipse (GPE)
      • Data Nucleus (DN) Plugin for Eclipse
  • 4. Install SpringSource Tool Suite (STS)
    • Dowload springsource-tool-suite -2.3.3.M1-e3.5.2-win32.zip
    • Unzip - || -
  • 5. Start SpringSource Tool Suite
    • Open DashBoard
    • Install Extensions (DataNucleus EclipsePlugin, Google Plugin for Eclipse)
    • Start new Roo Project
  • 6. New Roo project
  • 7. Building roo project roo>
    • type 'hint' and ENTER for the next suggestion.
    • Type 'persistence setup' and then hit CTRL+SPACE three times.
    • For testing purposes, type (or CTRL+SPACE) HYPERSONIC_IN_MEMORY.
    • roo> persistence setup --provider HIBERNATE
    • --database HYPERSONIC_IN_MEMORY
  • 8. Creating Entities and Fields
    • roo> entity --class ~.server.domain.Book
    • roo> field string --fieldName name
    • roo> field string --fieldName author
    • In Roo, '~' means the --topLevelPackage you specified via 'create project'.
  • 9. class Book
    • package ro.gtug.app.demo.server.domain;
    • import javax.persistence .Entity;
    • import org.springframework .roo.addon.javabean.RooJavaBean;
    • import org.springframework .roo.addon.tostring.RooToString;
    • import org.springframework .roo.addon.entity.RooEntity;
    • @ Entity
    • @ RooJavaBean
    • @ RooToString
    • @ RooEntity
    • public class Book {
    • }
  • 10. Add fields
    • roo> field string --fieldName name
    • roo> field string --fieldName author
    • And result:
    • public class Book {
    • private String name;
    • private String author;
    • }
  • 11. Install Google Web Toolkit (GWT) into your project
    • roo> gwt setup
  • 12. Run Roo project
    • > mvn gwt:compile
    • > mvn gwt:run
  • 13. Roo docs
    • http://www.springsource.org/roo
    • roo-1.1.0.M1docspdfspring-roo-docs.pdf
  • 14. Thanks! Petrica Clement Chiriac (Tica2) petrica (at) gtugs.org http://twitter.com/Tica2 Bucharest GTUG Questions …
  • 15. Next Bucharest GTUG event!
    • Tuesday 6 July 2010 at Bucharest Hubb (19:00)
    • Agenda:
      • Proposals
      • Android ?
    Bucharest