Preface

This tutorial creates two applications that conform to the architecture of the Javatrademark 2 Platform, Micro Edition (J2MEtrademark platform). The applications are also compliant with the Connected, Limited Device Configuration (CLDC) and Mobile Information Device Profile (MIDP) standards. One of these applications demonstrate how client/server applications can be created using the J2ME Wireless Connection Wizard. By working through tasks that create, develop, and deploy these J2ME compliant applications, you will learn the major features of the Suntrademark Javatrademark Studio Mobility 6 software.


Before You Read This Book

Before starting, you should be familiar with the following subjects:

A knowledge of MIDP and CLDC concepts is helpful, as described in the following resources:



Note - Sun is not responsible for the availability of third-party Web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials that are available on or through such sites or resources. Sun will not be responsible or liable for any actual or alleged damage or loss caused by or in connection with the use of or reliance on any such content, goods, or services that are available on or through such sites or resources.




How This Book Is Organized

Chapter 1 provides the information necessary to set up the Sun Java Studio Mobility 6.

Chapter 2 explains the Currency Converter application used in this tutorial and shows you how to quickly install, execute, and run the application.

Chapter 3 provides a glossary and explanation of MIDP/CLDC concepts used in this tutorial.

Chapter 4 shows you how to use the Java Studio Mobility to code and compile the Currency Converter application.

Chapter 5 shows you how to use Java Studio Mobility to debug the Currency Converter application.

Chapter 6 explains the Currency Converter Wireless application used in this tutorial and shows you how to quickly install, execute, and run the application.

Chapter 7 shows you how to use Java Studio Mobility to code and compile the Currency Converter Wireless application.


Using UNIX Commands

This document might not contain information on basic UNIX® commands and procedures such as shutting down the system, booting the system, and configuring devices. See the following for this information:

http://docs.sun.com


Shell Prompts

Shell

Prompt

C shell

machine-name%

C shell superuser

machine-name#

Bourne shell and Korn shell

$

Bourne shell and Korn shell superuser

#



Typographic Conventions

Typeface[1]

Meaning

Examples

AaBbCc123

The names of commands, files, and directories; on-screen computer output

Edit your.login file.

Use ls -a to list all files.

% You have mail.

AaBbCc123

What you type, when contrasted with on-screen computer output

% su

Password:

AaBbCc123

Book titles, new words or terms, words to be emphasized. Replace command-line variables with real names or values.

Read Chapter 6 in the User's Guide.

These are called class options.

You must be superuser to do this.

To delete a file, type rm filename.



Related Documentation

Application

Title

Part Number

Installation and setup

Sun Java Studio Mobility 6 Getting Started Guide

817-2340-10



Accessing Sun Documentation

You can view, print, or purchase a broad selection of Sun documentation, including localized versions, at:

http://www.sun.com/documentation


Contacting Sun Technical Support

If you have technical questions about this product that are not answered in this document, go to:

http://www.sun.com/service/contacting


Sun Welcomes Your Comments

Sun is interested in improving its documentation and welcomes your comments and suggestions. You can submit your comments by going to:

http://www.sun.com/hwdocs/feedback

Please include the title and part number of your document with your feedback:

Sun Java Studio Mobility 6 2004Q3 Tutorial, part number 817-2343-10


1 (TableFootnote) The settings on your browser might differ from these settings.