This is a combination of a two-part article on Spring Roo and Testing I originally posted on rimple.com, where I write about Spring Roo topics periodically around my book, Spring Roo in Action., co-authored with InfoQ's Srini Penchikala..
You may find more information about writing Roo add-ons from my recent ETE / Richmond JUG presentation, Leaping Forward with Roo add-ons.
How to test Roo add-ons
I'm working on updates to several Roo add-ons, which I am going to be pushing out to the Silly Weasel Roo repository soon. Here are some challenges and how I overcame them.
Our examples work against the Silly Weasel Coffeescript add-on, which is an extension of the one I started in the book. Over time, we'll be ramping up the features of that add-on to support the major features of the Maven Plug-In itself.
Do you have Enterprise solutions to develop or architect?
Chariot Solutions, a Spring Training Partner and Philadelphia leader in Spring Training, Mentoring and Consulting can help you take your Spring skills to the next level - Enterprise Integration!
There are many Spring developers who have learned by experimenting, reading documentation and maybe code dives into an existing application or two. But with the knowledge you gain from Official SpringSource training at Chariot from our certified SpringSource instructors, you can be more equipped to chose the right tools for your complex integration solutions.
The Enterprise Integration with Spring (EIwS) course is not only extremely valuable to any Spring developer it should be REQUIRED for anyone architecting Spring applications.
What is cool in the EIwS course?
Synchronous & Asynchronous Processing
Messaging with Enterprise Integration Patterns
Messaging with JMS
Exposing Services with RMI, HTTP
Web Services with SOAP, REST and WS Security - and why REST is cool!
Spring Local and Distributed Transaction Management - JTA/XA - Open Source distributed transactions without a JEE Server
Service Integration with SMTP (email), File, JMS, FTP, JDBC, TCP/UDP, XMPP, etc.
Polling and Triggering
Tasks and Scheduling of Processes
Message Filtering, Routing, Transformation, Splitting, Aggregating, Bridging and Chaining
Creating Batch processes for inline or offline execution
Monitoring Batch process exceptions
Unit and Mock testing of application layers
Modifying Integration processes without recompiling... AWESOME Right?
One of the key take-aways from this course is knowing which tools are available to choose from and why.
What does Gordon teach?
When I teach the Core or EIwS classes, I go through the common Spring project application layers, and their respective roles and responsibilities. We discuss the tools you have within Spring and which to use to solve integration concerns. In EIwS, the course builds from common concurrency, tasks & scheduling, Messaging with JMS to the flexible power of Spring Integration and Spring Batch tool sets. I teach layering your applications focussing on the power and flexibility of Service POJOs exposing your processes in a Service Oriented Architecture (SOA) manner and keeping your POJOs - Pure business objects, un-compromised by framework or infrastructure java objects.
I am teaching EIwS February 22-25, 2010 in Philadelphia! If you come you will receive:
A shiny new course book
An Official Spring USB thumb drive with SpringSource Tool Suite, Course Documentation PDF, all the labs & solutions
The secret meaning of the acronym "SOA"
Bad humor from your instructor (if I teach you can count on it)
Demo's that Gordon creates (if taking my class)
Lunch, Coffee, Tea & soft drinks
Q&A
Q: What if I have not taken the Core Spring course? A: It is highly recommended that you attend the Core Spring Course first. Click here to see the Course Schedule
Q: What if I am not using Spring 3 yet? A: No problem, although the course focuses on 3.0 features, you will still get usable information for your applications.
Q: What will I learn? A: Scroll up.
Q: What if I already have used some of the topics covered? A: Relax during those chapters or, even better, provide your "in the trenches" experience with the class.
Q: How can I get management to pay for the class? A: This course is Essential to my skills, to provide you with better tools to choose the right approach to solving our complex integration needs. Check Here for possible Early Bird Discounts.
Gordon Dickens, one of our trainers and architects, recently posted this on his Technophile Blog, on 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 in src/main/resources