Hi, Adriaan:
I have read your paper "RESTful SOA using XML" from http://www.ibm.com/developerworks/xml/library/x-restfulsoa/
I want to do a experiment about the content in order to understand more, but the code given in this paper only include servlet, no jsp and xml.
So, could you please send me the whole code project? I really want to take. Thanks in advance!
Best regards,
Melody
Hi Melody,
Thank you for your response and my apologies for the late reply.
The code example is just a very minimalistic basic sketch of what a solution would look like when you are following the solution patterns described in the article. If you're saying this is not a realistic example, I fully agree with you. If I'm not mistaken, that is already acknowledged in the text itself.
However, if you are asking for JSPs or XMLs... that is a whole different point. In the solution the way it is set up in the article, there aren't any. Here, the Java objects are representatives of the XML elements and the XStream API is used to map them from and into XML on the fly when handling GET and POST requests.
This assumes most of your business logic is written in Java and you are connecting to services the way you develop them on a platform like Spring.
Recently I started thinking about working more with native XML platforms and use Java only for the underlying infrastructure; not the application itself. Solutions as described in the article may should become a lot simpler (almost trivial) using such software.
I am still working to write that down in a series of comprehensible blog posts. I hope you are already doing well with your experiments.
Kind regards,
Adriaan.
No comments:
Post a Comment