1 / 70

Spring Roo

Spring Roo. By Rohit Ghatol rohitsghatol@gmail.com. What?. Why ?. How ?. What is Roo?. Version 1.2. Spring Roo. Tool. Rapid App Development. High Quality. No Lock In. Java. Spring. JPA. Setting Expectations Right?. Maven. JSP. GWT. Flex. Unlike Others Spring Roo is not.

paulos
Download Presentation

Spring Roo

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Spring Roo By Rohit Ghatol rohitsghatol@gmail.com

  2. What? Why ? How ?

  3. What is Roo? Version 1.2

  4. Spring Roo Tool Rapid App Development High Quality No Lock In

  5. Java Spring JPA Setting Expectations Right? Maven JSP GWT Flex

  6. Unlike Others Spring Roo is not Spring Roo Runtime Library IDE Plugin Annotatins

  7. What does roo look like?

  8. 10 minute Test

  9. Step 1: Create Roo Project

  10. Step 2: Setup Persistence Layer

  11. Step 3: Declare Entities

  12. Step 4: Add Fields

  13. Step 5: Build Project

  14. Step 6: Browse Project

  15. Spring Roo Projects are Maven Project

  16. Step 7: Generate Web App Scaffoldng

  17. Step 8: Deploy

  18. Step 9: Create Selenium Test Cases

  19. Step 10: Test UI

  20. Why Spring Roo?

  21. Shell/Command Based Has a Context and this is Better than any Wizard

  22. Active Code Generation Lets add one more field to Employee, and see what happens?

  23. Domain Driven Design

  24. All Source Code is there No Runtime as we said earlier

  25. Add your own Plugins Create Organization wide plugins or make them OpenSource

  26. TypicalSecurity Plugin Typical = Convension What all of us do most of time

  27. Install Plugin on Roo Shell osgi start --urlhttp://spring-roo-addon-typical-security.googlecode.com/files/com.xsoftwarelabs.spring.roo.addon.typicalsecurity-0.1.5.BUILD-SNAPSHOT.jar

  28. Run TypicalSecurity • project --topLevelPackage com.testproject2 --projectName TestProject2 • //Typical Security Addon needs persistence, other wise it doesn't show itself • persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY • Usage • //Run the TypicalSecurity setup addon in default mode • typicalsecurity setup

  29. What do we get? • User Role Model classes • Sign up – With Captcha • Activation Email • Forgot Password

  30. How to?

  31. Adding Security

More Related