Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Java Platform, Micro Edition
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Software platform for mobile and embedded devices}} {{Update|inaccurate=y|date=November 2024}} {{Use mdy dates|date=October 2020}} {{Java platforms}} '''Java Platform, Micro Edition''' or '''Java ME''' is a [[computing platform]] for development and deployment of [[porting|portable code]] for [[embedded system|embedded]] and [[mobile device]]s (micro-controllers, sensors, gateways, mobile phones, personal digital assistants, TV set-top boxes, printers).<ref>{{cite web|url=http://www.oracle.com/technetwork/java/embedded/javame/index.html|title=Java ME Overview|access-date=February 26, 2017|publisher=[[Oracle Corporation]]}}</ref> Java ME was formerly known as '''Java 2 Platform, Micro Edition''' or '''J2ME'''. The platform uses the [[object-oriented programming|object-oriented]] [[java (programming language)|Java]] programming language, and is part of the [[Java (software platform)|Java software-platform]] family. It was designed by [[Sun Microsystems]] (now [[Oracle Corporation]]) and replaced a similar technology, [[PersonalJava]]. In 2013, with more than 3 billion Java ME enabled mobile phones in the market,<ref>{{Cite web |url=http://www.java.com/en/about/ |title=Learn about Java Technology |access-date=February 15, 2024 |archive-url=https://web.archive.org/web/20130308080819/http://www.java.com/en/about/ |archive-date=March 8, 2013 |url-status=dead }}</ref> the platform was in continued decline as smartphones have overtaken feature phones.<ref>{{cite web|title=Smartphones outsell feature phones (again) for the first time, worldwide |first=Cyrus |last=Farivar |date=Aug 14, 2013 |url=https://arstechnica.com/information-technology/2013/08/smartphones-outsell-feature-phones-for-the-first-time-worldwide/ |website=Ars Technica|access-date=Mar 15, 2024}}</ref> == History == The platform used to be popular in feature phones, such as Nokia's [[Series 40]] models. It was also supported on the [[Bada (operating system)|Bada]] operating system and on [[Symbian]] OS along with native software. Users of [[Windows CE]], [[Windows Mobile]], [[Maemo]], [[MeeGo]] and [[Android software development|Android]] could download Java ME for their respective environments ("proof-of-concept" for Android).<ref>[https://web.archive.org/web/20160819121416/http://davy.preuveneers.be/phoneme/ phoneME for Windows CE, Windows Mobile and Android (development stopped in 2011-06-15)] - in origin [http://davy.preuveneers.be/phoneme/ here]</ref><ref>{{Cite web |url=http://www.netmite.com/android/ |title=App Runner (development stopped in 2010-05-11) |access-date=August 5, 2012 |archive-url=https://web.archive.org/web/20120103192628/http://www.netmite.com/android/ |archive-date=January 3, 2012 |url-status=dead }}</ref> Originally developed under the [[Java Community Process]] as JSR 68, the different flavors of Java ME have evolved in separate JSRs. Java ME devices implement a ''profile''. The most common of these are the [[Mobile Information Device Profile]] aimed at mobile devices such as cell phones, and the [[Connected Device Configuration#Personal Profile|Personal Profile]] aimed at consumer products and embedded devices like [[set-top box]]es and PDAs. Profiles are subsets of ''configurations'', of which there are currently two: the [[Connected Limited Device Configuration]] (CLDC) and the [[Connected Device Configuration]] (CDC).<ref>[http://java.sun.com/javame/technology/ Java ME Technology]</ref> In 2008, Java ME platforms were restricted to [[Java virtual machine|JRE]] 1.3 features and use that version of the class file format (internally known as version 47.0). == Implementations == [[File:MicroEmulator screenshot.png|thumb|MicroEmulator screenshot]] Oracle provides a [[reference implementation]] of the specification, and some configurations and profiles for MIDP and CDC. Starting with the JavaME 3.0 SDK, a [[NetBeans]]-based IDE supported them in a single IDE. In contrast to the numerous binary implementations of the Java Platform built by Sun for servers and workstations, Sun tended not to provide binaries for the platforms of Java ME targets, and instead relied on third parties to provide their own. The exception was an MIDP 1.0 JRE (JVM) for Palm OS.<ref>[http://developers.sun.com/mobility/midp/articles/palm/ MIDP for Palm OS 1.0: Developing Java Applications for Palm OS Devices] January 2002</ref> Sun provides no J2ME JRE for the [[Microsoft Windows Mobile]] (Pocket PC) based devices, despite an open-letter campaign to Sun to release a rumored internal implementation of [[PersonalJava]] known by the code name "Captain America".<ref>[http://forum.java.sun.com/thread.jspa?threadID=408223 CDC and Personal Profile - Open letter to SUN to produce a Personal Java JRE for Pocket PC] {{Webarchive|url=https://web.archive.org/web/20080603153535/http://forum.java.sun.com/thread.jspa?threadID=408223 |date=June 3, 2008 }} 2003</ref> Third party implementations are widely used by Windows Mobile vendors. At some point, Sun released a now-abandoned reference implementation under the name [[phoneME]]. Operating systems targeting Java ME have been implemented by [[NTT DoCoMo|DoCoMo]] in the form of [[DoJa]], and by [[SavaJe]] as SavaJe OS. The latter company was purchased by Sun in April 2007 and now forms the basis of Sun's [[JavaFX Mobile]]. The open-source [[Mika VM]] aims to implement JavaME CDC/FP, but is not certified as such (certified implementations are required to charge royalties, which is impractical for an open-source project). Consequently, devices which use this implementation are not allowed to claim JavaME CDC compatibility. The Linux-based Android operating system uses a proprietary version of Java that is similar in intent, but very different in many ways from Java ME.<ref>[http://kevinboone.net/android_j2me.html Mobile application development: Android compared to J2ME] {{Webarchive|url=https://web.archive.org/web/20180925061723/http://kevinboone.net/android_j2me.html |date=September 25, 2018 }} Feb 2013</ref> === Emulators === * [https://www.oracle.com/java/technologies/sun-java-wireless-toolkit.html Sun Java Wireless Toolkit] (WTK, for short) β is a proprietary Java ME emulator, originally provided by Sun Microsystems, and later by Oracle. * [[MicroEmulator]] (MicroEMU, for short) β is an open-source Java ME emulator. There are other emulators, including emulators provided as part of development kits by phone manufacturers, such as Nokia, [[Sony-Ericsson]], Siemens Mobile, etc. == Connected Limited Device Configuration == {{Main|Connected Limited Device Configuration}} The [[Connected Limited Device Configuration]] (CLDC) contains a strict subset of the Java-class libraries, and is the minimum amount needed for a [[Java virtual machine]] to operate. CLDC is basically used for classifying myriad devices into a fixed configuration. A configuration provides the most basic set of libraries and virtual-machine features that must be present in each implementation of a J2ME environment. When coupled with one or more profiles, the Connected Limited Device Configuration gives developers a solid Java platform for creating applications for consumer and embedded devices. The configuration is designed for devices with 160KB to 512KB total memory, which has a minimum of 160KB of ROM and 32KB of RAM available for the Java platform. === Mobile Information Device Profile === Designed for mobile phones, the [[Mobile Information Device Profile]] includes a [[Graphical user interface|GUI]], and a data storage API, and MIDP 2.0 includes a basic 2D gaming [[Application programming interface|API]]. Applications written for this profile are called [[MIDlet]]s. ''JSR 271: Mobile Information Device Profile 3'' (Final release on Dec 9, 2009) specified the 3rd generation Mobile Information Device Profile (MIDP3), expanding upon the functionality in all areas as well as improving interoperability across devices. A key design goal of MIDP3 is backward compatibility with MIDP2 content. ==== Information Module Profile ==== The [[Information Module Profile]] (IMP) is a profile for embedded, "headless" devices such as vending machines, industrial embedded applications, security systems, and similar devices with either simple or no display and with some limited network connectivity. Originally introduced by [[Siemens AG|Siemens Mobile]] and [[Nokia]] as [[Java Specification Request|JSR]]-195, IMP 1.0 is a strict subset of [[MIDP]] 1.0 except that it does not include [[user interface]] APIs — in other words, it does not include support for the Java package <code>javax.microedition.lcdui</code>. JSR-228, also known as IMP-NG, is IMP's next generation that is based on [[MIDP]] 2.0, leveraging [[MIDP]] 2.0's new security and networking types and APIs, and other APIs such as <code>PushRegistry</code> and <code>platformRequest()</code>, but again it does not include UI APIs, nor the game API. == Connected Device Configuration == {{Main|Connected Device Configuration}} The [[Connected Device Configuration]] is a subset of [[Java SE]], containing almost all the libraries that are not GUI related. It is richer than CLDC. === Foundation Profile === The Foundation Profile is a Java ME Connected Device Configuration (CDC) profile. This profile is intended to be used by devices requiring a complete implementation of the Java virtual machine up to and including the entire Java Platform, Standard Edition API. Typical implementations will use some subset of that API set depending on the additional profiles supported. This specification was developed under the Java Community Process. === Personal Basis Profile === The Personal Basis Profile extends the Foundation Profile to include lightweight GUI support in the form of an [[Abstract Window Toolkit|AWT]] subset. This is the platform that [[BD-J]] is built upon. == JSRs (Java Specification Requests) == === Foundation === {| class="wikitable" |- !JSR #!!Name!!Description |- | [http://www.jcp.org/en/jsr/detail?id=68 68]||J2ME Platform Specification|| |- | [http://www.jcp.org/en/jsr/detail?id=30 30]||CLDC 1.x|| |- | [http://www.jcp.org/en/jsr/detail?id=37 37]||MIDP 1.0|| |- | [http://www.jcp.org/en/jsr/detail?id=118 118]||MIDP 2.x|| |- | [http://www.jcp.org/en/jsr/detail?id=139 139]||CLDC 1.1|| |- | [http://www.jcp.org/en/jsr/detail?id=271 271]||MIDP 3.0||Java ME 3.4 and earlier only, Last Specification for Mobile Phones, Java Language features as Java SE 1.3 |- | [https://jcp.org/en/jsr/detail?id=360 360] ||CLDC 8|| New in Java ME 8 |- | [https://jcp.org/en/jsr/detail?id=361 361] || MEEP 8|| New in Java ME 8, Language feature as Java SE 8, for [[Internet of Everything]] devices |} === Main extensions === {| class="wikitable" |- !JSR #!!Name!!Description!![[Mobile Service Architecture|MSA]] |- | [http://www.jcp.org/en/jsr/detail?id=75 75]||File Connection and PIM API||File system, contacts, calendar, to-do||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=82 82]||[[Java APIs for Bluetooth|Bluetooth]]||Bluetooth serial port communications and file exchanges (OBEX)||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=120 120]||Wireless Messaging API (WMA)|| || |- | [http://www.jcp.org/en/jsr/detail?id=135 135]||[[Java Mobile Media API|Mobile Media API]] (MMAPI)||Audio, video, multimedia||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=172 172]||Web Services API||XML parsers and RPC||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=177 177]||Security and Trust Services API (SATSA)||APDU, Java Card RMI (JCRMI), Public Key Infrastructure (PKI) and cryptography||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=179 179]||[[Location API for Java ME|Location API]]||GPS coordinates, street addresses, orientation sensors, landmark stores||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=180 180]||SIP API|| ||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=184 184]||[[Mobile 3D Graphics API|Mobile 3D Graphics]] (M3G)||High level 3D graphics||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=185 185]||Java Technology for the Wireless Industry (JTWI)||General|| |- | [http://www.jcp.org/en/jsr/detail?id=205 205]||Wireless Messaging API (WMA) 2.0||Sending and receiving SMS and MMS|| |- | [http://www.jcp.org/en/jsr/detail?id=211 211]||Content Handler API (CHAPI)|| ||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=226 226]||Scalable 2D Vector Graphics API for J2ME (M2G)||Handling SVG Tiny||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=228 228]||Information Module Profile{{snd}} Next Generation (IMP NG)|| || |- | [http://www.jcp.org/en/jsr/detail?id=229 229]||Payment API|| ||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=234 234]||[[Advanced Multimedia Supplements]] (AMMS)||MMAPI extensions||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=238 238]||Mobile Internationalization API||Localized resources, locale date and number formatting, locale comparison of strings||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=239 239]||Java Bindings for the OpenGL ES API|| || |- | [http://www.jcp.org/en/jsr/detail?id=248 248]||Mobile Service Architecture (MSA)|| ||{{Ya}} |- | [http://www.jcp.org/en/jsr/detail?id=253 253]||Mobile Telephony API|| || |- | [http://www.jcp.org/en/jsr/detail?id=256 256]||Mobile Sensor API||Reading values from accelerometers, gyroscopes, compasses, thermometers, barometers, and some more|| |- | [http://www.jcp.org/en/jsr/detail?id=257 257]||Contactless Communication API|| || |- | [http://www.jcp.org/en/jsr/detail?id=258 258]||Mobile User Interface Customization API|| || |- | [http://www.jcp.org/en/jsr/detail?id=272 272]||Mobile Broadcast Service API for Handheld Terminals|| || |- | [http://www.jcp.org/en/jsr/detail?id=280 280]||XML API for Java ME|| || |- | [http://www.jcp.org/en/jsr/detail?id=281 281]||IMS Services API|| || |- | [http://www.jcp.org/en/jsr/detail?id=287 287]||Scalable 2D Vector Graphics API 2.0 for Java ME|| || |- | [http://www.jcp.org/en/jsr/detail?id=293 293]||Location API 2.0|| || |- | [http://www.jcp.org/en/jsr/detail?id=298 298]||Telematics API for Java ME|| || |- | [http://www.jcp.org/en/jsr/detail?id=300 300]||DRM API for Java ME|| || |- | [http://www.jcp.org/en/jsr/detail?id=325 325]||IMS Communication Enablers|| || |} === Future === {| class="wikitable" |- !JSR #!!Name!!Description |- | [http://www.jcp.org/en/jsr/detail?id=297 297]||Mobile 3D Graphics API (M3G) 2.0||Proposed Final Draft for 14 Apr, 2009 |} == ESR == The ESR consortium is devoted to Standards for embedded Java. Especially cost effective Standards. Typical applications domains are industrial control, machine-to-machine, medical, e-metering, [[home automation]], consumer, human-to-machine-interface, ... {| class="wikitable" |- !ESR #!!Name!!Description |- | [http://www.e-s-r.net/specifications/ 001]||B-ON (Beyond CLDC)|| B-ON serves as a very robust foundation for implementing embedded Java software. It specifies a reliable initialization phase of the Java device, and 3 kind of objects: immutable, immortal and regular (mortal) objects. |- | [http://www.e-s-r.net/specifications/ 002]||MicroUI||MicroUI defines an enhanced architecture to enable an open, third-party, application development environment for embedded HMI devices. Such devices typically have some form of display, some input sensors and potentially some sound rendering capabilities. This specification spans a potentially wide set of devices. |- | [http://www.e-s-r.net/specifications/ 011]||MWT||MWT defines three distinct roles: Widget Designers, Look and Feel Designers, and Application Designers. MWT allows a binary HMI application to run the same on all devices that provide a compliant MWT framework (embedded devices, cellphones, set-top box TV's, PC's, etc...) allowing for true consistency and ubiquity of applications across product lines (ME, SE, EE). |- | [http://www.e-s-r.net/specifications/ 015]||ECLASSPATH||ECLASSPATH unifies CLDC, CDC, Foundation, SE, and EE execution environments with a set of around 300 classes API. Compiling against CLDC1.1/ECLASSPATH makes binary code portable across all Java execution environments. |} == See also == {{Portal|Computer programming}} * [[Android (operating system)]] * [[iOS]] * [[BlackBerry OS]] * [[Danger Hiptop]] * [[Embedded Java]] * [[JavaFX Mobile]] * [[Mobile development]] * [[Mobile games]] * [[Mobile learning]] * [[Qualcomm Brew]] * [[Smartphone]] == References == {{Reflist|30em}} ;Notes * [http://www.jcp.org/en/jsr/detail?id=232 JSR 232: Mobile Operational Management]{{snd}} an advanced OSGi technology based platform for mobile computing * [http://www.jcp.org/en/jsr/detail?id=291 JSR 291: Dynamic Component Support for Java SE]{{snd}} symmetric programming model for Java SE to Java ME JSR 232 == Bibliography == {{Refbegin}} * {{cite book | first1 = Roy | last1 = Ben Hayun | date = March 30, 2009 | title = Java ME on Symbian OS: Inside the Smartphone Model | publisher = [[John Wiley & Sons|Wiley]] | edition = 1st | page = 482 | isbn = 978-0-470-74318-8 | url = http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0470743182.html }} * {{cite book | first = Jonathan | last = Knudsen | date = January 8, 2008 | title = Kicking Butt with MIDP and MSA: Creating Great Mobile Applications | publisher = [[Prentice Hall]] | edition = 1st | page = [https://archive.org/details/kickingbuttwithm0000knud/page/432 432] | isbn = 978-0-321-46342-5 | url = https://archive.org/details/kickingbuttwithm0000knud/page/432 | url-access = registration }} * {{cite book | first1 = Sing | last1 = Li | first2 = Jonathan | last2 = Knudsen | date = April 25, 2005 | title = Beginning J2ME: From Novice to Professional | publisher = [[Apress]] | edition = 3rd | page = [https://archive.org/details/beginningj2mefro0000lisi/page/480 480] | isbn = 1-59059-479-7 | url = https://archive.org/details/beginningj2mefro0000lisi/page/480 }} {{Refend}} == External links == {{Wikibooks|J2ME Programming}} * [http://java.sun.com/javame/index.jsp Sun Developer Network, Java ME] * [https://web.archive.org/web/20080905191743/http://www.forum.nokia.com/java Nokia's Developer Hub Java pages] * [https://web.archive.org/web/20080907084829/http://www.blogs.s60.com/java/ Nokia S60 Java Runtime blogs] * [https://web.archive.org/web/20090106053708/http://developer.sonyericsson.com/ Sony Ericsson Developer World] * [http://developer.motorola.com/ Motorola Developer Network] {{Webarchive|url=https://web.archive.org/web/20090721165719/http://developer.motorola.com/ |date=July 21, 2009 }} * [http://hotlavasoftware.com/ J2ME Authoring Tool LMA Users Network] * [https://web.archive.org/web/20080810234623/http://developers.samsungmobile.com/ Samsung Mobile Developer's site] * [https://web.archive.org/web/20180821221736/http://developer.sprint.com/ Sprint Application Developer's Website] * [https://web.archive.org/web/20080521160132/http://jbenchmark.com/ Performance database of Java ME compatible devices] * [http://www.microej.com/ MicroEJ platforms for embedded systems] * [https://www.skjapp.com/javame-j2me Book - Mobile Phone Programming using Java ME (J2ME)] {{Webarchive|url=https://web.archive.org/web/20160305180008/http://www.skjapp.com/javame-j2me/ |date=March 5, 2016 }} * [https://web.archive.org/web/20160304053207/http://javafxtuts.com/javafx-tutorials/ Tutorial Master ng, J2ME] {{Java (Sun)}} {{Mobile operating systems}} [[Category:Computing platforms]] [[Category:Java device platform| ]] [[Category:Java platform|Platform, Micro Edition]] [[Category:Java specification requests|Platform, Micro Edition]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Cite book
(
edit
)
Template:Cite web
(
edit
)
Template:Java (Sun)
(
edit
)
Template:Java platforms
(
edit
)
Template:Main
(
edit
)
Template:Mobile operating systems
(
edit
)
Template:Portal
(
edit
)
Template:Refbegin
(
edit
)
Template:Refend
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Snd
(
edit
)
Template:Update
(
edit
)
Template:Use mdy dates
(
edit
)
Template:Webarchive
(
edit
)
Template:Wikibooks
(
edit
)
Template:Ya
(
edit
)
Search
Search
Editing
Java Platform, Micro Edition
Add topic