Arduino interfacing with Java/JSP on Linux
hello, after several time googeling web, not find answer questions !!!
in fact, (as test purpose moment) have linux box based on via artigo pico http://www.via.com.tw/en/products/embedded/artigo/index.jsp. on box, run apache , tomcat (java container) , publish web pages. on usb, connect arduino board sketch on it.
what have jsp on via box user can change values , check values to/from arduino board.
is possible, has done before ?
many help.
in fact, (as test purpose moment) have linux box based on via artigo pico http://www.via.com.tw/en/products/embedded/artigo/index.jsp. on box, run apache , tomcat (java container) , publish web pages. on usb, connect arduino board sketch on it.
what have jsp on via box user can change values , check values to/from arduino board.
is possible, has done before ?
many help.
the arduino usb port serial port.. when plugged via via(ha!) usb port, device identification dev/ttys0 (s1, s2.. etc, pending device config)
(i'm assuming you're running stable *nix kernel compiled stable usb/serial drivers).. need code client side serial i/o in c , wrap using jni.. can invoke jni layer via jsp pages (if fancy doing way) or wrap jni layer nice, looking interface
via_hardware->fw->kernel->os->shell->jvm->tomcat->jsp::your_custom_arduino_comm_api->jni->lowlvl_c_serial_io->usb_port(ttys0)->arduino
(i'm assuming you're running stable *nix kernel compiled stable usb/serial drivers).. need code client side serial i/o in c , wrap using jni.. can invoke jni layer via jsp pages (if fancy doing way) or wrap jni layer nice, looking interface
via_hardware->fw->kernel->os->shell->jvm->tomcat->jsp::your_custom_arduino_comm_api->jni->lowlvl_c_serial_io->usb_port(ttys0)->arduino
quote
hello, after several time googeling web, not find answer questions !!!
in fact, (as test purpose moment) have linux box based on via artigo pico http://www.via.com.tw/en/products/embedded/artigo/index.jsp. on box, run apache , tomcat (java container) , publish web pages. on usb, connect arduino board sketch on it.
what have jsp on via box user can change values , check values to/from arduino board.
is possible, has done before ?
many help.
Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Arduino interfacing with Java/JSP on Linux
arduino
Comments
Post a Comment