Category Archives: LogBack

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

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

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

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

Sending Beans as XML with JmsTemplate

Introduction We often want to send XML via web services. We may already have the schema or annotated JAXB2 classes configured in our application. What if we want to send the same format via JMS? By default Spring JMS is … Continue reading

Posted in ActiveMQ, Jakarta Commons Logging, Java Util Logging, JMS, JUnit, Log4J, LogBack, Logging, Maven, SLF4J, Spring, Spring Framework, Testing | Tagged , , , , , , , , , , , , , , , | 11 Comments

Updated Docs for Spring Roo

Want updated Roo Documentation? Want information on creating and publishing Roo Add-Ons? 1. Get the dev build of Spring Roo from: http://git.springsource.org/roo I am assuming here that you have created a /roo-dev directory. To build Roo, you should read the … Continue reading

Posted in felix, Git, LogBack, OSGi, Roo, Spring, Spring Framework, Spring Roo | Tagged , , , , , , , | Leave a comment

LogBack Logger Addon for Roo

Want faster, flexible & more robust logging? Have you looked at LogBack by the creator of Log4J yet??? Introducing the LogBack Addon for Roo Features Adds the command to the Roo shell – logback setup Creates a New File: src/main/resources/logback.xml … Continue reading

Posted in Jakarta Commons Logging, Java, Java Util Logging, Log4J, LogBack, Maven, Roo, SLF4J, Spring, Spring Roo | Tagged , , , , , , , , | Leave a comment

Configuring LogBack Logging in Spring & Spring Roo

LogBack is the more versatile logging strategy created by the same person that created log4j. Use the following steps to configure your Roo 1.1 project to use LogBack. See Also: Reasons to Switch to LogBack 1. Create a logback.xml file … Continue reading

Posted in LogBack, Logging, Maven, Roo, SLF4J, Spring Roo | Tagged , , , , , , , | 1 Comment

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