Hey,
I guess if you use Enhydra you can have a Manager, witch is a singleton,
that's holding IDB and then accessing the jdbc code though synchronized
methods of the Manager.
Regrads,
Martin
Hi Steve,
This will not work, because you will still have different instances of
instantdb running against the same database files. This will inevitably
result in corrupted data, since much of instantdb's state is cached in
memory. This isn't a threading issue; instantdb works fine with
multiple threads, just not multiple VMs.
Thom
Steve Carton wrote:
>
> I'm wondering if I can achieve the same effect as the RmiJdbc server from
a
> servlet if I encapsulate the JDBC code in synchronized methods?
>
> Anyone try that?
>
> Steve Carton
>
> --------------------------------------------------------------------------
---
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
----------------------------------------------------------------------------
-
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|