On Mon, Dec 14, 2009 at 6:08 PM, Lauri Pesonen <lauri.peso...@iki.fi> wrote:
> Hi Fred,
>
> 2009/12/14 Frédéric Morain-Nicolier <f.nicol...@gmail.com>:
>>> As far as I can tell, ImageJ isn't really suited for "headless" tasks,
>>> which is what I want to do; I want to run some image processing in the
>>> backend of a web app. I guess I'm going to try JAI first.
>>
>> Not sure to understand. By "headless" you mean without a human
>> operator? ImageJ is perfectly suited for this. You can use it as an
>> api which much more practical than JAI.
>
> Headless typically means that the application will not open any
> windows and that you can run it without a windowing system present.
> The idea is that you can run your app from a scheduled script, on a
> server by logging on over SSH, or as part of a web application etc.
>
> IIRC Java AWT-based libraries require a windowing system on the
> machine. On Windows this is not a big deal since you're always running
> a windowing system, even on a server, but on linux where the windowing
> system is an optional install it causes problems.

There's a system property (since jdk 1.4) named java.awt.headless
(http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless)
that allows using AWT classes in server setting.

-- 
Sergei

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to