Share This

Friday, June 11, 2010

Spring Roo and AppEngine

·

I don't really get what springsource is trying to do with the Spring Roo product. Seems like it is trying to be the Java equivalent of the RAILS/GRAILS world; Fast and quick way to develop applications.

But does the approach truly work? I don't think so.

So I decided to look under the hood and build an application. I tried the much publicized Google AppEngine/ Spring Roo Integration. While I could build the scaffolding of the application very quickly, I did not see much value in what Roo did for me. Here is what it does :
1. Builds the Object to Database connection layer with finders and getters based on just the Entity Object definitions.
2. Builds a generic GUI for Data Entry and View.

Now - if you are in the RDBMS world - there is probably some value to automatically creating the scaffolding around capturing the Data Access layer with a tool like Roo. But , if you are working with AppEngine , I dont see the value. Building the Data access layer in AppEngine is super easy already there is not much other tools can do here. You just define your objects with JDO/JPA annotations and you are done. Why would I make comprises in the choice of a programming model when I don't get much from Roo's efficiency. Note that Roo uses JPA only with No DAO layer and uses Aspects.(not everybody in the world likes Aspects including myself)

I liked the idea of building a generic gui for your object model. If this idea would work with any Object Model I create. i.e not something that was generated via SpringRoo then I would be interested in it. Since the gui is more of a testing tool for your Object Model - there is value in having such a gui as a backdoor entry to your data. But the GUI cannot be used even as a starting point for true real-world applications.

IMHO - the only way I see Spring Roo fit into my world if it targets its positioning as the "Microsoft Access for the Cloud" .Afterall , what MS access gives you is an ability to define Tables(Entities) , Edit Data Items and Report on them.  Trying to target Spring Roo as a potential Web Application development paradigm does not fly with me.

0 comments:

Contact


Links