J2ME and WAP Technologies CSCI 5939.02 – Independent Study Fall 2002 Presented by: Kashif Syed.

Slides:



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

Software Security & Privacy Risks in Mobile E-Commerce Kartikeya Kakarala CSCI 5939-Independent Study Wireless Application Protocols.
Introduction of J2ME Mobile solutions. Overview What is J2ME. How does J2ME work? Java J2ME Carriers and Products. The Two Configuration of J2ME. Profiles.
Introduction To Java Objectives For Today â Introduction To Java â The Java Platform & The (JVM) Java Virtual Machine â Core Java (API) Application Programming.
 WAP WAP  Foundation Of WAP Foundation Of WAP  Benefits… Benefits…  Architecture… Architecture…  Layers of WAP protocol stack Layers of WAP protocol.
Writing Your First MIDlet Running JAVA on a Cell Phone Jon A. Batcheller January 27, 2004.
UNDERSTANDING JAVA APIS FOR MOBILE DEVICES v0.01.
Introduction to Java 2 Micro Edition Mark Balbes, Ph.D. Senior Software Engineer Jeff Brown Senior Software Engineer.
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
Developing an Application with J2ME Technology Scott Palmer, Nat Panchee, Judy Sullivan, Karen Thabet, Sten Westgard.
Wireless Application Protocol and i-Mode By Sridevi Madduri Swetha Kucherlapati Sharrmila Jeyachandran.
J2ME for Palm Speaker: Chen-Nien Tsai Adviser: Kai-Wei Ke.
© 2009 Research In Motion Limited Methods of application development for mobile devices.
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.
Beyond WAP By Zhongyin J. Daye Han-Chung Lee. Agenda Introduction –WAP Protocol Stack –Future Wireless Environment –Problem Facing WAP Application Layer.
V0.01 © 2009 Research In Motion Limited Understanding Java APIs for Mobile Devices Trainer name Date.
Developing J2ME Applications Mobile and Wireless Networks.
Cosc 4730 Phone Programming in Java An Introduction.
V1.00 © 2009 Research In Motion Limited Introduction to Mobile Device Web Development Trainer name Date.
WAP: Wireless Application Protocol Mike Mc Ardle ACSG April, 2005.
Java 2 Platform, Micro Edition (J2ME) By Xiaorong Wang.
1st Project Introduction to HTML.
J2ME Programming. 2 Recommended Books Programming Wireless Devices with the Java2 Platform, Micro Second Edition (Paperback) by Roger Riggs (Editor),
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Symbian os with smart phones Guided by: Hetal A Josiyara
J2ME Java for Mobile Environments Based on J2ME In A Nutshell, by Kim Topley, O’Reilly & Associates Inc., 2002, and Tetris by Alexei Patinov.
An Introduction to the Java ME Project Jens A Andersson.
An Introduction to WAP/WML. What is WAP? WAP stands for Wireless Application Protocol. WAP is for handheld devices such as mobile phones. WAP is designed.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
CHAPTER 2 Communications, Networks, the Internet, and the World Wide Web.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Java Beans.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 11 J2ME and MIDlets Rob Pooley
Mobile data. Introduction Wireless (cellular) communications has experienced a tremendous growth in this decade. Most of the wireless users also access.
CIS 375—Web App Dev II WAP. 2 Introduction to WAP WAP ________________________ is an application communication protocol that uses a ______ Browser in.
PKI interoperability and policy in the wireless world.
Framework and application bytecode size CLDC MIDP kXML parser Utility classes Graphics Logic (MIDlet) Application Data (XML file)
DYNAMIC WAP BASED VOTING SYSTEM Bertrand COLAS Submission date: May 2002 School of Computing Bachelor of Engineering with Honours in Computer.
J2ME Presented by May Sayed & Menna Hawash. Outline Introduction “Java Technology” Introduction “What is J2ME?” J2ME Architecture J2ME Core Concepts 
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.
1.8History of Java Java –Based on C and C++ –Originally developed in early 1991 for intelligent consumer electronic devices Market did not develop, project.
TECHNICAL SEMINAR Presented by :- Satya Prakash Pattnaik TECHNICAL SEMINAR By Satya Prakash Pattnaik EC Under the guidance of Mr.
Martin Schmidt / The Silent Revolution Mobile Java.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 14 Various MIDlet examples Rob Pooley
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
1 FAQ’S ABOUT WAP Presented By Abhilash Pillai CSCI 5939-Independent Study.
1. 2 WIRELESS APPLICATION PROTOCOL (WAP) 3 Wireless Application Protocol Introduction Evolution WAP Architecture Working Uses Conclusion.
McLean HIGHER COMPUTER NETWORKING Lesson 6 Types of Browsers & WAP Explanation of browser functions Wireless access to the Internet Description of.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
1 Introduction to J2ME Outline MIDP Building J2ME Apps- Tool J2ME Wireless Toolkit Demo MIDlet Programming -- MIDlet Transition States -- Midlet Skeleton.
Wireless Application Protocol (WAP) William Thau CSC 8560 Dr. L. Cassel.
Mobile Programming Mobile Programming - Ordibehesht Ordibehesht 1390.
1 Android Workshop Platform Overview. 2 What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware.
Enhanced mobile services in Java enabled phones Björn Hjelt Sonera zed ltd Supervisor: Professor Jorma Jormakka.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
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.
E-Business Infrastructure PRESENTED BY IKA NOVITA DEWI, MCS.
Web Programming Language
Java N Amanquah.
By Jeff Heaton An Overview of J2ME By Jeff Heaton
By Zhongyin J. Daye Han-Chung Lee
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
CSCI {4,6}900: Ubiquitous Computing
Presentation transcript:

J2ME and WAP Technologies CSCI – Independent Study Fall 2002 Presented by: Kashif Syed

Introduction Introduction: WAP, J2ME J2ME and WAP: Together forever? J2ME MIDP and WAP Complementary Technologies Conclusions Bibliography

WAP WAP was designed to allow wireless devices to access internet and intranet applications WAP Forum was founded by Phone.com, Ericsson, Nokia and Motorola in June 1997 WAP Forum goal was to offer license-free standard to the wireless industry It’s a browser technology that allows user to browse WAP- enabled web sites. Limitations: Requires key improvements in security Requires Constant airtime for stand-alone or offline operations Limits rich user interface

J2ME J2ME technology is a highly optimized Java runtime environment specifically for small devices. It is NOT a replacement for WAP Benefits: Platform Independence Simple Programming Language Rich Network Functionality Built-in Security Model Rich set of Graphical User Interface

J2ME & WAP: Together forever? What does the future hold? Phone manufacturers will continue to build more sophisticated devices that will support and enhance services and the user’s experience. Java being an established platform, J2ME technology will appeal to the developers, which will lead to better wireless applications.

J2ME & WAP: Together forever?(2) Tools of the trade: WAP was developed on the established infrastructure utilizing the investments already made in programming, applications etc. Many WAP toolkits & J2ME Wireless Toolkits exists which will help developers to create feature-rich content and applications based on J2ME

J2ME & WAP: Together forever?(3) Future challenges and changes: 3G systems will provide high speed data transfer and multimedia data services. J2ME has been selected as the industry standard for wireless devices by the Third Generation Partnership Project.

J2ME & WAP: Together forever?(4) But is it secure? WAP uses WTLS specifications which has notable holes. Data is not secure when it is handed over from WTLS to SSL. J2ME is highly secured as it has built in sandbox. For more security, J2ME applications can be developed which make use of RMI technology.

J2ME & WAP: Together forever?(5) Final Thoughts: In all WAP & J2ME are must haves for those venturing into the mobile space. Combination of WAP, Java and increase of bandwidth will make internet access very easy and enjoyable.

J2ME MIDP and WAP Complimentary Technologies Wireless applications can be developed using WAP technology or using the Mobile Information Device Profile (MIDP) Java plays an important role in both these technologies.  In WAP, Java Servlets and JSPs can be used to generate WML dynamically.  In MIDP applications (also called MIDlets), java is the programming language.

WAP Programming Model The WAP programming model is similar to the Web programming model.

Sample WML Document Hello World Output

MIDP Programming Model It is a mix of Java Programming model and the Web Programming model MIDlet or a group of MIDlets (know as MIDLet Suite) is described in a Java Descriptor (JAD) file. MIDlets run in a MIDlet management software. MIDlets remain installed on the device until they are explicitly removed.

MIDlet Sample Program import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class HelloMIDlet extends MIDlet { // The display for this MIDlet private Display display; // TextBox to display text TextBox box; public HelloMIDlet() { }

MIDlet Sample Program (cont..) public void startApp() { display = Display.getDisplay(this); box = new TextBox("First Example", "Hello World", 20, 0); display.setCurrent(box); } /**Pause is a no-op since there are no background activities or record stores that need to be closed. */ public void pauseApp() { }

MIDlet Sample Program (cont..) /** Destroy must cleanup everything not handled by the garbage collector. In this case there is nothing to cleanup. */ public void destroyApp(boolean unconditional) { } Output:

WAP and MIDP: what can they learn from each other? MIDP provides both high-level and low-level graphics APIs which are important for entertainment applications. MIDlets can be run even when the server is not available. WML provides tags and presentation attributes. It does not define an interaction model. WAP supports phone functionalities like address book. There are no comparable APIs in MIDlet.

Integrating WAP and J2ME MIDP WAP and MIDP are complementing technologies and not competing technologies. MIDlets can be integrated into WML page.

Bibliography Tim Fielden and Ana Orubeondo (InfoWorld Test Center). J2ME and WAP: Together forever? JavaWorld. December Qusay H. Mahmoud. J2ME MIDP and WAP Complementary Technologies. February 2002 Yu Feng and Dr. Jun Zhu. Wireless Java Programming with J2ME. Sams Publishing 2001.