Is it possible to have Cocoa with JTAPI?

Discussion in 'Mac Programming' started by satyam90, May 4, 2009.

  1. satyam90 macrumors regular

    satyam90

    Joined:
    Jul 30, 2007
    Location:
    Bangalore, India
    #1
    I am trying to create a telephone application that will make a call connection via Avaya phone. For that purpose, JTAPI is a good framework that provides required functionality.
    For that purpose, I want to make required UI in Cocoa and placing a call etc will be done from JTAPI. Can some body tell me is there any possibility to get this done.
    Any examples or prototypes available?
    I will be thankful if any body helps me to get this done.
     
  2. Guiyon macrumors 6502a

    Joined:
    Mar 19, 2008
    Location:
    North Shore, MA
    #2
    I know this use to be definitely possible by using the Cocoa-Java bindings but those have long since been deprecated. I doubt what you're trying to do is possible short of using some form of IPC.
     
  3. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #3
    I am not familiar with JTAPI, but I'm confident this could be done via JNI. You can access a JVM and make calls into it from JNI in C or C++, both of which you can use in an Objective-C or Objective-C++ program.
    Here's the wikipedia article, that has some examples:
    http://en.wikipedia.org/wiki/Java_Native_Interface

    Here are the sun docs for 6.0:
    http://java.sun.com/javase/6/docs/technotes/guides/jni/spec/jniTOC.html

    There are docs for each version, but I thought the most recent would probably be the most applicable.

    -Lee
     

Share This Page