Re: Connecting to Database
Re: Connecting to Database
- Subject: Re: Connecting to Database
- From: François Frisch <email@hidden>
- Date: Mon, 13 Aug 2001 11:32:54 -0700
It depend what you are trying to do.
You can use WebObjects to connect a Cocoa App with a database.
This works like Cocoa App <-> WebObjects Server <-> Database Server
You only have to pay the wo license once per WO server or there abouts
(can't remember).
If I'm wrong, well, my excuse is WWDC was a long time ago .
Francois
>
no. there is no way to connect from cocoa similar to jdbc or odbc to a
>
database. but you have several other options without buying any
>
additional software:
>
>
1. use the client-api of your database
>
this is the fastest method (even faster than odbc or jdbc), but it means
>
you have to implement a database stub for every database you want to
>
support. the client-api's are usually a part of every distribution
>
>
2. use the java-objc-bridge and implement your database access with
>
jdbc. this isn't the best way if you need performance. but you have to
>
implement your stuff only once for most popular databases.
>
>
3. you can also buy some frameworks to access several databases. this
>
version has only one disadvantage: money!
>
>
hope this helped,
>
>
thomas.
>
>
>
Am Montag, 13. August 2001 um 17:33 schrieb So Hok Chun, Bill:
>
>
> Hi, everyone.
>
>
>
> I'm new to Cocoa. I'd like to know whether there exist any means to
>
> connect
>
> a Cocoa program to a database (eg.: Postgresql, mySQL)
>
>
>
> Is there any ways similar to JDBC in Java or ODBC?
>
>
>
> Thanks for your help.
>
>
>
> Bill
>
> _______________________________________________
>
> cocoa-dev mailing list
>
> email@hidden
>
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev