-
Notifications
You must be signed in to change notification settings - Fork 94
Examples
joercampbell edited this page Nov 22, 2012
·
4 revisions
A short compendium of examples of how to use the tools that jrugged provides.
- Initializer Examples - How to use the jrugged core libraries Initializer to manage service startup
- Decorator Example - How the jrugged core library utilizes the decorator pattern to wrap itself around method calls that you are making, allowing for things like circuit breakers and performance monitors to be easily added to your code.
- Spring Interceptor Example - How the jrugged-spring library can be used in conjunction with the jrugged-core library to easily wrap existing methods and services with jrugged functionality.
- Spring Namespace Example - Simplified JRugged Spring Configuration allows you to add a jrugged namespace to your spring configuration greatly simplifying JRugged's use in your spring projects.
- Spring Annotation driven Performance Monitors - How to utilize the annotations that are provided in the jrugged-aspects module.
- Running Example App - Explains how to get the jrugged code and execute an example application that runs.
- Percentage Failure Interpreter Example - Using a combination of jrugged abilities to create a circuit breaker that trips based on percentage of failed requests rather than a tolerance window of failures per unit time.
- Performance Monitor Filter - This class is a standard Servlet filter that can be configured in web.xml to wrap all request handling in a org.fishwife.jrugged.PerformanceMonitor class.
- CircuitBreaker Exception Mapper - An example of how to utilize the exception mapping capability contained within a org.fishwife.jrugged.CircuitBreaker.