Hi all,
I am writting a MIDlet which asks the user to enter a name and press the 'Search' command to get the details about that person. The name is sent to a
servlet, then the servlet gets the details from the database and sends the details to the phone.In this scenario some times there can be multiple results as well. What I thought was say for instance, if there are 10 results;
* Send the first 5 results as objects of the Employee class which I have designed.
* Put them to a choice group which shows the name and lets the user to select one out of the group.
* Then it displays the details to the user.
If the user wants the next 5 results, he should press the next command to get them. Then the same scenario happens. I was thinking of writting the results to the phone as an object of the class Vector but found out there is no ObjectInputStream is not there in the KVM. I have 5 questions.
1) Is this the proper way of doing this? if not please suggest..
2) How to send the query
string to the servlet?
3) Since there is no ObjectInputStream in KVM what are the other options.
4) What is the limit which I can store temporaly the details (kilobytes)
5) How to check the size of my program? Is the size of the .jad or .jar or both?
Thank you very much and anticipating your expertise views...