j2js

 

PresentationImprobableButCool

Page history last edited by Anonymous 4 yrs ago

Improbable But Cool

 

Full DOM Interfaces

 

* It would be cool to have Java interfaces for DOM objects, which would make it a lot easier for new developers to pick it up.

 

* Dom interface/implementation subtypes per browser would also make it easier to verify that things will work cross-platform.

 

* Of course, someone actually needs to spend the time to figure all of that out . . .

 

Runtime Compatibility

 

* It would be cool if the Java code was runnable and had the same behavior as the javascript code, such that unit tests could be in Java.

 

* Perhaps the best thing that could come out of that would be different DOM/library implementations per browser, such that you could simulate running your javascript code under different browsers without actually having to do so.

 

* That might not really be possible, though, especially for anything that uses javascript features that aren't in Java (like eval)

 

Next: PresentationWhyIsThisUseful

Comments (0)

You don't have permission to comment on this page.