|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Mapping: Schema - Java
Title: RE: Mapping: Schema - Java > -----Original Message-----
The SOAP/1.0 protocol was designed with exactly this in mind. Check out Section 8 of the SOAP spec (http://search.ietf.org/internet-drafts/draft-box-http-soap-01.txt). There is a Java/SOAP serializer at http://www.develop.com/soap. Once I finish my book manuscript on Friday of next week (yippee), I plan on (a) fixing the pending bugs and (b) adding support for schema<->class compilation. I'm aware of DTD tools (Oracle, alphaWorks), but don't know
Right. The SOAP approach is similar in spirit to the SML approach - that is, if your goal is to use XML as a serialziation format for your application's types, Section 8 defines a uniform method for translating standard programming language constructs (e.g., struct, class, array) into XML and XML Schema. This method is largely a formalization of element-normal-form encoding (which is a/the core concept in SML). That stated, we (the authors of the SOAP spec) left an escape hatch in the encoding style to allow arbitrary XML-based serialization styles to be used. Additionally, we (DevelopMentor - the company I work at) designed our [de]serialization engine to support pluggable translators based on alternative encoding styles. There are a variety of Java-based "data-binding" proposals out there that you ought to look at as well. Koins and XMOP come to mind, but I am sure there are others. DB
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








