开发者

What are the criterias in selecting language groovy vs Java?

What are the parameters considered in selecting groovy on grails framework or plain spring MVC based java application.

Considering a deals site www.deals2buy.com site which 开发者_运维百科has -rich content(images only) on the website -reports for the admin -normal CRUD operations -heavy traffic on last days of the deals Which language/technology would you choose for this kind of application?

Thanks in advance. enthusiasts


My 2ct: if you need each single bit of performance I'd say go straight for Java. But of course given the fact that you can mix and match both, call one from another, you could work in Groovy and call Java for all that needs performance.

Groovy/Grails will give you faster turnaround, scaffolding, gorm, much less code and generally a lot of syntax sugar. And less speed. Java has speed, and if comparing Java on one of the wide range of available containers to put your web app in, very good and mature management tools (which is good for production!).

But again since Groovy runs on JVM you should be able to develop in Groovy and deploy the app in a Java container and have your management tools (in this scenario Groovy != Grails).

So it will turn down to: how important it is to have good management tools? do you need all the speed you can get? which syntax do you feel more comfortable with? how much development productivity will the generators/gorm buy you (there is nothing you couldn't do in Java)? how do you plan to make your views: JSP, JSF, any other templating framework or prefer groovy templates?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜