Developing Webapps with Struts, Spring and Hibernate

O’Reilly’s OnJava.com site have a good article on developing webapps using a combination of Struts, Spring and Hibernate.

The section on using Spring is very interesting – using Spring gives you declaritive control over the dependencies between objects, and therefore also between application application layers. This can be used to further reduce coupling between code in each architectural layer, for example between Presentation and Business, and between Business and Persistence.

From what I understand about the use of Spring (or other ‘microcontainers’), it gives you a level of abstraction and allows you to reduce direct coupling between Classes by being able to define relationships and dependencies declaritively (rather than in actual code). I think this can be compared to what the struts-config.xml gives you for webapps, in that it reduces coupling between web pages and page navigation, and the logic that controls that navigation.

Sun discuss J2SDK 1.6 multitasking features within the VM

At the ClusterWorld conference this week, Sun Senior Architect Murali Kaundinya discussed new features for J2SDK 1.6 that will allow the VM to multitask processes within the VM.

This new feature is expected to allow control over isolated application tasks within the same VM and to allow them to be executed concurrently.

J2SDK 1.5 currently in beta is expected to be released in a production release ready for JavaOne this summer.

A beta release of Java 1.6 is expected to be released this fall.