Category Archives: Spring Data

Database Configuration with Spring 3.2 Environment Profiles

Database Configuration with Spring 3.2 Environment Profiles This is a followup to my previous blog Spring 3.1 Environment Profiles Let’s demonstrate how to configure an application to use different databases based on configuration. The code below is using Spring JavaConfig, … Continue reading

Posted in Annotations, Java, JUnit, Spring, Spring Data, Testing | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , | 1 Comment

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

Rocket to the Cloud Fast with Roo

Want to build a Spring 3 application FAST and run it on the Cloud? It is incredibly easy to do with Spring Roo and CloudFoundry! This post on using Postgres on CloudFoundry helped me get started, however I tried using … Continue reading

Posted in Cloud, CloudFoundry, Java, Roo, Spring, Spring Data, Spring Roo | Tagged , , , , , , , , | Leave a comment

Simpler JPA with Spring Data-JPA

How to configure your Spring application with Simple CRUD configuration with Spring Data-JPA. 1. Add Spring Data-JPA to project configuration. In your Maven pom.xml file <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-jpa</artifactId> <version>1.2.0.RELEASE</version> </dependency> 2. Configure JPA Entity … @Entity public class Product { … Continue reading

Posted in Hibernate, JPA, Spring, Spring Data, Spring Framework | Tagged , , , , , , | 12 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