10-02-2007, 09:12 AM
Join Date: Apr 2005
Location: hamburg, germany
Post Thanks: 0
Thanked 0 Times in 0 Posts
you can open a http-connection and just call http://yourpage.com/putdata.php?"yourdata" for example.
or you write a server application that receives commands, executes them on the database and sends the result (preprocessed) back.
a third solution, kind of in between, is the use of a webservice. see apache axis and ksoap2 for (kind of) easy to use implementations.
the best solution for you depends on your data complexity and amount. if you want to store a barcode-string on your mysql-database a php-script works well, if you want to process large amounts of information out of a database you better implement your own protocol.
java developer, Devinto