Hi,

I see on the forum a lot of discussion using servicemix-bean or
servicemix-jsr181 as SE but nothing concerning the simplest way to map the
XML received through a normalized message to a POJO bean or back from a POJO
bean to normalized message ?

JSR181 uses JAXB2 or AEGIS to map XML to POJO or POJO to XML but JSR181
exposes the service as a web service. In this case, the work of the
developer is simplied. Comparatively, exposing a POJO to the bus, seems less
complicate because WSDL is not required. But How can we map XML to POJO or
POJO to XML (using XStream, Aegis, ...) Do servicemix provide helper or util
classes to perform this ?

Can someone provide a java example demonstrating how to achieve (XML to POJO
vs POJO to XML) this through servicemix-bean ?

Regards,

Charles
-- 
View this message in context: 
http://www.nabble.com/Simplest-solution-to-transform-XML-to-POJO---POJO-to-XML---tp15950722s12049p15950722.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to