W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2009

Java bindings generated from Web IDL

From: Shiki Okasaka <shiki@google.com>
Date: Wed, 9 Dec 2009 15:16:41 +0900
Message-ID: <2fdcc83a0912082216j3cde73b5s7712fdee86c73d79@mail.gmail.com>
To: public-script-coord@w3.org
FYI, I've updated esidl Web IDL compiler to support Java in addition to C++.

The Java files generated from Web IDL files are available at,


The Web IDL files used for this are based on the following files and drafts:

* Cameron's Web IDL-ized DOM Core, Events, etc.
* CSSOM View
* File API
* XMLHttpRequest Level 2

To make generated Java files mostly compatible with existing Java DOM
bindings, I've manually added module names like 'html' to the IDL
files for now. It's likely to be unnecessary in the future, though

To use esidl, please install bison, yacc, and ant, then follow the steps below:

$ mkdir esidl
$ svn checkout http://es-operating-system.googlecode.com/svn/trunk/esidl src
$ mkdir obj
$ cd obj
$ ../src/configure
$ make
$ cd java
$ ant

This leaves .java and .class files under esidl/obj/java/org/w3c/.

Hopefully this will also help spec editors to check their Web IDL
definitions and keep them usable from Java. I'd appreciate any

[0] http://lists.w3.org/Archives/Public/public-webapps/2009JulSep/0081.html


 - Shiki
Received on Wednesday, 9 December 2009 06:17:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:02 UTC