Categories
Search
My Tweets
- @misterlosso I have accepted a position already. 2 weeks ago
- Spring in Action 4th Ed, Spring in Practice & Spring Integration in Action 50% today use code dotd0508cc http://t.co/kjcQ15rDM4 2 weeks ago
- @bytor99999 No, the site is redirected, pom file gend as artifactory page, causing mvn builds to fail. 2 weeks ago
- Spring Dep Mgmt Repo - use http://t.co/xFJVnMHTpO | milestone | snapshot. If using http://t.co/Ns8nUF8cqV, you'll get repo... 2 weeks ago
- Accepted Integration Architect position with Cigna. Can't wait to get started. 2 weeks ago
Category Archives: Java
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 apache derby, autowired, dependency injection, derby, di, Environment, h2, h2 database, h2database, Hibernate, hsql, JPA, junit, mysql, oracle, ORM, postgres, postgresql, profile, Profiles, Spring, spring 3.2, Spring Data, Spring Data JPA, spring framework, Testing, unit testing
1 Comment
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 best practices, Logback, logging, maven, plugins, slf4j, Spring
10 Comments
Gemini Blueprint – Converting from Spring OSGi
Eclipse Virgo OSGi Enthusiasts, like myself, can now switch from the Spring OSGi namespace to the Eclipse Gemini Blueprint namespaces for bundles. Maven Dependencies <!– Gemini Blueprint OSGi –> <properties> <gemini.blueprint.version>1.0.0.RELEASE</gemini.blueprint.version> </properties> … <dependency> <groupId>org.eclipse.gemini</groupId> <artifactId>org.eclipse.gemini.blueprint.extender</artifactId> <version>${gemini.blueprint.version}</version> <exclusions> <exclusion> <groupId>org.springframework</groupId> … Continue reading
SpringSource Tool Suite FAQ
Eclipse is one of the most popular IDEs for Java & Spring application development. Spring has developed the Spring IDE plugin providing developers with Spring aware tooling for our projects. SpringSource Tool Suite = { Eclipse + SpringIDE + M2Eclipse … Continue reading
Posted in Grails, Java, OSGi, Roo, Spring, Spring Batch, Spring Framework, Spring Integration, Spring Roo
Tagged AOP, AspectJ, Aspects, Development, Eclipse, EIP, grails, groovy, Integration, osgi, Project, roo, Spring, Spring Roo, SpringSource Tool Suite, STS, Templates, Tools, validation, Visualization, Wizards
Leave a 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 AspectJ, java 7, java7, jdk7, maven-aspectj-plugin, Spring, Spring Roo
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 Cloud Foundry, CloudFoundry, JPA, maven, roo, Spring, Spring Data, Spring Data JPA, Spring Roo
Leave a comment
tcServer Logging with Logback & SLF4J
Logback and SLF4J provide better logging for java applications. To configure VMware vFabric tcServer to take advantage of the speed and flexibility of Logback use the following steps as a starting point. Download the tcServer Developer Edition free: http://www.springsource.com/developer/tcserver This … Continue reading
Posted in Jakarta Commons Logging, Java, Java Util Logging, LogBack, Logging, SLF4J, Spring, Spring Insight, tcServer, Tomcat
Tagged configuration, Logback, logging, slf4j, Spring, Spring Insight, tcServer
Leave a 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 Eclipse, Features, grails, groovy, m2eclipse, RefCard, Spring, STS, Tools
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 Annotations, Java, JSR-168, JSR-220, JSR-222, JSR-224, JSR-250, JSR-299, jsr-303, JSR-314, JSR-317, JSR-318, JSR-330, Spring, spring framework
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 Annotations, Caching, configuration, Environment, grails, groovy, MVC, Namespaces, Profiles, REST, RESTful, Spring, SpringSource, Testing, Web Services, XML
4 Comments