Author Archives: Gordon

About Gordon

Technology enthusiast primarily focused on Java and Open Source projects. Spring Certified Professional and Trainer. http://twitter.com/gdickens http://linkedin.com/in/gordondickens http://github.com/gordonad

Sawing through the Java Loggers

Sawing through the Java Loggers I know what your thinking, “It’s just logging!”. This small, yet common part of our applications, provides developers, QA and troubleshooters with information to help in determining code execution sequences, inspecting data values and trouble … Continue reading

Posted in Jakarta Commons Logging, Java Util Logging, LogBack, Logging, SLF4J | Tagged , , , , , | 4 Comments

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

Enterprise Spring Best Practices – Part 4 – Annotation Config

Enterprise Spring Best Practices Series In part 4, Spring Annotation Configuration. In this edition of Enterprise Spring Best Practices, let’s look at annotations. Several of the annotations became available in Spring 2.5. Spring 3.0 added convenient annotation discovery mechanisms which … Continue reading

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

Maven 3 Code Analysis and Reporting

If you have read any of my other blogs, you will know that I am a fan (and defender) of Maven 3. One of the biggest changes in Maven 3 was the reporting capabilities with the Maven Site Plugin. I … Continue reading

Posted in Maven | Tagged , , , , , , , , , | Leave a comment

Enterprise Spring Framework Best Practices – Part 3 – XML Config

Enterprise Spring Best Practices Series In part 3, Spring XML Configuration. The best thing about Spring is that there are several way to solve a problem, the worst thing about Spring is that there are several ways to solve a … Continue reading

Posted in Java Util Logging, SLF4J, Spring | Tagged , , , , , , , | 5 Comments

Mac OSX Mountain Lion – Git SVN Error

I ran into this issue just after upgrading to Mac OSX Mountain Lion 10.8 Can’t locate SVN/Core.pm in @INC (@INC contains: /Applications/Xcode.app/Contents/Developer/usr/share/git-core/perl /usr/../Library/Perl/5.12/darwin-thread-multi-2level /usr/share/git-core/perl /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.4 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at /usr/libexec/git-core/git-svn line 61. I found … Continue reading

Posted in 10.8, Apple, HomeBrew, Mountain Lion, OSX | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Enterprise Spring Best Practices – Part 2 – Application Architecture

Our application components break down into two fundamental categories, the System and Problem Domains. System Domain – infrastructure components, the plumbing, this is Spring’s sweet spot! Problem Domain – business components, typically use-case driven, this is what most of developers … Continue reading

Posted in Spring, Spring Framework | Tagged , , , , | 3 Comments

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

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

Posted in Blueprint, Eclipse, Gemini, Java, OSGi, Spring, Virgo | Tagged , , , , , , | Leave a comment

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 , , , , , , , , , , , , , , , , , , , , | Leave a comment