Produce two separate JAVA applications that can exchange messages. This project is to build a two way messaging solution (between Java Mobile Application and Java Server Application) using MIDP 2.0 push registry. The solution will be used to send messages to staff (carrying their JAVA enabled mobile phones). The staff members can either respond to the message immediately or mark for processing at a later time. The staff members also need to be able to send a user-defined message to the server on-demand.
1. Create a Java Mobile Application that:
a. Registers with the MIDP 2.0 push registry
b. Is launched when a message from the server is received
c. Displays the message received
d. Stores the message in an ‘inbox’ for later display. Store the last 10 received.
e. On viewing the received message, ask the user if they want to reply now or reply later. If they choose to reply now, offer them the option of replying either ‘Yes’ or ‘No’ to the message. Send the user’s YES/NO response back to the server
f. Enable the user to launch the application at a later time and browse thru’ the stored messages in their inbox and reply to them as either ‘YES/NO’ response
g. To support a special business requirement, enable the user to launch the application at a later time and submit a ‘user defined’ message back to the server. This is not a reply message (as per e and f above) but is a new message.
h. Please ensure multiple Java Mobile Applications (using an emulator) can be started and integrated with the server
2. Create a Java Server Application that:
a. At startup displays a simple menu on the console where we can:
i. Send a message (user input) to all the registered Java Mobile Applications
ii. List all registered Java Mobile Applications
iii. Exit the application
b. Listens for and receives incoming message. These messages should automatically be logged as console output
Both applications should be built using the NetBeans IDE (running JAVA™ 2 RUNTIME ENVIRONMENT (J2RE), STANDARD EDITION, VERSION 1.4.2_X.) on Windows.
1. Working Java Mobile Application, source code and NetBeans project.
2. Working Java Server Application, source code and NetBeans project.