Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re-Using HSQLDB with EOModeler in a DTJC app



Just joining with what Art said (he beat me to the answer, but I figured I may as well add my 2c too).

In a "normal" setup, the client (be it a web client, or Java client) talks to the WO application via HTTP (generally on port 80). This will probably be passing through firewalls or other things. The WO application then talks to the database using the JDBC standard to get what it needs, then sends this information back to the client (over HTTP).

Often the application and the database server will be running on the same machine. There should be no firewalls or other hurdles between these two things. The only challenge may be whether that HSQLDB Server comes with a JDBC adapter to allow WO to communicate with it.

r.

On 29/06/2004, at 10:49, Baiss Eric Magnusson wrote:

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.
_______________________________________________
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.


References: 
 >Re-Using HSQLDB with EOModeler in a DTJC app (From: Baiss Eric Magnusson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.