Tag Archives: Spring

Testing Camel routes with Spring OSGi properties

If you are writing Camel routes using Spring to deploy to ServiceMix, you can’t use regular Spring properties, since ServiceMix is an OSGi container. Instead, you have to use OSGi properties. But if you try to start up your Spring … Continue reading

Posted in Camel, Java, Spring | Tagged , | 2 Comments

Running Struts 1 actions from Spring

I’ve now successfully updated our app so that the Struts 1 actions can be run from Spring. The method was pretty much as I originally described, but there are a few gotchas, so I’ll detail it: Use the Spring ContextLoaderPlugin … Continue reading

Posted in Groovy, Spring | Tagged , | Leave a comment

Migrating from Struts to Spring MVC – using Groovy!

To migrate from Struts 1 to Spring MVC, the easiest route is: Add the Spring ContextLoaderPlugin to your struts-config file. This plugin will load your bean definitions file. Update struts-config so that rather than using the default Struts request processor … Continue reading

Posted in Groovy, Spring | Tagged , | Leave a comment

Spring MVC versus Struts

This question is often asked, but tends to be answered by people who have a strong allegiance to Spring and tend to give a massive list of advantages, which often boil down to a much smaller list of actual advantages. … Continue reading

Posted in Spring | Tagged | Leave a comment