• 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
how to use Cocoa Java from Cocoa Obj-C code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to use Cocoa Java from Cocoa Obj-C code?


  • Subject: how to use Cocoa Java from Cocoa Obj-C code?
  • From: email@hidden
  • Date: Tue, 12 Feb 2002 17:10:10 +0800

Hi folks,

Suppose I have some Java classes already developed. In a new project
which is using Cocoa Obj-C, how can I reuse the Cocoa Java classes?

Actually, what I want to do is to add database connectivity to the Obj-C
Cocoa application. I want to wrap all database stuff into some Java
classes and let the rest of the application use them.

The "Legacy Java Bridge" section of the Cocoa documentation told me to
use NSClassFromString(@"JavaClassName") but it doesn't work.

Regards,

Victor Tsang
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: how to use Cocoa Java from Cocoa Obj-C code?
      • From: Cyril Godefroy <email@hidden>
  • Prev by Date: Re: NSSliderCell private variables
  • Next by Date: Re: Memory Mania Revisted
  • Previous by thread: Re: Obtaining data from finder drag onto cocoa application....
  • Next by thread: Re: how to use Cocoa Java from Cocoa Obj-C code?
  • Index(es):
    • Date
    • Thread