aspose file tools*
The moose likes Mac OS and the fly likes Aqua, Cocoa and others.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Aqua, Cocoa and others.." Watch "Aqua, Cocoa and others.." New topic
Author

Aqua, Cocoa and others..

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hi all.
I have some novice questions about Mac OSX.
1. Aqua and brushed metal of Mac OSX are the same concepts of GNOME and KDE on Linux, right ?
2. Can we switch between Aqua and brushed metal (I liked brushed metal more than Aqua) ?
or some applications should use Aqua and others should use BM ?
3. What are Cocoa and Carbon ? what is the difference between them ?
4. any database servers available in Mac OSX (except HyberSonic) ?
like DB2, MySQL .... ?
thanks ranchers.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

1. Not exactly. They are not distict window managers.
2. There are 3rd party apps to muck around with window styles. I couldn't be bothered. The standard stuff works just fine for me.
3. Cocoa is the OS X native GUI programming library. Carbon is a compatibility mode library for porting OS 9 apps to OS X. All new development is done in Cocoa.
4. MySQL, PostgreSQL, Oracle, and so on...


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Thanks Sir.
As far as I understand, Mac Panther comes with Aqua and BM.
Does this mean that we can switch between them (just like we can do in Linux GNOME & KDE) ?
Sorry for my silly questions...
Warren Dew
blacksmith
Ranch Hand

Joined: Mar 04, 2004
Posts: 1332
    
    2
Bear Bibeault:

Cocoa is the OS X native GUI programming library. Carbon is a compatibility mode library for porting OS 9 apps to OS X. All new development is done in Cocoa.

Minor disagreement - the last is not really true. A lot of new development that doesn't involve much in the way of graphical interfaces is coded directly to the Mach kernel. In addition, there are certain classes of applications that continue to use Carbon rather than Cocoa, not least because to use Cocoa, you have to use the obscure Objective C language rather than C/C++. Finally, plenty of new Mac development is coded to the Mac's Java Virtual Machine - Apple now recommends that if you code in Java, you code to the JVM, and not to the Cocoa Java API.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

. A lot of new development that doesn't involve much in the way of graphical interfaces ..


True! I was confining myself to just graphical and non-Java GUI apps. Thanks for completing the picture.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Aqua, Cocoa and others..