wanted the wisdom of the group to help me out.
My current project is essentially a platform providing web services to
a number of clients.
We've developed the web services by using Grails as it was considered
a very quick way to get things going.
Grails has been a positive experience from a development point of view
but there are a number of disadvantages which are now prompting a
rethink:
Grails' sweet spot is creating a web application (rather than web
services) to do CRUD.
Our platform is not about typical CRUD. We do not have a html
front-end for example. Or a relational db. We use Mongodb.
We are also concerned about the runtime performance of Grails as well
as how long it takes to startup in Jetty.
So can anyone suggest an alternative? Performance and load are
important. Being able to expose web services easily from Java is also
important.
I was thinking using Tomcat + Spring, mainly because its a stack I
know and Tomcat can handle a huge load and I can pick and choose the
bits of Spring I need. I would consider something lighter weight but I
really don't want to muck around with web.xml files and the usual
standard java web app crap (which Grails does a fantastic job of
abstracting away).
Any other ideas?
Thanks
Rakesh
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
Some further context of the requirements - expose restful urls, convert json data into Java objects, transform and out into MongoDB.
--
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To view this discussion on the web visit https://groups.google.com/d/msg/javaposse/-/z82cQnuIWgIJ.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
while taking your maintainability up by an order of magnitude
We are also concerned about the runtime performance of Grails as well
as how long it takes to startup in Jetty."
I don't know Grails very well, but I am certain that you are not
forced into a CRUD model.
Check this out: http://grails.org/plugin/mongodb
And of course run this search:
https://www.google.com/webhp?sourceid=chrome-instant&ix=seb&ie=UTF-8&ion=1#hl=en&output=search&sclient=psy-ab&q=grails%20mongo&oq=&aq=&aqi=&aql=&gs_sm=&gs_upl=&gs_l=&pbx=1&fp=d6dedd7a89ce7f98&ix=seb&ion=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&biw=1442&bih=1018
My other question is: why do you think that the web stack is going to
be your bottleneck? It usually isn't. And don't forget that Grails
largely wraps up spring (which is written in java).
But that all being said: check out the Play framework. If you prefer
Java, it's your best bet IMO.
http://www.playframework.org/modules/mongo
I know next to nothing about Grails but is there no option to do all that stuff at build time, and if not, why not?
When you talked about Grails' startup time I assumed you meant on a fresh servlet container. That's the first time I've seen build time called startup time. :)
I was hoping someone had been in the same situation as me. Back to the
drawing board...
Rakesh