Tuesday, December 4, 2012

Start a Spring MVC/Hibernate Project Super Quick

So this is only really super quick if you have Maven installed. If you don't, you should, so go here and install it.

So with Maven and doing a mvn archetype:generate there are a ton of different projects to choose from.  But here is a really cool archetype that you can install and generate from.  It includes Spring MVC(obviously), Hibernate, Spring Security, and i18n properties already wired up.  And it also uses configuration classes instead of XML.

The archetype can be downloaded here and includes instructions on how to use it.

An alternative to using this archetype could be to use Springsource Tool Suite(STS) and create a Spring Template project but it doesn't include all the goodies that the above archetype does.

No comments:

Post a Comment