File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Midlet to Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Midlet to Database" Watch "Midlet to Database" New topic

Midlet to Database

fadzizo abdullah

Joined: Apr 28, 2007
Posts: 23
hi all

i want to develop a midlet application that can communicate with a database (example MySQL) located in a server... i dont know how to code this thing and i have post so many hopes but seems so hopeless.... but i do know how to code simple midlet application and i managed to run them on handphone already....

so below i just list what are the things i should know and do (i guess) to develop a midlet application that will communicate with database.... i don ask for any sample programs or ask questions as before because i dont want to feel dissappointed anymore...

1. create midlet application as usual using usual syntax and structure as i wrote those successful simple midlet application.
2. create Servlet application to communicate with MySQL using JDBC.
3. pass some parameters from midlet to servlet.
4. servlet will then pass those parameters to MySQL.
5. MySQL processes and returns the result back to Servlet.
6. Servlet then pass back the result to midlet.
7. view the result in the midlet.
8. finish.

this is what i know so far and i even dont know whether it is correct or not... just concept but dont know how to code such applications....

for those who are realy honest and kind please correct me if im wrong... for those who just love to see without doing nothing eventhough you know everything yea you can keep seeing and proud of being such creature .... you wont know untill you experience it yourself dudes.... for those who realy keen to help thank you so much in advance....

I agree. Here's the link:
subject: Midlet to Database
It's not a secret anymore!