Java on Google App Engine

8 04 2009

Google App Engine now supports Java. JSP and HttpServlet, JPA, JDO, and external libraries are supported. You can use a standard web deployment descriptor file.

The greatest thing is, we can use BigTable with JPA interface. It’s amazing. I’m very impressed. But sadly, Grails is not supported now. The SpringSource team is working for Grails, so I’ll wait and try this service. I gonna love it!





Grails is easy to learn!

8 04 2009

I’m a team leader in a Software Studio class. The professor gave us a project to make a medium-sized Web application. There are 4 members in my team but only one student used JSP before. And 3 of them have majors in electronics. It is a tough situation.

We had several discussions about what platform to use to implement. JSP, ASP.NET, and Grails were suggested. JSP has a very stiff learning curve, so it was not appropriate for some students. ASP.NET is quite easy and has plenty of references. Grails is a very experimental platform with a few Korean references. As a team leader, I should select one platform. And it was Grails.

I gave a 30-min lecture to 4 members to make a sample Web application. All of them understood it, and were able to write other simple applications, like a guest book and a diary. One of them found more complex samples to deal with relationships between entities. It seems like a very promissing solution.

The example code is following.

class Blog{
    String title
    String text
    String writer
    Date published
}

Then press the ‘generate-all’ button. Grails will take other remaining things. Then edit Web pages to figure them like Blog pages. That’s it. It’s quite simple, isn’t it?

I recommend you to learn Grails, if you already used Java and HTML. :-)