« Return to Thread: Advocating for Grails over Seam in an EJB3 landscape

Re: Advocating for Grails over Seam in an EJB3 landscape

by Lloyd Meinholz-2 :: Rate this Message:

Reply to Author | View in Thread

Glad the blog post was helpful. I'm going to have a follow on in a couple of days that completes the rest of the tables. I'm thinking of creating a project on kenai (yes I love netbeans) so people can download the project easily or figure out how to make my subversion repository open for public read. I was a MEAP subscriber too, but didn't provide too much helpful feedback (but I love the book too).

I really think if you know the database schema, you can probably knock off one moderately complex table every 15 minutes once you get the hang of the gorm dsl. Granted that isn't as fast as reverse engineering a database with hibernate tools, but you get all the gorm/grails flexibility that you wouldn't get with a vanilla Java/hibernate or Seam project.

Lloyd


On Wed, Jul 1, 2009 at 10:02 AM, Ed Young <ejy@...> wrote:
That's a great blog post and I appreciate your help.

I'm glad you mentioned Grails In Action and I can't believe I didn't reference it in my original post, since I was a MEAP subscriber from the beginning, and provided tons of feedback to Glen and Peter.

It's a great book and I highly recommend it!

Sorry guys!


On Tue, Jun 30, 2009 at 5:08 PM, Lloyd Meinholz <meinholz@...> wrote:
Even if you do have an existing schema, it's not too hard to use GORM DSL to map the schema to a grails application. You can see an example of that in a blog entry I wrote: <http://blog.javabilities.com/2009/06/access-legacy-database-using-gorm-dsl.html>. I can't speak to using JPA though, this is just using GORM DSL to map to a legacy database.

Lloyd



On Tue, Jun 30, 2009 at 3:50 PM, Ed Young <ejy@...> wrote:
I'm on a project where we are considering which web framework to use for a system that has a nascent EJB3 persistance landscape in development. Tomorrow (July 1) we will have a discussion about which is the best framework for our project.

Seam is the competing framework and no surprise, there are strongly held opinions, some more valid than others. Interestingly there is no one at our shop with any real Seam experience, but it is non the less favored by some anyway.

The main issue seems to be that there is a EJB3 persistance model being developed and the argument is that Grails will have to circumvent the EJB3 technology while Seam is designed around EJB3, and JPA.

I have alot of Grails experience, but all of it greenfield db development. No legacy mapping, and no EJB3. I wonder how much of an issue this is in reality. Trust me, I'm scrambling to learn all I can asap.

I see that there is some coverage in DGG chapter 17 "Legacy Integration with Hibernate":EJB 3 Compliant Mapping and I plan on looking into this to diffuse that argument, hopefully. Can anyone point me to any other resources for this kind of issue?

So, is the EJB3 deal breaker in favor of Seam?

Also, it may be argued that Grails does not have mature JPA support? Can anyone speak to this issue?

Also, what other points can there made to argue for Grails over Seam in this instance?
 




--
- Ed

 « Return to Thread: Advocating for Grails over Seam in an EJB3 landscape