Skip to main content

PluginX and the Common DOM API - what is the future?

2 replies [Last post]
dtbullock
Offline
Joined: 2004-03-04
Points: 0

Last time I checked out the Common DOM API as per http://java.sun.com/j2se/1.4.2/docs/guide/plugin/ it basically didn't work, and where it did work, it was horribly slow. But the possibility of manipulating a Level 2 or higher DOM from a faceless applet is just too exciting to give up on.

Does the rearchitected Plugin2 offer any hope for the Common DOM API?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kbr
Offline
Joined: 2003-06-16
Points: 0

I think so. At the bottommost level, the Java/JavaScript bridge in the new plug-in is rock solid and provides completely portable behavior between browsers. This is what the Common DOM implementation in the JDK builds on top of.

However, I have a feeling that the Common DOM implementation itself needs a lot of work. There is at least one bug filed against the new plug-in about the Common DOM APIs not working fully in the new plug-in, but I doubt that this is a bug in the plug-in per se. We are planning to look more closely at the Common DOM implementation a little later in the 6u10 release.

dtbullock
Offline
Joined: 2004-03-04
Points: 0

Well that's welcome news! It seems a shame that DOM access can only be achieved via the scripting engine, but if that's the only mechanism offered by the browsers, then I guess we'll have to live with it.

I will track the JDK 6 updates and provide some feedback on my Common DOM experiences.