|
1000 Java Tips ebook
|
 

Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java
programming articles and tips. Please take your copy here.
Take your copy of free "Java Technology Screensaver"!. |
|
What can I do if some programming language has no methods to interact with Java
JavaFAQ Home » General Java

Question: What can I do if some
programming language has no methods to interact with
Java program? I need to pass some info from Perl, PHP
(xyz,...) program to Java program...
Answer: Best solutions which will work
with most of languages are:
- make network connections, or if there is no networking
functionality
- write/read information into/from file.
In both cases you need to implement your own protocol. In case
with file you can use lastModified() to see when some info was
sent from another program. If it is different from previous one
it means that a new info was sent... Then just read it and use
according to your protocol.
*******************************************
Our older tips: March 22, 2001 - October 21, 2002
read here.
All published and not published on site tips you can find
here
Printer Friendly Page
Send to a Friend
..
Search here again if you need more info!
|
|
|