Archive for the 'spring' Category
Presentation: Introduction to Spring MVC
0 Comments Published by peter September 10th, 2007 in java, spring, spring mvc, workshop.I was asked to do a series of presentations and workshops regarding Spring MVC at the HvA. Last Friday I started off with a presentation and some live coding examples.
Although the students didn’t have much experience with Spring or Java web development I think I did manage to give them some ideas about what Spring […]
Unittesting e-mail sending using Spring
2 Comments Published by peter August 29th, 2007 in e-mail, java, junit, smtp, spring, wiser.In previous projects I mostly skipped writing tests for sending mail. Mostly due to the fact that there is a dependency on a working SMTP server. This time I decided to invest some time in finding a solution for this problem.
It didn't have to look very far to find Wiser. Wiser is a very simple [...]
Referencing spring beans from a Grails tag
0 Comments Published by peter August 16th, 2007 in grails, spring, textile.Today I had a short look at referencing Spring beans from Grails. Since Grails is build on top of Spring this was actually 100% simpler then expected. Grails controllers and taglibs are autowired by name on startup.
Just for the fun I create a simple tag which depends on a Spring bean for converting textile markup [...]



















