Re-Using HSQLDB with EOModeler in a DTJC app
Re-Using HSQLDB with EOModeler in a DTJC app
- Subject: Re-Using HSQLDB with EOModeler in a DTJC app
- From: Baiss Eric Magnusson <email@hidden>
- Date: Mon, 28 Jun 2004 15:49:55 -0700
I don't read from the documentation that I can, say change the way
EO's are fetched from a database from using the WebServer to using
<hsqldb's> proprietary communcations protocol.
HSQLDB Web Server
This mode is used when access to the computer hosting the database
server is restricted to the HTTP protocol. The only reason for using
the Web Server mode is restrictions imposed by firewalls on the client
or server machines and it should not be used where there are no such
restrictions. The HSQLDB Web Server is a special web server that allows
JDBC clients to connect via HTTP. As the HTTP protocol is stateless,
connections to a web server do not have a persistent session. This
limits the range of actions that can be performed on the database. Each
time you issue a JDBC command, it is treated as a new connection to the
database. As a result transactions cannot be rolled back.
HSQLDB Server
This is the preferred way of running a database server and the fastest
one. A proprietary communications protocol is used for this mode. A
command similar to those used for running tools and described above is
used for running the server.
Like I don't think I could usre the HSQLDB Server mode described in
their documentation.
Arturo responds:
On Jun 24, 2004, at 7:26 PM, Baiss Eric Magnusson wrote:
And here comes my real question, is it not true that the EO package
talks to the DB only through HTTP, and thus necessitates the DB to be
in WebServer mode?
I thought, according to the documentation, that the default is to talk
through HTTP. But, all one needs to do is write one's own
com.webobjects.eodistribution.client.EODistributionChannel. Apple
kindly provides com.webobjects.eodistribution.client.EOHTTPChannel.
But, in your above question, don't you mean that the client only talks
to the WebObjects application through HTTP? For DTJC, the WebObjects
application plays the role of the database.
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.