
The JMX notification API adds a good management aspect to an application. Bypassing the philosophical question of what is management and how does it differ from the rest of my application code here. Once we’ve decided to add management to our application there is a set of concerns that comes with that decision. Minimal impact on application performance/runtime being, minimal impact on “business” code. A natural direction to go with here is AOP since it introduces minimal changes to the code. I want to show how you can combine Spring AOP with JMX notifications to perform lightweight remote monitoring a business object in your application.
Using Spring with JMX notification listener API
Tagged: J2EE, JMX, Notificaitons, spring
- Published:
- January 16, 2010 – 1:29 PM
- Author:
- By erez
- Categories:
-
- Comments:

In a previous post I showed how to combine spring-ws and XStream to produce customizable XML format from a Java object using converters. When performing marshaling/unmarshaling with a large number of domain objects the task of defining aliases, defining attributes vs. elements can be cumbersome and difficult to manage. When performing marshaling/unmarshaling with a large number of domain objects the task of defining aliases, defining attributes vs. elements can be cumbersome and difficult to manage. This post shows how to use reflection to simplify XML to Java mappings with XStream
Tagged: oxm, spring, spring-ws, xstream
- Published:
- December 30, 2009 – 7:22 AM
- Author:
- By erez
- Categories:
-
- Comments:

I am playing around with XStream and spring-ws using java 1.5 generics.
Once again Spring has done a good job of simplifying athe integration of a framework’s API into the real-world enterprise workspace. I am in need of an extensible XML binding api. I have looked into Castor, XMLBeans by apache, JibX by sourceforge and of course JaxB, all worthy candidates, each with different advantages and disadvantages. I chose XStream for it’s simplicity and extensibility and because it was most suitable for the task I was performing at the time. XStream, Spring-WS OXM and Generics, Marshaling with XStream and Spring using Java 1.5 generic types
Tagged: generics, oxm, spring, spring-ws, xstream
- Published:
- December 26, 2009 – 2:54 AM
- Author:
- By erez
- Categories:
-
- Comments: