Warning: Function registration failed - duplicate name - xslt_create in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_sax_handlers in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_scheme_handlers in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_error_handler in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_base in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_encoding in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_log in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_process in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_error in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_errno in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_free in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_set_object in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_setopt in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_getopt in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_backend_version in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_backend_name in /home/avernet/public_html/misc/controller.php on line 2

Warning: Function registration failed - duplicate name - xslt_backend_info in /home/avernet/public_html/misc/controller.php on line 2

Warning: xslt: Unable to register functions, unable to load in Unknown on line 0
Mozilla/Java Platforms

Mozilla/Java Platforms

Alessandro Vernet
December, 2001

Java and Mozilla: Two Platforms

Java is much more than a language. Mozilla is much more than a browser. Both are platforms, everyone knows that. But Mozilla and Java are not very often compared to each other as such: platforms. Mozilla would certainly have a lot to learn from Java and (most importantly IMHO) Java would have a lot to learn from Mozilla.

Benefits and Drawbacks

Some thoughts that came to my mind during Michael Ang talk on Mozilla at the SVLUG:

  • Java rules:
    • Avoid "crashing" Mozilla when a component does not implement the interface expected by a client.
    • Introduce granular security model in Mozilla (no, all-or-nothing is not granular enough).
    • Packaging in XPI: why require to restart Mozilla when a new component is installed? why can't packaged be uninstalled?
  • Mozilla rules:
    • Much harder to write UI in Java. No descriptive language like XUL for Swing.
    • See for instance how simple it is to write a component browser (kind of equivalent to a JNDI tree browser with interface explorer - something that would be nice to have, BTW).
    • No Web-based UI framework. For simple (typically administrative) tasks, the UI of the WebLogic console would be fine. Do they have a framework for that?