Wednesday, April 8, 2009

Spring by Example Update (1.02)

Spring by Example Utils' HttpClientTemplate, HttpClientOxmTemplate, and SolrOxmClient are used for making different Apache Solr client requests. Solr provides an XML based API over HTTP to the Apache Lucene search engine. Spring OXM is used for marshalling and unmarshalling requests using a custom marshaller made with dom4j.


The SolrOxmClient was added to the Spring by Example Utils module. The SolrOxmClient provides for easier client communication with Apache Solr. It marshalls/unmarshalls searches and updates to and from a JavaBean. It also allows calls to commit, rollback, and optimize. It is built on top of HttpClientTemplate and HttpClientOxmTemplate.


Tuesday, March 10, 2009

Spring by Example Update (1.01)

A preface, introduction to Inversion of Control (IoC) and Dependency Injection (DI), and basic XML configuration in Spring were added to the beginning of examples.

Enhancements to Valang based on Spring Modules Validation Version 0.9 was added to the module library. When changes are complete, the code will be offered back to the Spring Modules project. There are a number of enhancements to the Valang part of the project. A few key enhancements are where clause support, enum support, and a number of performance enhancements (such as bytecode generation). Currently none of the enhancements were added to the custom JSP tag that generates JavaScript.

Also the 'Simple Spring MVC Form Annotation Configuration Webapp' was updated to follow the best practices for Spring MVC annotation based configuration presented by Rossen Stoyanchev at SpringOne. Rossen along with Keith Donald and the rest of the web team helped put together what they consider best practices for using Spring MVC annotations based on their experience and interaction with many use case scenarios from Spring users. Thanks to Rossen Stoyanchev for helping with this. The example was also updated to use JPA.

Sunday, February 1, 2009

Sunday, January 11, 2009

Spring by Example Update (0.98-0.99)

The Spring by Example 0.98 update added a Spring dm Server example for a very simple Spring MVC application, and the 0.99 update added a JMS example sending messages with a JMS template and receiving them with a JMS listener.

Sunday, December 14, 2008

Spring by Example Update (0.95-0.97)

In these updates, three new examples were added (links below), there were some miscellaneous typos fixed, and also the Simple Spring Web Services using JAXB for Marshalling was updated to use non-deprecated dynamic WSDL generation classes and to use the JAXB Fluent API (which is less verbose than the standard one).

Thursday, November 20, 2008

Spring by Example Update (0.94)

There isn't any change in the content, but the URLs generated aren't numbered anymore. Before if an article was inserted, it would bump all the other numbers up. Now the example articles will be easy to bookmark through a symlink from version to version as they're updated. So instead of '/static/0.93/html/ar21.html' for Dynamic Tiles 2 Spring MVC Module the url is now '/static/0.94/html/dynamic-tiles-spring-mvc-module.html' or through the symlink to the latest version it's '/static/examples/html/dynamic-tiles-spring-mvc-module.html'.

Tuesday, November 18, 2008

Spring by Example Update (0.93)

The site's static examples have just been updated to version 0.93. It's mainly some minor updates correcting errors again. A note was added about classloading issues when using the custom ServletContext scope. Also, Barry M. pointed out that the Dynamic Tiles 2 Spring MVC Module had a typo for the tilesBodyAttributeName default value. It said 'body' instead of 'content'. Thank you Barry!