You can always JNI-wrap this stuff, too ... We have something similar for image thumbnailing that gets called via JNI from a WO app.

ms

On Sep 10, 2007, at 5:18 PM, Andrew Lindesay wrote:

Grüß Simon;

Probably on the wrong list, but kind-of related to WO...

can somebody tell me please if there is a possibility to run a
objective-c script as fastcgi in lighttpd or apache ?

I created an Objective-C binary to do some graphics manipulations via CoreGraphics a few months ago. At first I used the open-source lib "libcgic" (statically linked) to "hook it up" as a CGI.

This worked quite well, but later I changed my mind because it was such a ghastly process to custom-parse the arguments so I wrote a very basic Objective-C web server that can serve JSON-RPC invocations instead. I did have this running as a daemon, but I think there might be (not at all proven) some CG memory-leaks so I finally added it as a launchd task 'initd style' so the system keeps hauling-up a fresh one.

cheers.

___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag% 40mdimension.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to