Category Archives: Spring MVC

Enterprise Spring Best Practices – Part 1 – Project Config

Enterprise Spring Best Practices Series In part 1, let’s review project structure and configuration. Sections Project Directories Project Dependencies Smart Logging Running with Jetty and Tomcat Spring Configuration Files Complete Maven Config Valuable Maven Commands Further Reading Social Me Project … Continue reading

Posted in Eclipse, Jakarta Commons Logging, Java, Java Util Logging, Jetty, Log4J, LogBack, Logging, Maven, SLF4J, Spring, Spring Framework, Spring MVC, STS, Testing, Tomcat | Tagged , , , , , , | 10 Comments

Configuring Spring Roo for Java 7

When creating a Roo project with the “project” command, we have the option to specify the Java Version $ roo roo> project –topLevelPackage com.gordondickens.myproj –java 6 –projectName testapp If we choose Java 7 with Roo 1.2.1, the code will not … Continue reading

Posted in AOP, AspectJ, Java, Java 7, JDK7, Maven, Roo, Spring, Spring AOP, Spring Data, Spring MVC | Tagged , , , , , , | 1 Comment

Unit Testing Spring with Mockito & PowerMock

Unit Testing Spring with Mockito & PowerMock I’ve updated my Spring Mockito Demo app that I demonstrate when teaching with a PowerMock of a final class with a static method. Demo Features Maven 3.0 Maven Enforcer plugin restricting use of … Continue reading

Posted in LogBack, Logging, Maven, Mocking, Mockito, PowerMock, SLF4J, Spring Framework, Spring MVC, Testing | Tagged , , , , , , , , | Leave a comment

RESTful MVC Features in Spring 3.0 and 3.1

Below is a feature summary you must know to use Spring’s MVC RESTful Web Services. This article will show the features available, but not discuss pros & cons, use-cases or sell you on the benefits of REST. PUT & POST … Continue reading

Posted in REST, Spring, Spring MVC, Web Services | Tagged , , , | 1 Comment

SpringSource Tool Suite – Eclipse for Spring Developers

Spring developers using Eclipse should take a close look at SpringSource Tool Suite (STS). STS is a FREE IDE, based on Eclipse with many of the essential tool to assist Spring developers. http://www.springsource.com/developer/sts. The major plugin to Eclipse is Spring … Continue reading

Posted in AOP, AspectJ, Eclipse, Grails, Groovy, Java, Roo, Spring, Spring AOP, Spring Batch, Spring Framework, Spring Integration, Spring MVC, Spring Roo, Web Flow | Tagged , , , , , , , , | 3 Comments

Annotation Reference for Spring Projects

Annotations are available for Spring and Java projects. I was unsuccessful in finding a single consolidated set of the annotations. So, I thought “What a great gap to fill.” However, what I thought would be a fairly simple endeavor, turned … Continue reading

Posted in Annotations, AOP, Hibernate, Java, JMX, JPA, JUnit, REST, SOAP, Spring, Spring AOP, Spring Batch, Spring Framework, Spring Integration, Spring MVC, Spring Roo, Spring Security, Web Flow, Web Services | Tagged , , , , , , , , , , , , , , | 9 Comments

Spring 3.1 – What’s Up and Coming

Spring 3.1.0 M1 is expected to be released on Feb 11, 2011. There are many exciting new features expected for the final release which is scheduled for June 2011. Environment Profiles Many times we want separate configuration for different environments … Continue reading

Posted in Grails, Groovy, Java, REST, Spring, Spring Framework, Spring MVC, Testing, Web Services | Tagged , , , , , , , , , , , , , , , | 4 Comments

Why Attend Enterprise Integration with Spring 3 Course?

Are you a Spring Developer? There are a lot of Spring developers out there, many have learned by experimenting, reading documentation and maybe code dives into an existing application or two. So, now you can put Spring Developer on your … Continue reading

Posted in ActiveMQ, Annotations, AOP, Chariot Solutions, Eclipse, Java, JMS, JUnit, LogBack, Logging, Maven, REST, Roo, SLF4J, SOAP, SpEL, Spring, Spring AOP, Spring Batch, Spring Data, Spring Framework, Spring Insight, Spring Integration, Spring MVC, Spring Roo, Spring Security, STS, tcServer, Testing, Tomcat, Training, Web Services | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , | 3 Comments

Spring 3 MVC Showcase Demo

If you are a Spring Developer and want to see simple demos of Spring 3 MVC features, take a few minutes to look at the Spring 3 MVC showcase demo video: http://ow.ly/2lbrX Features: Mapping Requests Return Types Parameters Validation Response … Continue reading

Posted in Spring, Spring Framework, Spring MVC | Tagged | Leave a comment