Bucharest GTUG 1 Iunie 2010
<ul><li>What's Coming in GWT 2.1?     </li></ul><ul><ul><li>Data Presentation Widgets </li></ul></ul><ul><ul><li>MVP Frame...
GWT 2.1 and SpringSource Tool Suite (STS) <ul><li>Google and VMware are delighted to introduce SpringSource's new STS 2.3....
Install  SpringSource Tool Suite (STS) <ul><li>Dowload  springsource-tool-suite -2.3.3.M1-e3.5.2-win32.zip </li></ul><ul><...
Start SpringSource Tool Suite <ul><li>Open DashBoard </li></ul><ul><li>Install Extensions  (DataNucleus EclipsePlugin, Goo...
New Roo project
Building roo project  roo> <ul><li>type 'hint' and ENTER for the next suggestion. </li></ul><ul><li>Type 'persistence setu...
Creating Entities and Fields <ul><li>roo> entity --class ~.server.domain.Book </li></ul><ul><li>roo>  field string --field...
class  Book <ul><li>package  ro.gtug.app.demo.server.domain; </li></ul><ul><li>import   javax.persistence .Entity; </li></...
Add fields <ul><li>roo> field string --fieldName name  </li></ul><ul><li>roo> field string --fieldName author </li></ul><u...
Install Google Web Toolkit (GWT) into your project <ul><li>roo> gwt setup </li></ul>
Run Roo project <ul><li>>  mvn gwt:compile </li></ul><ul><li>>  mvn gwt:run </li></ul>
Roo docs <ul><li>http://www.springsource.org/roo </li></ul><ul><li>roo-1.1.0.M1docspdfspring-roo-docs.pdf </li></ul>
Thanks!  Petrica Clement Chiriac  (Tica2) petrica (at) gtugs.org   http://twitter.com/Tica2 Bucharest GTUG   Questions  …
Next Bucharest GTUG event!  <ul><li>Tuesday 6 July 2010 at Bucharest Hubb   (19:00) </li></ul><ul><li>Agenda: </li></ul><u...
Upcoming SlideShare
Loading in …5
×

Bucharest GTUG - Roo and GWT - 01 June 2010

2,178 views

Published on

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
2,178
On SlideShare
0
From Embeds
0
Number of Embeds
42
Actions
Shares
0
Downloads
27
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Bucharest GTUG - Roo and GWT - 01 June 2010

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

×