Showing posts with label maven. Show all posts
Showing posts with label maven. Show all posts

Monday, September 23, 2013

Adventure Time in Spring Roo

I've recently picked up Spring Roo and decided to build out a web application using the framework. It is certainly a rapid development framework, up to speed with the other popular framework by Spring, Grails.  What interested me the most with Roo though was the ability to easily plugin Spring-MVC, use multiple datasources for the Model, and to scaffold all the necessary JUnit test cases without me intervening.

In my use case, I wanted to utilize both structured and unstructured data, so I was able to easily define my Entities as belonging to either JPA or Mongo (my personal options).  The only problem with this is that a single Maven module can only be setup with a single datasource using Roo, which can easily be resolved by using modules.

Tuesday, October 18, 2011

Battling Maven and GWT

 I recently decided to tackle what I came to find out was a huge problem amongst java developers who wanted to work in Google Web Toolkit, but integrated with maven to manage project structure, dependency management, and a great command line utility.  Apparently the community for mavenizing GWT applications is very broken and there has not been a very clear way to work around the problem.  

After experimenting a bit with eclipse and generating various pom archetypes, I found out the process is difficult and usually results in numerous errors in eclipse that can somehow still run through the command line.  I almost gave up, when I found some interesting info posted by google on Sep 22, 2011:

The easiest way to get a GWT POM going is to snag one from of the GWT Maven sample projects. There are currently issues with the gwt-maven-plugin archetypes, so a good starter POM is the best way to go until those issues are resolved.