I was looking at the interfacing with software section in the Arduino playground to see how I might actively send and receive information to the arduino in real time. I saw a listing of most of the major languages besides one glaring omission... Java. What's happened? It's supposed to the epitome of multi-platform open source programming.
So, I checked out processing and found that the processing preprocessor really just acts like a go-between the "processing" language and the java language(A binding, I think it's called?) and that one could ultimately write in Java. Sweet! Reading on the article, though, it appears that processing uses its own graphics engine(based on OpenGL?) so AWT and Swing couldn't be used. It could however be placed on its own frame, so AWT and Swing components could be used in a different frame.
But all I just want to do is interact with the microprocessor in Java; I don't want processing's graphics and I don't want processing to grab my system around the neck and choke down my frame-rate to a noticeable choppiness. So, I was looking into adapting the Serial class for stand-alone Java use and... it appeared to be tightly integrated with its graphics. I also noticed that the Arduino library for processing was wrapped around processing's finger. The only seemingly non-dependent libraries were rxtxComm.jar and the corresponding .dll for the windows system(and other files for other operating system) and it seems it'd be up to me to write my own Serial libraries with the Arduino and I don't think I'm that knowledgeable nor skilled and learning the requisite knowledge and skills would be a huge investment of time looking at how freakin' large the other libraries were for other languages. :-/
So, I was thinking that using processing and using the "noLoop" function would stop processing's graphics engine from strangling my system, but would the Serial functionality remain intact if that was stopped? And I also noticed that processing required Firmata(Or something like it?) on the Arduino which seemed like it might limit my ability to program the Arduino to compute on its own; in essence, it seemed Firmata just transformed the arduino into a communications device and robbed it of its own independent computations and transferred that responsibility to the PC. Also, according to someone who created the revised version of the SimpleMessageSystem, Firmata takes up half the memory which doesn't sound optimal.
I may be horribly wrong on many different points, so please do not hesitate to correct any mistaken impressions. I'm just wanting to send and receive information to/from the Arduino without choking my system's graphics while allowing the Arduino to do its own computations if so desired, and it seems there should be something available for Java but what's available seems inextricably married to Processing.