Convertendo String para Data Formatada com Spring Forms Taglib
Spring provides a PropertyEditor named CustomDateEditor which you can configure to convert an empty String to a null value. You typically have to register it in a @InitBinder method of your controller:...
View ArticleSpring Injection with @Resource – @Autowired – @Inject & Spring @Configuration
I’ve been asked several times to explain the difference between injecting Spring beans with ‘@Resource’, ‘@Autowired’, and ‘@Inject’. While I received a few opinions from colleagues and read a couple...
View ArticleVersão 2.0 do framework Grails é liberada
Depois de quase um ano em desenvolvimento, a versão 2.0 do framework Grails foi liberada. O Grails 2.0 melhora consideravelmente a experiência do usuário. Tudo, desde a linha de comando até relatórios...
View ArticleSpring Data JPA with QueryDSL Examples
Spring Data JPA removes much boilerplate from repository code and QueryDSL can be used to create clean and reusable query specifications. When combined, we can create powerful repositories with very...
View ArticleTop Spring Data-JPA Tutorial!
Getting started with Spring Data JPA As we have just released the first milestone of the Spring Data JPA project I’d like to give you a quick introduction into its features. As you probably know, the...
View ArticleAdicionando Queries – Spring Data-JPA
Modify the Repository Interface Simply define the method interface and use the @Query annotation to define the OQL. package com.gordondickens.myapp.repository; import...
View ArticleSpring data Jpa – Exemplos & Teoria
As we have just released the first milestone of the Spring Data JPA project I’d like to give you a quick introduction into its features. As you probably know, the Spring framework provides support to...
View ArticleSpring WebFlow – Passing Objects Between Parent Flow and Subflows
While I was implementing web application using Spring WebFlow, I came to the point where i wanted to pass object created in the subflow to its parent flow. I looked at the WebFlow documentation, and...
View ArticleSimplificando o Spring Apps com @Autowired
The Spring framework is a popular choice for Java developers due to its combination of power and simplicity. Spring is many things, but at its core, Spring is an IOC (Inversion of Control) container....
View ArticleNova versão do Spring Roo traz mais de 90 melhorias e correções
A SpringSource anunciou uma nova versão do Spring Roo, 1.1.4, com dezenas de melhorias e correções de bugs, entre elas atualização nas dependências e melhorias de desempenho. O Spring Roo é uma...
View ArticleSpring 3.1 e muito mais! Temas e Tendências
Jürgen Höller reviews the major elements of Spring 3.1 and takes a peak into upcoming features in Spring 3.2 such as multi-core concurrent programming support for Java SE 7 Veja esta palestra de...
View ArticleAtualize-se: Lançado Groovy 1.8
Depois de quatro betas e quatro release candidates, o Groovy e sua equipe de desenvolvimento anunciou a chegada do atual e estável ramo mais recente do Groovy, versão 1.8. Groovy é uma linguagem de...
View ArticleJSF 2 usando Spring 3 e JSR-330
Retirado do blog: http://comdynamics.net/blog/89/jsf2-with-spring3-and-jsr-330/ Introduction Recently I was involved in migrating an application from JSF 1.2 to JSF 2.0 with a stated goal of...
View ArticleLançada a versão Spring 3.1.0 M1 Released
The first milestone of Spring 3.1 is now available from our http://maven.springframework.org/milestone Maven repository or for direct download from our community download page. This release includes...
View ArticleHades is a utility library to work with Data Access Objects implemented with...
A year ago, a colleague of mine showed me a very interesting framework named Krank (latter renamed to Crank because the previous name means “sick” in German, which does not bode well to any...
View Article