4 messages in com.mysql.lists.javaRe: Re[1] interface java problem| From | Sent On | Attachments |
|---|---|---|
| Celine LEFEBVRE | 18 Sep 2000 05:13 | |
| Tom Myers | 18 Sep 2000 06:47 | |
| Cris Perdue | 18 Sep 2000 09:39 | |
| Tim Endres | 18 Sep 2000 09:58 |
| Subject: | Re: Re[1] interface java problem![]() |
|---|---|
| From: | Tom Myers (tom...@cs.colgate.edu) |
| Date: | 09/18/2000 06:47:12 AM |
| List: | com.mysql.lists.java |
At 08:16 AM 9/18/2000 -0400, Celine LEFEBVRE wrote:
I used java.lang.Runtime.exec() and it works very well !! Do you know if I can run my program on another machine ?
There are at least four ways, all of them off-topic...
(1) communicate by sockets; this is traditional, shown in lots of books including Ch9, "Beyond JavaScript", of my own "JavaScript Objects" (Wrox 98, Nakhimovsky&Myers); I guess we also used it in _Pro Java XML_ (Wrox 99) but not as a standalone example... (2) the "Remote Method Invocation" system; look at the java.rmi package and its subpackages in the docs, or Sun's tutorials; (3) set up your "other machine" with a web server which can invoke servlet or CGI, then pass it the data as if within an html textarea; (4) I use Runtime.exec() mostly to invoke simple Visual Basic stuff which in turn invokes image-conversion routines; the O'Reilly _VB & VBA In A Nutshell_ seems to say VB has no trouble with its own version of RMI, invoking automation servers. I've never done it.
I can't think of any mysql-based way to handle it, though of course the data could be in mysql rather than a file. :-) Does anybody know one?




