Showing posts with label Spring Roo. Show all posts
Showing posts with label Spring Roo. Show all posts

Sunday, April 18, 2010

Working with Spring Roo -2

Just finished creating project in spring roo with JPA provider, Hibernate. what's cool about it, roo take care of everything and create spring project for you, including all source classes and spring appicationContext.xml and all test classes, and creates POM.xml for you to use for build and test project...so far able to run project using selenium and tomcat as server.

here are some commands:

project --topLevelPackage com.vikasroo (creates project structure, pom.xml and spring app context)
persistence setup --provider HIBERNATE --database (creates JPA project with Hibernate as JPA provider)
entity --name ~.vikas.Kuma (creates Entity for JPA)
test integration (will verify command JPA operations in test)

its all about TAB in spring Roo...try it out. its good to have some prior Maven knowledge to use this.

Saturday, April 10, 2010

Working with Spring Roo -1

Today I start working on my new task from my own TODO list. To work on Spring Roo, I have already installed Spring Roo, when Spring announced Roo with Spring 3.0. Next few days i'll be working on small test app with Spring Roo.

Here's little background of Spring Roo, its targeted to make coder life easier by creating project in few steps. it worked from command line and can guide you, if you don't know what to do next? Spring Roo usage AspectJ behind the scene to inspect and create code for you.

Will update this post once I'm done with Spring Roo test application.

You can download Spring Roo from here.

http://www.springsource.org/download