Chris Pollett > Students >

    ( Print View )







    [CS297 Report-PDF]

    [CS298 Proposal]

    [CS298 Presentation-PDF]

    [Game Description-PDF]

    [Final Game-ZIP]

    [CS298 Report-PDF]


CS297 Proposal

Distributed Gaming using J2ME and XML

Rekha Vaddepalli (

Advisor: Dr. Chris Pollett


The Java 2 Platform, Micro Edition (J2ME) provides an opportunity to program on different kinds of mobile devices available. Though mobile devices differ in their processing power, memory etc, J2ME removes these differences by defining configurations, profiles and optional packages as elements for building complete Java runtime environments. . Each combination is optimized for the memory, processing power, and I/O capabilities of a related category of devices. The eXtensible Markup Language (XML) is emerging as a standard for describing and interchanging data among various systems and databases on the Internet. In this project we will develop a distributed game for the wireless devices that run on J2ME platform and which uses stripped down version of XML language that we create to communicate with the centralized Oracle database. Various properties of our language and game set-up will be tested for efficiency and playability. Multiple wireless users will be able to make requests to the Oracle database to get clues for the video game they are playing. The Oracle database will be able to handle the concurrency. The request and retrieval of data at the Oracle database will be done using its XML features.


Week 1: Aug 25 - Sep 1Start reading paper [SM0203]
Week 2: Sep 2-8Finish reading paper [SM0203]
Week 3: Sep 9-15Deliverable (1) due
Week 4: Sep 16-22Read the tutorial [SR02]
Week 5: Sep 23-29Read the tutorial [SR02]
Week 6: Sep 30 -Oct 6Deliverable (2) due
Week 7: Oct 7-13Read the programming strategies for small devices [SM0503],
Week 8: Oct 14-20Read the programming strategies for small devices [SM0503]
Week 9: Oct 21-27Deliverable (3) due
Week 10: Oct 28-Nov 3Read [SSKKVNT], a paper on a general technique for querying XML documents using a Relational Database system
Week 11: Nov 4-10Read [SSKKVNT], a paper on a general technique for querying XML documents using a Relational Database system
Week 12: Nov 11-17Deliverable (4) due
Week 13: NNov 18-24Read [TVBSSZ02]
Week 14: Nov 25-Dec 1Read [TVBSSZ02]
Week 15: Dec 2-8Read [SM02]
Week 16: Dec 9-12Deliverable (5) due


The full project will be done when CS298 is completed. The following will be done by the end of CS297:

1. Write a midlet that can get business card information (first name, last name, phone number, email ID) from a user and store it. Also, can be used to keep a list of currently stored business cards.

2. Use J2ME to send and receive cards wirelessly between devices.

3. Send and receive cards using HotSync with desktop.

4. Write a program that puts the data into an XML type in Oracle database after HotSync with the desktop.

5. Report of length between 15-20 pages on first semester project.


[SM0203] Sun Microsystems Inc.(February 1, 2003). Future Java Technology for the Wireless Services Industry. Retrieved May 21, 2003.

[SR02] Srikanth Raju (2002). XML and Java language programming for wireless devices: a tutorial. Retrieved May 21, 2003.

[SM0503] Sun Microsystems Inc. Programming strategies for small devices. Retrieved May 21, 2003.

[SSKKVNT] Shanmugasundaram, Shekita, Kiernan, Krishnamurthy, Viglas, Naughton, and Tatarinov. A General Technique for Querying XML Documents using a Relational Database System.

[SM02] [K02] Jonathan Knudsen (March 7, 2002). Parsing XML in J2ME, XML in a MIDP Environment. Retrieved May 21, 2003.

[TVBSSZ02] Tatarinov, I., Viglas, D.S., Beyer, K., Shanmugasundaram, J., Shekita, E., Zhang, C. (June, 2002). Storing and Querying Ordered XML using a Relational Database System. Proceedings of the 2002 ACM SIGMOD international conference on Management of data, 204-215.