tag:blogger.com,1999:blog-6042050729972843368.post2163495789253370362..comments2023-12-20T11:51:17.106-06:00Comments on Chad Gallemore: Rapid Web Application Prototypes with Maven and GroovyChad Gallemorehttp://www.blogger.com/profile/03687439195639920481noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6042050729972843368.post-24432151129200329242011-07-22T09:54:53.233-05:002011-07-22T09:54:53.233-05:00Good article, although there is a kink in the proc...Good article, although there is a kink in the process using maven that doesn't quite seem "rapid". <br /><br />You say "Now we can compile our war, and deploy it to your favorite application server and you are ready to roll. "<br /><br />This means that every time we write some new code we have to rebuild target/ from src/ This seems like an extra step that slows things down quite a bit. Since groovy is a scripting language, ideally you'd be be able to just edit your src file, and reload it in the browser without rebuilding the war. I think it's called Hot Deployment, and it's standard practice with PHP etc. Any ideas?pederhttps://www.blogger.com/profile/04241892938227278778noreply@blogger.comtag:blogger.com,1999:blog-6042050729972843368.post-12869279689101674712008-12-11T12:00:00.000-06:002008-12-11T12:00:00.000-06:00This was exactly what I needed to do, I had this u...This was exactly what I needed to do, I had this up and running in 5 minutes. Thanks for the post, Chad.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6042050729972843368.post-74941619870128115682008-08-25T04:01:00.000-05:002008-08-25T04:01:00.000-05:00Nice post :)I created an archetype based on what y...Nice post :)<BR/><BR/>I created an archetype based on what you said and placed it in http://code.google.com/p/maven-groovy-webapp-archetype/wiki/QuickStart.<BR/><BR/>I just added the jetty plugin but the rest are practically the same.Franz Seehttps://www.blogger.com/profile/02185658313346099066noreply@blogger.comtag:blogger.com,1999:blog-6042050729972843368.post-11434454842051726932008-08-16T03:36:00.000-05:002008-08-16T03:36:00.000-05:00I've successfully taken the same approach for prot...I've successfully taken the same approach for prototyping with a handwritten persistence layer. When the application grows enterpricy, I can strongly recommend checking out Grails, which adds an all-inclusive web framework, using the same technology. This <A HREF="http://www.infoq.com/presentations/rudolph-grails-intro" REL="nofollow">video</A> should show you all you need to know in one hour. You can get Maven support through the <A HREF="http://forge.octo.com/maven/sites/mtg/grails-maven-plugin" REL="nofollow">grails-maven-plugin</A>, though Maven it is not a first class citizen.<BR/><BR/>Another tidbit is using the GMaven plugin and Groovy console to prototype and run your code in context of your webapp, mvn groovy:console.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6042050729972843368.post-37431816060342797552008-06-26T17:30:00.000-05:002008-06-26T17:30:00.000-05:00Nice article.I wonder how easy it would be to writ...Nice article.<BR/>I wonder how easy it would be to write simple REST Services with groovlets and how easy parsing uri's and params would be.<BR/><BR/>Also the maven groovy plugin is old. Its now the gmaven plugin.<BR/><BR/>Finally, you could easily tie it into the maven jetty plugin or the maven glassfish v3 plugin to easily run your war inline like mvn jetty:run or mvn glassfish:run (I think).jlorenzenhttps://www.blogger.com/profile/13635369821860631868noreply@blogger.com