Re: XML File-Based Database
Re: XML File-Based Database
- Subject: Re: XML File-Based Database
- From: Art Isbell <email@hidden>
- Date: Thu, 20 May 2004 15:08:13 -1000
On May 20, 2004, at 1:01 PM, Lotsa Cabo wrote:
An associate of mine needs to build a web-based application for a
client with a unique requirement for the database. The data layer must
be able to use either a Microsoft SQL Database, UNIX-hosted database (I
am thinking OpenBase on OS X), or a strict FILE-BASED DATABASE
(meaning, no engine; just files on the hard drive). How difficult
would this be to build using WebObjects?
No problem for MS SQL Server and OpenBase since both databases have
JDBC drivers and WO includes WO JDBC plug-ins for both databases. He'd
need to create a separate eomodel for each database which maps Java
classes to database data types. If he didn't use any database-specific
SQL in his Java code, just including the correct eomodel in his
application would be sufficient to access either database.
WO included a flat file adaptor back in Objective-C days, so using
flat files for data is possible. The EOAdaptor Javadoc includes basic
instructions for how to write a custom EOAdaptor, so he'd need to write
a custom flat file adaptor. Shouldn't be a big deal although the
significant limitations of a flat file database would need to be
recognized.
Aloha,
Art
_______________________________________________
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.