RSS

Archivos Mensuales: julio 2012

Review de APIs A strategy guide


En el siguiente post vamos a hablar de un libro acerca de lo que es una API. Continuando con las reviews que deje un poco de lado y que podeis ver en los siguiente enlaces:

hoy voy a hacer una pequeña review sobre el libro API’s a Strategy Guide de la editorial O’Reilly.

APIs a Strategy Guide

Read the rest of this entry »

Anuncios
 
Deja un comentario

Publicado por en 29 julio, 2012 en Libros

 

Etiquetas: , , , ,

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: , ,

 
A %d blogueros les gusta esto: