Helma Logo
main list history
previous version  overview  next version

Version 1 by hannes on 09. November 2005, 12:05

Possible strategies for HopObject declarations in Helma 2:

* Standard JS constructor, checks prototype to create instance of HopObject java class (we'll need to patch Rhino to do that, but this is actually a bug in Rhino IMO).
* Standard JS constructor, creates vanilla JS object, HopObject is vanilla JS object. Relational mapping is determined at script compile time, O/R layer uses standard Rhino API to inject/get relational data.
* Homegrown constructor installed at script compile time, creates instances of special Java HopObject class.