Introduction of J2ME Mobile solutions. Overview What is J2ME. How does J2ME work? Java J2ME Carriers and Products. The Two Configuration of J2ME. Profiles.

Slides:



Advertisements
Similar presentations
MIDP Mobile Information Device Profile Johnny Yau CIS 642 Prof. Insup Lee.
Advertisements

Mobile Application Architectures
Chapter 17: WEB COMPONENTS
Pengantar Teknologi Mobile 12
Multimedia Network Communications Subject:T0934 / Multimedia Programming Foundation Session:13 Tahun:2009 Versi:1/0.
J2ME 25 July Overview  What is J2ME?  The CLDC and CDC configurations  MIDP and MIDlets  Development Tools  Demonstrations.
Writing Your First MIDlet Running JAVA on a Cell Phone Jon A. Batcheller January 27, 2004.
UNDERSTANDING JAVA APIS FOR MOBILE DEVICES v0.01.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 10 Java for MIDs Rob Pooley
J2ME Web Services Specification.  With the promise to ease interoperability and allow for large scale software collaboration over the Internet by offering.
Developing an Application with J2ME Technology Scott Palmer, Nat Panchee, Judy Sullivan, Karen Thabet, Sten Westgard.
JAVA Technology. Java Technology Java technology is a portfolio of products that are based on the power of networks and the idea that the same software.
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
Interactive Visual System By Arthur Evans, John Sikorski, and Patricia Thomas.
J2ME Prepared by: - Gaery- Ronny - Alan- Andy. Why Technology for Mobile Devices? The nature of wireless devices is changing Old devices: All the software.
PDA Programming Using J2ME Presenter :涂俊凱 Date : 2003/4/8.
Making Cell Phone Games An Overview Ray Ratelis Guild Software, Inc.
The 21th century Repairman Agenda Introduction J2EE J2ME Demonstration.
Cosc 4730 Phone Programming in Java An Introduction.
V1.00 © 2009 Research In Motion Limited Introduction to Mobile Device Web Development Trainer name Date.
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
What is adaptive web technology?  There is an increasingly large demand for software systems which are able to operate effectively in dynamic environments.
Java 2 Platform, Micro Edition (J2ME) By Xiaorong Wang.
SM3121 Software Technology Mark Green School of Creative Media.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
J2ME and WAP Technologies CSCI – Independent Study Fall 2002 Presented by: Kashif Syed.
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
LESSON 1 INTRODUCTION Compiled By: Edwin O. Okech [Tutor, Amoud University] JAVA PROGRAMMING.
Online Game JAVA for PDA WAP for Mobile Phone. Java for PDA  Hardware limit - Java API Power Memory  JDK 2M byte. Connectivity Display size.
Topics on KVM Presented By Xiaozhou David Zhu. Topics covered Introduction Java2 Platform Micro Edition CLDC KVM.
Android Introduction Platform Overview.
EclipseME Java Micro Edition The Eclipse Way Craig Setera April 19, 2006.
J2ME Java for Mobile Environments Based on J2ME In A Nutshell, by Kim Topley, O’Reilly & Associates Inc., 2002, and Tetris by Alexei Patinov.
Server System. Introduction A server system is a computer, or series of computers, that link other computers or electronic devices together. They often.
Internet Addressing. When your computer is on the Internet, anything you do requires data to be transmitted and received. For example, when you visit.
Project By:. 2 Agenda Introduction Problem Definition Proposed Solution Block Diagram Flowchart Technical Implementation Hardware & Software Requirements.
Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.
Michael Brockway Advanced Applications Development in Java J2ME -- Introduction l Introduction / Overview l Java 2 Micro Edition n CLDC n MIDP l Examples.
Integrating Educational Technology into the Curriculum
Small Devices on DBGlobe System George Samaras Chara Skouteli.
Framework and application bytecode size CLDC MIDP kXML parser Utility classes Graphics Logic (MIDlet) Application Data (XML file)
Computer Science Wi-Fi App using J2ME and MVC Architecture Advisor : Dr. Chung-E Wang Department of Computer Science Sacramento State University Date:
J2ME Presented by May Sayed & Menna Hawash. Outline Introduction “Java Technology” Introduction “What is J2ME?” J2ME Architecture J2ME Core Concepts 
Java 2 Micro Edition (J2ME) and the world of java
1Basics of J2ME. 2 Objectives –Understand the different java API’s and how the mobile edition API’s fit in –Understand what a mobile configuration and.
Martin Schmidt / The Silent Revolution Mobile Java.
Computer Emergency Notification System (CENS)
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
A Frame Work For Developing Wireless Mobile Online Applications.
Programming of Handheld and Mobile Devices Lecture 2 What is a MID? Rob Pooley
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
What is Java? Object Oriented Programming Language Sun Microsystems “Write Once, Run Everywhere” Bytecode and Virtual Machine Java Platform (Java VM and.
WHAT IS E-COMMERCE? E-COMMERCE is a online service that helps the seller/buyer complete their transaction through a secure server. Throughout the past.
Assignment # 3 Networking Components By: Jeff Long.
Enhanced mobile services in Java enabled phones Björn Hjelt Sonera zed ltd Supervisor: Professor Jorma Jormakka.
Chapter 1 WHAT IS A COMPUTER Faculty of ICT & Business Management Tel : BCOMP0101 Introduction to Information Technology.
Advance Computer Programming Market for Java ME The Java ME Platform – Java 2 Micro Edition (J2ME) combines a resource- constrained JVM and a set of Java.
Visual Mobile Applications with Netbeans 6.0 Your Name Sun Campus Ambassador Your Address.
The Java Platform Micro Edition Java ME
Java N Amanquah.
Part II Software When developing software there are several particularities to be aware of: Java is widespread used because of the platform independence.
Programming of Handheld and Mobile Devices
MOBILE DEVICE OPERATING SYSTEM
Wireless Instant Messaging Using J2ME
By Jeff Heaton An Overview of J2ME By Jeff Heaton
OPERATING SYSTEMS.
Introduction of J2ME Mobile solutions.
Presentation transcript:

Introduction of J2ME Mobile solutions

Overview What is J2ME. How does J2ME work? Java J2ME Carriers and Products. The Two Configuration of J2ME. Profiles in J2ME MIDP & MIDlets Wireless Java J2ME Vendors and Products References

What is J2ME J2ME is a family of specifications that defines various downsized versions of the standard Java 2 platform; these downsized versions can be used to program consumer electronic devices ranging from cell phones to highly capable Personal Data Assistants (PDAs), smart phones, and set-top boxes. --- J2ME in a Nutshell -A Desktop Quick Reference By Kim Topley

Java Family -- java.sun.com (2003)

J2ME Category J2ME Category Principle: Different hardware corresponds different JVMs, hardware which base on CDC have powerful JVMs, and hardware which base on CIDC have KVM to support. ----Picture form Java.sun.com

two configurations J2ME currently defines 1 Connected Limited Device Configuration (CLDC) CLDC is aimed at the low end of the consumer electronics range. A typical CLDC platform is a cell phone or PDA with around 512 KB of available memory. For this reason, CLDC is closely associated with wireless Java, which is concerned with allowing cell phone users to purchase and download small Java applications known as MIDlets to their handsets. A large and growing number of cell phone vendors have signed agreements with Sun Microsystems that will allow them to begin using this technology, so the number of handsets with the capability to be programmed in Java will probably grow rapidly in the next few years J2ME in a Nutshell -A Desktop Quick Reference By Kim Topley

two configurations J2ME currently defines 2 Connected Device Configuration (CDC) CDC addresses the needs of devices that lie between those addressed by CLDC and the full desktop systems running J2SE. These devices have more memory (typically 2 MB or more) and more capable processors, and they can, therefore, support a much more complete Java software environment. CDC might be found on high-end PDAs and in smart phones, web telephones, residential gateways, and set-top boxes J2ME in a Nutshell -A Desktop Quick Reference By Kim Topley

Profiles J2ME currently defines Mobile Information Device Profile (MIDP) PDA Profile (PDAP) Foundation Profile Personal Basis and Personal Profiles RMI Profile Game Profile

The Mobile Information Device Profile and MIDlets The Mobile Information Device Profile, or MIDP for short, is one such profile, intended for use on small footprint devices with a limited user interface in the form of a small screen with some kind of input capability. Java applications that run on MIDP devices are known as MIDlets. A MIDlet consists of atleast one Java class

MIDP Hardware Requirements Hardware Minimum Requirement Display 96 X 54 Pixels 65,536 colors Memory 32 KB workspace 128KB MIDP Implementation 8KB for MIDlets run Input Device the device has the equivalent of a keypad that allows the user to type the numbers 0 through 9,together with the equivalent of arrow keys and a select button Connectivity HTTP 1.1; TCP/IP

MIDlet Security No “ sand Box ” as J2EE or J2SE. Because it is expensive in terms of memory resources. No MIDlet APIs that allow access to information already on the device, such as address and telephone number lists or calendars, and it is not possible for a MIDlet to directly control the device. A MIDlet can store information on a device, but that storage is private to that MIDlet and its suite, so the MIDlet can harm only its own data.

Wireless Java: Networking and Persistent Storage Two Essentials The devices that the J2ME platform is intended for are, by their nature, reliant for their usefulness on the ability to communicate with the outside world. The ability to store information and access it from applications running on that device. The type of storage available, and the amount of space available, varies greatly from device to device.

MIDlet Management and Storage A MIDlet consists of one or more class files and associated resources stored in a JAR file. Several MIDlets may be combined into a MIDlet suite. All the MIDlets that make up a given suite are packaged in the same JAR file and are managed as a single unit: they are installed together in the simulated nonvolatile device storage Furthermore, they all execute in the same instance of the Java VM. MIDlets almost always be installed over a network or via a local connection to an associated host system. Because the JAR file that contains a MIDlet suite may be large, each suite has an associated Java Archive Descriptor file (JAD) that is small enough to download quickly, but which contains enough information about the suite to allow the user to decide whether to install it. The Application Management Software of a MIDP device (such as a cell phone) typically first downloads the JAD file, whose location is specified by its URL. If the user decides to install the MIDlet suite, the AMS downloads the JAR file, which can be located by using one of the attributes in the JAD. The MIDlet suite is then stored on the device, and subsequently, the MIDlets it contains can be loaded from the locally installed copy..

How does J2ME work? How does J2ME work? The latest Java-enabled mobile devices, you can view a list of applications, games, and services and choose which one interests you. The application is then sent over the air to your handset, where it is installed and instantly available to use. You are no longer limited to the small selection of games and applications that came with your phone. And with new content being released daily from top entertainment and software companies, you can always find new, fun applications to download.

Networking Architecture for Small Devices Memory requirements Was judged to be too great for the small footprint devices that CLDC is designed for. Consistency The differences are significant when it comes to using a serial device, because you need to install an extra package and use yet another programming model. Given the diversity of devices and communication mechanisms that the CLDC might be required to support, a more uniform API was clearly required. Implementation flexibility An architecture based entirely around interfaces, so that application code would not be tied to particular classes. Thus, vendors are free to provide socket and HTTP implementations that are appropriate for their specific devices.

HTTP Connections The only communications protocol that every MIDP device is required to provide HTTP makes use of stream sockets to carry messages between an HTTP client (usually a web browser) and a web server that often (but not always) returns an HTML page to the client.

Two Potential Problems Many of handset devices, particularly cell phones, do not have a direct connection to the internet and therefore almost certainly do not support sockets. The MIDP user interface components do not provide any support for displaying HTML, so there is no built-in browser capability in a MIDP device.Answer It is the responsibility of the device vendor to arrange for the device to be able to support HTTP even if it does not have a direct connection to the Internet. In most cases, this means that the device needs to connect to a gateway that can switch HTTP messages to whatever protocol is used to connect to the Internet gateway. In the wireless environment, for example, the device might use WSP (the Wireless Session Protocol) to connect to a WAP gateway that can bridge between a wireless network and the Internet. However this mapping is achieved, it must be done in such a way that the MIDP application cannot tell whether it is directly connected to the Internet.

Java Technology Carriers Java Technology Carriers

Java Technology Handsets Java Technology Handsets To date, over 250 different handset models from more than 40 manufacturers have been developed with Java technology, with more than 100 million of these handsets shipped worldwide. ---

J2ME Programming Environments JBUILDER 7 OR 8 + BORLAND MOBILESET 3.1 (Most Power Developing tools) SUN JDK J2ME Wireless Toolkit Jdk1.4+J2ME CLDC 1.04 , MIDP 2.0 SDKs from the mobile providers, e.g. Nokia etc.

References Topley,K. J2ME in a Nutshell -A Desktop Quick Reference

Thank you Any Questions?