[Home] [By Thread] [By Date] [Recent Entries]

  • From: KenNorth <KenNorth@e...>
  • To: Ronald Bourret <rpbourret@r...>, xml-dev@x...
  • Date: Thu, 19 Oct 2000 11:11:12 -0700

> Does anybody know where I can find an online copy of Sun's Java Data
> Binding spec? The Web page says all sorts of nice things
 
Ron,
 
That's probably the old web page. There have been recent improvements to the Java Community Process so you actually can use Java Spec Binding.
 
You have to download the 'about JSRxxx' web page and a spec binder program from Sun's web site
http://java.sun.com/aboutJava/communityprocess/jsr/jsr_xxx31_specbind.jar
where xxx is 031 for Java Data Binding.
 
The SpecBinder class opens a FileInputStream and parses the promotional text from the web page (http://java.sun.com/aboutJava/communityprocess/jsr/jsr_031_xmld.html). It emits the specification. If you provide an optional XML schema, it emits custom Java classes that conform to the spec and the XML document. I think there's also an option to emit the spec as XML with an XSL stylesheet.
 
A graduate student wrote the 'about JSRxxx' parser in one day. Microsoft hired him to work on parsing 'about .NETxxx' pages to emit C# code -- (.NET Spec Binding).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member