~rvalyi/openobject-server/trunk-java-jython

Viewing all changes in revision 1645.

  • Committer: Raphaël Valyi
  • Date: 2009-01-28 02:27:26 UTC
  • Revision ID: rvalyi@gmail.com-20090128022726-h1pgjjnud4rpgvf3
round 2: true Java DataSource pooling this time. Now we properly borrow and give back connections to the pool.
as a result, we are able to answer basic XML/RPC calls properly and a simple_profile database!!
yes, you heard that running sock.execute("jython", 1, "admin", 'res.partner', 'read', [1,2,3])
in a console will just get back the correct result from a Jython backed server!

By the way, it looks like reportlab might actually be loaded, but there is an issue with its padfbase/_fontdata which seems to be too large
to get parsed properly. That's a Jython issue, I'll report them (if I trim that file, it loads reportlab properly).

Some module like CRM won't load either yet cause there is no proper pychart wrapper yet.

An other issue is that the web_service#list method supposed to list the database isn't yet running properly.
Indeed, the database name are returned as bytearrays, but for some strange reason, in Jython str(the stuff) won't make it a string,
might be a Jython issue or some encoding issue. That's the main thing preventing to connect from the GTK client I think.

as for mx.Datatime, conversation with Jythonistas, Fabien Pinckaers and a glance at Tryton let me very optimistic about getting
rid of that dependence.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: