Categories
Search
My Tweets
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
Author Archives: Gordon
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 configuration, Log4J, Logback, logging, performance, Spring
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 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 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 annotation-config, Annotations, component, component scan, dependency injection, Spring
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
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 best practices, java util logging, slf4j, Spring, spring framework, System.err, System.out, xml configuration
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 10.8, ac_nonexistent.h, brew install, error, git, git svn, graphwiz, HomeBrew, mariadb, mountain lion, mysql, os x, osx, osx10.8.xctoolchain, svn, SVN/Core.pm, xctoolchain
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 application, apring, architecture, best practices, enterprise
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 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