I want to connect to a servlet from a midlet which is running on a Nokia 6600 phone which is connected via Infrared to a Laptop.Tomcat is running on this Laptop but the midlet can't seem to connect to the servlet despite the infrared connection between the two. I am actually a new j2me developer so i dont know if i am missing something somewhere. Thanks
If you use HTTP as the communication protocol between your MIDlet and servlet, then you need to use a network binding (or access point) that supports HTTP (Note: on both ends). GPRS via an appropriate carrier/network operator is one example.
This assumes your servlet is visible on a web server someplace on the public Internet. [ July 06, 2004: Message edited by: James Reilly ]
IR is a serial connection. It cannot get to the TCP/IP ports on your laptop. This has nothing to do with J2ME though. You need to connect via GPRS to get to a servlet.
Hi, want to know how can I develop a Java app that send data, via Serial connection, to a J2ME app (a MIDlet that use this data to load a RecordStore). I'm a new J2ME developer, that knows a bit about J2ME, and less about J2SE
Mainly I need help in the Java app running in the PC. This app have to get the data from a MySQL Server (aprox 4000 records) and send the data via Serial connection to a Phone connected to the COM port. This Phone must be running a MIDlet that receives this data to load a RecordStore. I know how to do the last part... But I don't know how start with the Java App for the PC, and how to synchronize and serialize the data from MySQL to the MIDlet.
PD: I never used JDBC to connect to a DB Server... Where I can find information to do that?
From already thank you very much
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss