Archive for September, 2010

How to Serialize Java.util.Date with Jackson JSON Processor / Spring 3.0

How to Serialize Java.util.Date with Jackson JSON Processor / Spring 3.0

September 17, 2010 | By | 12 Comments

Quick tip: how to serialize a java.util.Date object with Jackson JSON Processor – Sprinv MVC 3. Scenario: I have the following Java Bean: And I have the following method in my controller: Which returns a list of Company. The @ResponseBody annotation instructs Spring MVC to serialize the hashmap to the client. Spring MVC automatically serializes [...]

Continue Reading

ExtJS, Spring MVC 3 and Hibernate 3.5: CRUD DataGrid Example

ExtJS, Spring MVC 3 and Hibernate 3.5: CRUD DataGrid Example

September 2, 2010 | By | 54 Comments

This tutorial will walk through how to implement a CRUD (Create, Read, Update, Delete) DataGrid using ExtJS, Spring MVC 3 and Hibernate 3.5. What do we usually want to do with data? Create (Insert) Read / Retrieve (Select) Update (Update) Delete / Destroy (Delete) Until ExtJS 3.0 we only could READ data using a dataGrid. [...]

Continue Reading