Computer Science Wi-Fi App using J2ME and MVC Architecture Advisor : Dr. Chung-E Wang Department of Computer Science Sacramento State University Date:

Slides:



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

Pengantar Teknologi Mobile 12
Introduction of J2ME Mobile solutions. Overview What is J2ME. How does J2ME work? Java J2ME Carriers and Products. The Two Configuration of J2ME. Profiles.
Multimedia Network Communications Subject:T0934 / Multimedia Programming Foundation Session:13 Tahun:2009 Versi:1/0.
Agent-Oriented InfoStation Architecture Ivan Minov University of Plovdiv “Paisii Hilendarski“
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.
The road to reliable, autonomous distributed systems
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 10 Java for MIDs Rob Pooley
Architecture of Mobile eLearning Services Ivan Minov, Stanimir Stoyanov.
Quality Assurance and Testing of J2ME Programs for Mobiles Phones.
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.
J2ME RMI 1 Java 2 Platform, Micro Edition Implementation of J2ME RMI Application Farooq Sheikh.
Interactive Visual System By Arthur Evans, John Sikorski, and Patricia Thomas.
J2ME for Palm Speaker: Chen-Nien Tsai Adviser: Kai-Wei Ke.
J2ME Prepared by: - Gaery- Ronny - Alan- Andy. Why Technology for Mobile Devices? The nature of wireless devices is changing Old devices: All the software.
Smart-Sensor Infrastructure in the IPAC Architecture V.Tsetsos 1, V. Papataxiarhis 1, F.Kontos 1, P.Patelis 2, S.Hadjiefthymiades 1, E.Fytros 2, L.Liotti.
PDA Programming Using J2ME Presenter :涂俊凱 Date : 2003/4/8.
Making Cell Phone Games An Overview Ray Ratelis Guild Software, Inc.
Developing J2ME Applications Mobile and Wireless Networks.
The 21th century Repairman Agenda Introduction J2EE J2ME Demonstration.
Cosc 4730 Phone Programming in Java An Introduction.
For more Lectures and Notes Visit
Java 2 Micro Edition Mano Chen Senior Technical Consultant
University of Jyväskylä 1 MODPA Platform Independent Design of Mobile Applications WIM Workshop 2004 Teemu Ihalainen Information Technology Research.
Java Platform, Micro Edition (J2ME)
Java 2 Platform, Micro Edition (J2ME) By Xiaorong Wang.
SM3121 Software Technology Mark Green School of Creative Media.
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.
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.
An Introduction to the Java ME Project Jens A Andersson.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 11 Reality Check: Java Programming in the Real World.
Getting Started with JXTA for J2ME Advisor : Dr. Ching-Long Yeh Report : DI.2, 洪泰昌 ( ) Course: XML 文件管理.
Michael Brockway Advanced Applications Development in Java J2ME -- Introduction l Introduction / Overview l Java 2 Micro Edition n CLDC n MIDP l Examples.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 11 J2ME and MIDlets Rob Pooley
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)
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.
INTRODUCTION TO JAVA AND ANDROID. Slide 2 Our Ecosystem Java Eclipse Android SDK.
A Frame Work For Developing Wireless Mobile Online Applications.
Java 2 Micro Edition The Connected, Limited Device Configuration.
Three small projects for an „Advanced Programming in Java” course Ioan Jurca „Politehnica” University of Timisoara Romania.
INTRODUCTION TO JAVA AND ANDROID. Slide 2 Our Ecosystem Java Eclipse Android SDK.
1 Introduction to Java. 2 * 10% Assignments/ class participation * 10% Pop Quizzes * 05% Attendance * 25% Mid Term * 50% Final Term.
Presentation 11: SOAP on small devices. Ingeniørhøjskolen i Århus Slide 2 af 10 Outline Which small devices? What are the limitations and what kind of.
Presentation 11: SOAP on small devices. Ingeniørhøjskolen i Århus Slide 2 af 10 Outline Which small devices? What are the limitations and what kind of.
Mobile Programming Mobile Programming - Ordibehesht Ordibehesht 1390.
Enhanced mobile services in Java enabled phones Björn Hjelt Sonera zed ltd Supervisor: Professor Jorma Jormakka.
Introduction to JAVA Programming
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.
Introduction to Java Web Programming Gregg Sporar
Visual Mobile Gaming 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
Java programming lecture one
By Jeff Heaton An Overview of J2ME By Jeff Heaton
Presentation transcript:

Computer Science Wi-Fi App using J2ME and MVC Architecture Advisor : Dr. Chung-E Wang Department of Computer Science Sacramento State University Date: 04/25/05 Praveen Chirumamilla

Agenda  Motivation  Purpose  J2ME  MVC Pattern  Project design overview  Improvements  Summary

Motivation  Semester begins – check course schedule - Labs has long waiting lines  out of town – grade check – no computer  Why not use cell phone to do these..?

Purpose  Provide Students facility to schedule appointment, check their grades and class schedule using their cell phones  Explore J2ME, NetBeans Mobile IDE  Understand & implement MVC architecture

NetBeans  Full-featured Java Open Source IDE  Syntax highlighting code editor  Offers unmatched support for J2ME MIDP 2.0 and CLDC 1.1 mobile environment  J2EE development  Performance Profiler  Visual design tool  Sun Public License

Where does J2ME fit in Java 2 Platform? Java™ 2 Platform Servers Java 2 Enterprise Edition (J2EE) Java 2 Standard Edition (J2SE) Optional Packages Optional Packages Java 2 Micro Edition (J2ME) Java Virtual Machine KVM CLDCCDC MIDPFoundation Profile Personal Profile Java Card APIs CardVM Desktop machines Desktop machines High-end consumer devices High-end consumer devices Low-end consumer devices Low-end consumer devices Smart- cards Smart- cards     

J2ME Configurations and Profiles Java HotSpot ™ Java Virtual Machine (JVM) Card VM Java Programming Language Java 2 Enterprise Edition (J2EE) Core APIs Java 2 Standard Edition (J2SE) Core APIs Java 2 Micro Edition Core APIs Personal Profile RMI Profile Other CDC Profiles... Foundation Profile Mobile Information Device Profile Optional Packages Java ™ 2 Platform, Micro Edition (J2ME ™ ) encompasses VMs and core APIs specified via Configurations as well as vertical— or market-specific—APIs specified in Profiles Optional Packages KVM Java Card APIs

Profile?  A collection of Java technology-based APIs that supplement a Configuration to provide capabilities for a specific “vertical” market or device type  Adds features that are specific to a certain device category such as cell phones or PDAs  One profile defined Mobile Information Device Profile

 Targets mobile two-way communication devices implementing J2ME CLDC  Profile addresses Display toolkit, User input methods Persistent data storage using simple record-oriented database model HTTP-based networking using CLDC Generic Connection framework

CLDC and MIDP Architecture MIDP Profile Applications OEM Applications MID Profile CLDC (KVM) Operating System OEM APIs

MIDP Application Lifecycle  MIDP applications are known as “ MIDlets ”  MIDlets move from state to state in the lifecycle, as indicated. Start – acquire resources and start executing Pause – release resources and become quiescent (wait) Destroy – release all resources, destroy threads, and end all activity Pause Active Destroyed startApp destroyApp pauseApp destroyApp

MVC: Model-View-Controller  Model-View-Controller Architectural pattern for building systems Divide system responsibilities into three parts  Model Contains all program data and logic  View Visual representation of model  Controller Defines system behavior by sending user input to model Step by step  User uses controller to change data in model  Model then informs view of change  View changes visual presentation to reflect change

Model-View-Controller Architecture  Model Application data  View Graphical presentation components  Controller Logic for processing user input

Elements of MVC design pattern User ViewController Model notifies of the update registers changes and actions user actions UI presentation

Project overview ViewMVCMIDlet Model Runnable

Improvements  Synchronize the data between SMCD and admissions department  Send as SMS to students of the class when grades are posted

Summary  J2ME, MIDP, MVC Concepts  Project design