• 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: InterApplication Communication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InterApplication Communication


  • Subject: Re: InterApplication Communication
  • From: Art Isbell <email@hidden>
  • Date: Tue, 4 May 2004 10:55:35 -1000

On May 4, 2004, at 4:36 AM, Norberto Menendez wrote:

Any experiences anyone can relate on the following subjects:

- using NSTask to communicate with other apps (from WebObjects)

There doesn't appear to be a Java wrapper around the ObjC NSTask class. Instead, try the native Java Runtime.getRuntime().exec() methods.


- using platform specific code in WebObjects (on the server). I would like to call some Cocoa functions and do some text/image manipulation in the server and send the results back to the browser.

I have linked a WO app against the ObjC Foundation.framework so I could use NSText to extract a String from RTFD data stored in a database. This seems to work fine, so you should be able to do take advantage of ObjC Foundation's text manipulation. Image manipulation may be more difficult because you might need to link against AppKit.framework. Some AppKit classes likely assume the existence of a window server which isn't usually available for a server technology like WO.


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.


References: 
 >InterApplication Communication (From: Norberto Menendez <email@hidden>)

  • Prev by Date: Re: Cocoa java and EOF
  • Next by Date: best way to use WOHost
  • Previous by thread: InterApplication Communication
  • Next by thread: Re: WO and AppleScript
  • Index(es):
    • Date
    • Thread