• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XML File-Based Database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • email showing name sender instate of email
      • From: "Sako!" <email@hidden>
References: 
 >XML File-Based Database (From: Lotsa Cabo <email@hidden>)

  • Prev by Date: Re: Why WebObjects?
  • Next by Date: Re: Multiple Databases
  • Previous by thread: XML File-Based Database
  • Next by thread: email showing name sender instate of email
  • Index(es):
    • Date
    • Thread