Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InterApplication Communication



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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.