[ZODB-Dev] how to let java applet using mysql database work in zope/plone?

Tino Wildenhain tino at wildenhain.de
Sun Feb 26 10:06:46 EST 2006


LonLon schrieb:
> Thanks for your suggestion jens, but my java applet is working outside
> zope, it has no problem with mySQL database. Only when I integrate my
> applet into zope, it can not take mySQL data anymore. That's why I
> request suggestions here. I am still hoping somebody knows how to fix
> this problem. :-(

Nothing to do with ZODB (since you are using mySQL?) and even not
a Zope problem. Applets in a browser can only connect back to the
same host. If you start your applet locally, it is allowed
to connect to any host it wants. Read about it in your java
documentation. Solutions: put the database and your web
site on the same host (or use firewall/proxy tricks to let it
appear like this) - or better access your database thru zope -
via XMLRPC and friend - and this way get on topic :-)

--Tino


More information about the ZODB-Dev mailing list