Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

how does Spring Roo help incorporate best practices

 
Enthuware Software Support
Posts: 4585
45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ashish,
I read your blog post titled "Spring Roo - future of Java application development". There, you've mentioned 3 examples of where Spring Roo comes into picture. I am thinking all these 3 things are easily handled by the IDEs. Do you think what is generated by IDEs does not follow best practices? How is what generated by SR is better than that? Could you please explain that?

Could you please give any concrete example where SR adds a value not provided by IDEs?

thank you,
Paul.
 
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul,

Spring Roo is a code generation tool. The examples that I talked about in my blog refer to some of the auto-generated code by Spring Roo, which you can do using an IDE also. The best practices are related to how the code is structured and how Spring framework features are used. For instance, in an application the interaction between layers is Web --> Service --> DAO. If you are developing a Spring-based application, a good practice is to create different application contexts XML files for objects in the web layer and the dao+service layer. If you are using Spring Roo, then this is automatically done for you. Another example is - Spring Roo scaffolded web layer is RESTful in nature.

regards
ashish

 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic