RSS

Archivo de la etiqueta: groovy

Groovy integration inside a Spring project


In this post we are going to talk a little bit about how to integrate Groovy (or another Scripting language like JRuby or BeanShell) within a Spring project. Achiving that is not really complicated, the only thing you need to do is add your Groovy scripts with a special schema within your application context. The example I am going to show you is uploaded to my Github account. You can find it right here.

And what are we going to do?. We are create a simple sample, based in the official Spring documentation you may find here or here too. We are going to write our Spring MVC controller, but thanks to Groovy we are going to be able to redefine our controller redirection with no need to compile our code again.

The example is pretty simple, imaging you have a controller related to a specified url (say home.htm). What we want is changing the page the controller eventually render. So we need to write our code using Groovy.

Read the rest of this entry »

 
2 comentarios

Publicado por en 3 julio, 2012 en groovy, Spring

 

Etiquetas: , ,

Primera aplicación Grails en Cloud Foundry


cloud-foundry-logoEn el anterior post, Despliegue de aplicaciones Grails en Cloud Foundry, veíamos como comenzar con Cloud Foundry y Grails. En ese post os comenté que iba a hablar algo más sobre una de las aplicaciones que había subido. En concreto la aplicación se llama cityFinder y sirve para encontrar información como el tiempo que va a hacer, fotos de la ciudad o eventos que se van a desarrollar en ella.

Continuar leyendo en mi otro blog java4developers.com

 

Read the rest of this entry »

 
Deja un comentario

Publicado por en 14 diciembre, 2011 en Cloud Computing, grails

 

Etiquetas: , , , , , , ,

Greach, the Groovy spanish conf


greach logoHoy he asistido a Greach en el campus de la Universidad San Pablo CEU en Boadilla.  La conferencia me ha dejado muy buen sabor de boca en todas las presentaciones a las que he asistido. Lo recalco porque es algo que no me pasó en la Spring IO de Febrero, donde algunas charlas me parecieron bastante pilladas por los pelos y no muy preparadas.

 

Sigue leyendo en java4developers.com

 
1 comentario

Publicado por en 4 noviembre, 2011 en Charlas, Greach

 

Etiquetas: , , ,

Getting started with Grails and Groovy


Grails LogoGrails is a project from SpringSource and VMware led by Graeme RocherGrails, is defined in its website as:

an advanced and innovative open source web application platform that delivers new levels of developer productivity by applying principles like Convention over ConfigurationGrails helps development teams embrace agile methodologies, deliver quality applications in reduced amounts of time, and focus on what really matters: creating high quality, easy to use applications that delight users. Grails naturally complements Java application development since it is built on Spring and based on Groovy, the leading dynamic language for the Java platform.

Read the rest of this entry »

 
1 comentario

Publicado por en 1 noviembre, 2011 en grails, groovy, web

 

Etiquetas: , , ,