1 / 11

Spring Roo

Spring Roo. CS476 Aleksey Bukin Peter Lew. What is Roo?. Productivity tool Allows for easy creation of Enterprise Java applications Runs alongside existing projects Detects changes made to files, adjusts itself as necessary. What Roo is not. Roo is not a runtime

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 CS476 Aleksey Bukin Peter Lew

  2. What is Roo? • Productivity tool • Allows for easy creation of Enterprise Java applications • Runs alongside existing projects • Detects changes made to files, adjusts itself as necessary

  3. What Roo is not. • Roo is not a runtime • Roo is not an IDE plugin •  Roo is not an annotation processing library • Java EE 6 annotations are not used • Compatible with Java EE 5

  4. Core Technologies • Spring Framework • AspectJ

  5. Spring • Spring Framework is required by Roo • Spring Aspects - using AspectJ definition language • Configurable dependency injection • Other Spring projects may be included • Spring Security • Spring Web Flow • Maven • Java Server Pages • User decides which Spring components to integrate

  6. AspectJ • Aspect Oriented Programming (AOP) framework • Inter-Type Declaration (ITD) • Automatic Code Generation • Interfaces • Methods • Fields

  7. Why use Roo? • Higher Productivity • Compatibility with existing projects • Auto-configuration available: • Java Persistence API (JPA) • Database backend • Dependency injection • Integration with existing technolgies • Spring MVC layer • Google Web Toolkit • HTML 5 standard

  8. Productivity • Code generated in separate files • Independent from project • ITDs are referenced automatically • Incremental approach to application-building • Technologies and frameworks automatically added on-demand

  9. Compatibility • Compatible with Java EE 5 • SpringSource certified architecture • Automatic maintenance and updates of XML, JSP files

  10. Convenience • Runs in background • Simple command-line interface • Easy to add or remove • Fail-safe, keeps track of changes made to filesystem

  11. References • http://www.springsource.org/spring-roo#documentation • http://www.eclipse.org/aspectj/ • http://www.springsource.org/documentation

More Related