Sunteți pe pagina 1din 15

PRESENTED BY:- ABHISHEKH BHATT, ANANYA

RATURI, SAKSHAM NAUTIYAL


CONTENTS

 About J2ME
 About java platform
 Why is J2ME required?
 The core concepts used in j2me
 Advantages and Disadvantages of J2ME
WHAT IS J2ME?
 J2ME (Java 2 Platform, Micro Edition) is a technology that
allows programmers to use the java programming
language and related tools to develop and deploy
programs for mobile wireless information devices
 Java ME was designed by Sun Microsystems, acquired
by Oracle Corporation in 2010
 The platform uses the object-oriented Java programming
language.
 It is part of the Java software-platform family.
What is java platform ?
Java Platform, Standard Edition is
a computing platform for development
and deployment of portable
code for desktop and server
Java
environments. editions
Java Platform, Enterprise
Edition (Java EE)is a set odd
specifications for enterprise features Java Java
Java micro
such as distributed computing and web standard
edition
enterprise
edition edition
services.
Java Platform, Micro Edition is
a computing platform for development
and deployment of portable
code for embedded and mobile
devices
These platforms use Java programming
language.
Why is J2ME required?

We need an environment which is adapted for constrained


devices that have limitations on what they can do when
compared to standard desktops. The limitations are:-
 Extremely limited memory
 Small screen size
 Alternative input methods
 Slow processors
To overcome these limitations:-

 J2ME was developed to target intelligent wireless devices and small


computing devices who need to incorporate cross platform functionality
 It is used in devices with limited resources like mobile phones, PDA(
personal digital assistant), micro-controllers, sensors, gateways, TV set-
top boxes, printers)
 Java ME was designed by Sun Microsystems, acquired by Oracle
Corporation in 2010
Core Concepts used in J2ME

J2ME PROFILE
IT is based on three core concepts:-
 Configuration
J2ME
 Profile CONFIGURATION
 Optional packages (includes libraries
and JVM)

HOST OPERATING
SYSTEM
Configuration
A configuration is a
configuration
complete java runtime
environment consisting
of:-
 JAVA virtual
CLDC(connected CDC(connected
machine(VM) to execute limited device device
JAVA byte code configuration) configuration)

 Native code to interface


to the underlying
system
 Set of core runtime
classes
CLDC
connected limited device configuration

 The Connected Limited Device Configuration (CLDC) is a specification


of a frame work for Java ME applications describing the basic set of
libraries and virtual-machine features that must be present in an
implementation. The CLDC is combined with one or more profiles to
give developers a platform for building applications on embedded
devices with very limited resources such as pagers and mobile phones
 It is a 16 bit or 32 bit small computing device
 They use small band width and have 160KB and 512KB of available
memory
CDC
connected device configuration

 The Connected Device Configuration (CDC) is a


specification of a framework for Java ME applications
describing the basic set of libraries and virtual-machine
features that must be present in an implementation.
 Connected device configuration uses a 32 bit architecture
and has at least 2mb of memory
 They implement a complete functional JVM
 They include set up boxes, home appliances, navigation
systems ,smart phones etc.
PROFILE

It adds domain specific classes to a configuration


 To fill in missing functionality
 To support specific uses of a device
Profiles define user interface classes for building interactive
applications
Profiles are built on top of configurations. Because profiles
are specific to the size of the device (amount of memory) on
which an application runs, certain profiles are associated
with certain configurations.
Mobile Information Device Profile

 Designed for mobile phones, the Mobile


Information Device Profile includes a GUI, and a
data storage API, and MIDP 2.0 includes a basic 2D
gaming API.
 Applications written for this profile are
called MIDlets.
 A midlet consists of at least one class
 Almost all new cell phones come with a MIDP
Optional packages

 Set of APIs in support of additional, common behaviours.


 Have a specific dependencies on a particular configuration
and one or more profile
 Examples:-
 RMI optional package
 Bluetooth optional package
 JDBC optional package
Advantages and Disadvantages
Advantages Disadvantages
 improved security and  Accessing device
consistency of resources
applications across
 Multimedia applications
platforms
 Performance intensive
 superior user interfaces
applications
with graphics for games
 Unlike the J2SE, J2ME
 ability to function off-line
devices don’t have a
out of wireless coverage
command prompt.
 no licensing expenses
 Its memory is very
needed for the SDK, which
limited, so operating
means that anyone can
speed is relatively slow
create an application and
market it.

S-ar putea să vă placă și