Developing Wireless Applications Using Java™ Technology

Total Page:16

File Type:pdf, Size:1020Kb

Developing Wireless Applications Using Java™ Technology Developing Wireless Applications using Java™ Technology Bill Day [email protected] www.billday.com Technology Evangelist Sun Microsystems Computing Is Ubiquitous l Mainframe era: one computer, many people l PC era: one person, one computer l As computing becomes ubiquitous: one person uses many computers, and these computers are networked 1 Agenda l Java™ 2 Platform and J2ME™ Platform l J2ME Platform and Mobile Service Technologies l CLDC Internals and Details l MIDP Details l Availability and Resources Java™ 2 Platform and J2ME™ Platform 2 Java™ 2 Platform Java™ 2 Platform, Micro Optional Edition (J2ME™) encompasses Packages VMs and core APIs specified via Optional Configurations as well as vertical— Packages or market-specific—APIs specified in Profiles Java 2 Enterprise Other Java 2 Personal RMI CDC Edition Profile Profile Profiles Standard ... (J2EE) Edition Core APIs (J2SE) Foundation Mobile Information Profile Device Profile Core APIs Java Java 2 Micro Edition Core APIs Card APIs Java Programming Language Java HotSpot ™ Java Virtual Machine (JVM) KVM Card VM What Is a Configuration? l A configuration defines the minimum Java™ technology libraries and virtual machine capabilities that an application developer/content provider can expect to be available on implementing devices l A J2ME platform configuration defines a minimum Java platform for a family of devices u Broad range of devices in different areas u Similar requirements of memory size and processing capabilities 3 Configurations l May not contain any optional features l Defined through the Java Community ProcessSM initiative (JCP) l Subject to compatibility tests What Is a Profile? l A collection of Java™ technology-based APIs that supplement a Configuration to provide capabilities for a specific vertical market or device type l Defined through Java Community Process initiative l Subject to compatibility tests 4 The J2ME™ Platform and Mobile Service Technologies J2ME Platform Connected, Limited Device Configuration (CLDC) l Targeted at devices with u 160KB to 512KB total memory available for Java™ technology u Limited power (often battery) u Limited, perhaps intermittent connectivity to a network (often wireless) u Extremely constrained UIs, small screens l CLDC 1.0 specification available for free download now l Sun provides CLDC reference implementation built using the KVM 5 Mobile Information Device Profile (MIDP) l Targets mobile two-way communication devices implementing J2ME CLDC l Profile addresses u Display toolkit, User input methods u Persistent data storage using simple record-oriented database model u HTTP-based networking using CLDC Generic Connection framework l MIDP 1.0 spec and implementation available for download now Example J2ME™ Technology Wireless Device Stack Your Yellow Pages, train MIDlet schedules and ticketing, games… Mobile Information UI, HTTP Device networking... Profile J2ME core APIs CLDC = Threads, no Floats… KVM + KVM J2ME Core 32-bit RISC, 256K ROM, APIs 256K Flash, 64K RAM in this DSP chip example (e.g., ARM) 6 What About Web Content for Mobile Devices? l Markup languages in use today to deliver Web content to device browsers: u Compact HTML (C-HTML) is an HTML-based markup deployed to millions of users in NTT DoCoMo’s i-mode network u The WAP Forum’s Wireless Markup Language (WML) is an emerging standard for content (data) delivered to mobile devices u HTML dominates Web content worldwide l WAP specifies its own protocols (Wireless Session Protocol, Wireless Transaction Protocol, etc.) Wireless Web Content Distribution Carriers Client Content or Wireless Devices Producers Portals Static Web Server Web or WML Content or WAP Browser Gateway Java Apps Dynamic Content Content Transcoding Java Application Manager Applicati MID Profile Java Applicationon Applications DistributDistribution J2ME CLDC ion 7 Example Java™ Technology Application Loading Process Advertise User JAM App on Selects Downloads Web Page App App Web Page (Name, Descriptor Network Transfer Java Application Version, File Manager Size, …) Jar File The Future: Transcoding and XHTML l Transcoders are becoming more capable and widely used l WML, C-HTML, and HTML are converging towards XHTML u XHTML is the re-writing of HTML as an XML- based markup language u XHTML Basic will be renderable everywhere u WAP Forum and W3C collaborating on XHTML WML The not too distant XHTML CHTML future... HTML 8 CLDC Internals and Details Scope of the CLDC Specification l Specifies VM features required of CLDC implementation in terms of additions to and deviations from “The Java™ Virtual Machine Specification” by Lindholm and Yellin l Specifies requirements for interfaces and APIs for the following: u Input/output, Networking u Security model u Internationalization features 9 Beyond the CLDC Scope l Specified in Profiles to be implemented on top of the CLDC: u User interface support u Event handling u High-level application model u Persistence support l One example specification of these remaining APIs: Mobile Information Device Profile (MIDP) CLDC Language and VM Compatibility l General goal: u Full Java programming language and Virtual Machine Specification compatibility l Only language-level exception: u Floating point not in CLDC 1.0 n No hardware floating point support on most devices due to space limitations n Manufacturers and/or developers may choose to include their own floating point, however 10 CLDC Language and VM Compatibility l VM Implementation differences: u No Java™ Native Interface (JNI) u No reflection u No thread groups u No weak references u No finalization u New implementation of bytecode verification using preverifier and bytecode annotations CLDC Libraries l Classes inherited from Java 2 Platform, Standard Edition (J2SE version 1.3) are in packages: u java.lang.* u java.util.* u java.io.* l New classes introduced by CLDC are in package: u javax.microedition.* 11 CLDC Libraries: java.lang.* l java.lang.Object java.lang.Class l java.lang.Runtime java.lang.System l java.lang.Thread java.lang.Runnable l java.lang.String java.lang.StringBuffer l java.lang.Math java.lang.Throwable l java.lang.Byte java.lang. Long l java.lang.Integer java.lang.Boolean l java.lang.Character java.lang.Short CLDC Libraries: java.util.* l java.util.Vector java.util.Stack l java.util.Hashtable java.util.Enumeration l java.util.Random java.util.Calendar 12 CLDC Libraries: java.io.* l java.io.InputStream java.io.OutputStream l java.io.Reader java.io.Writer l java.io.DataInput java.io.DataOutput l java.io.InputStreamReader l java.io.OutputStreamReader l java.io.ByteArrayInputStream l java.io.ByteArrayOutputStream l java.io.PrintStream Comments on CLDC Libraries l Internationalization u Limited support for the translation of Unicode characters to and from a sequence of bytes u Implemented using Readers and Writers u By default, the only character encoding for which a converter is provided in ISO-LATIN1 u Localization implemented by manufacturer l Property support u No java.util.Properties class u Properties read using System.getProperty(String key) u Limited set of CLDC-specific properties supported 13 Networking, I/O and Storage Libraries l Standard Java technology networking, I/O and storage libraries are too large for CLDC devices u More than 100 classes u Total static size of classfiles more than 200 KB u Original classes were never designed for small devices Networking, I/O and Storage Libraries l CLDC specifies an alternative Generic Connection framework u More coherence in supporting different types of I/O u Consistent way of supporting different protocols u Improved portability of applications u Smaller footprint 14 Generic Connection Possibilities General form: Connector.open("<protocol>://<address>:<parameters>"); Files: Connector.open("file://billday.txt"); HTTP: Connector.open("http://www.billday.com"); Sockets: Connector.open("socket://129.144.111.222:9000"); Communication ports: Connector.open("comm://9600:18N"); MIDP Details 15 Scope of the MIDP Specification l Primary goals: u Size: MIDP implementation must fit in small footprint (128KB ROM) u Efficiency: n must run on low-end microprocessors n must run in with limited heap size (32–200KB RAM) n minimal creation of garbage u Time to market is critical for manufacturers of Mobile Information Devices Beyond the MIDP Scope l To be implemented by device manufacturers, operators, or third party developers: u How an application actually gets on the device u The end-to-end security model u System- or OEM-specific technologies 16 MIDP Application Lifecycle l MIDP applications are known as “MIDlets” l MIDlets move from state to state in the lifecycle, as indicated. u Start – acquire resources and start executing u Pause – release resources and become quiescent (wait) u Destroy – release all resources, destroy threads, and end all activity MIDlet Packaging l MIDlets are packaged in a JAR file including u Class files of the MIDlet(s) u Resource files u Manifest with application properties l Application Descriptors accompany MIDlet JARs and provide information including u Configuration properties u Pre-download properties n Size, version, storage requirements 17 MIDP Libraries l The MIDP specifies APIs for: u Persistent Storage u Networking u Timers u User Interface MIDP Persistent Storage l Lightweight record oriented database u Device independent API u Unique record ID for each record within a store u Records are arrays of bytes u Shared within MIDlet suite u Atomic update for single records u Support for enumeration, sorting and filtering
Recommended publications
  • Interactive Applications for Digital TV Using Internet Legacy – a Successful Case Study
    Interactive Applications for Digital TV Using Internet Legacy – A Successful Case Study Márcio Gurjão Mesquita, Osvaldo de Souza B. The Big Players Abstract—This paper describes the development of an interactive application for Digital TV. The architectural Today there are three main Digital TV standards in the decisions, drawbacks, solutions, advantages and disadvantages world. DVB is the European standard, ATSC is the of Interactive Digital TV development are discussed. The American one and ISDB is the Japanese standard. Each one application, an e-mail client and its server, are presented and has its own characteristics, advantages and disadvantages. the main considerations about its development are shown, The European standard offers good options for interactive especially a protocol developed for communication between Internet systems and Digital TV systems. applications, the Japanese is very good on mobile applications and the American is strong on high quality Index Terms—Protocols, Digital TV, Electronic mail, image. Interactive TV C. The Brazilian Digital Television Effort Television is one of the main communication media in I. INTRODUCTION Brazil. More than 90% of Brazilian homes have a TV set, EVEOLOPING software applications has always been a most of which receive only analog signals [1]-[2]. The TV D hard task. When new paradigms appear, new plays an important role as a communication medium difficulties come along and software designers must deal integrator in a country of continental size and huge social with it in order to succeed and, maybe, establish new design differences as Brazil, taking information, news and and programming paradigms. This paper describes the entertainment to the whole country.
    [Show full text]
  • Proceedings of the 2Nd Annual Digital TV Applications Software Environment
    NISTIR 6740 Proceedings of the 2nd Annual Digital TV Applications Software Environment (DASE) Symposium 2001: End-to-End Data Services, Interoperability & Applications Edited by: Alan Mink Robert Snelick Information Technology Laboratory June 2001 National Institute of Standards and Technology Technology Administration, U.S. Deportment of Commerce U.S. Department of Commerce Donald L Evans, Secretary National Institute of Standards and Technology Karen H. Brown, Acting Director Table of Contents Foreword ..................................................................................…………………………………………… vi Symposium Committee ................................................................................................................................ vii Opening Remarks Welcome to NIST Alan Mink A TSC Introduction Marker Richer, Executive Director. Advanced Television Systems Committee (ATSC) 1st Day Keynote Gloria Tristani, Commissioner, Federal Communications Commission (FCC) ATP at NIST Marc Stanley, Acting Director, Advanced Technology Program (ATP) 2nd Day Keynote Christopher Atienza. Associate Director of Technology, Public Broadcasting System (PBS) Session 1: DASE Components DASE Overview, Architecture & Common Content Types...............................................................1 Glenn Adams (ATSC T3/SI7 Acting Chair), XFSI, Inc DASE Declarative Applications & Environment .............................................................................31 Glenn Adams (ATSC T3/SI7 Acting Chair), XFSI, Inc DASE API Object Model
    [Show full text]
  • Semi-Automated Mobile TV Service Generation
    > IEEE Transactions on Broadcasting < 1 Semi-automated Mobile TV Service Generation Dr Moxian Liu, Member, IEEE, Dr Emmanuel Tsekleves, Member, IEEE, and Prof. John P. Cosmas, Senior Member, IEEE environments from both hardware and software perspectives. The development results on the hardware environment and Abstract—Mobile Digital TV (MDTV), the hybrid of Digital lower layer protocols are promising with reliable solutions Television (DTV) and mobile devices (such as mobile phones), has (broadcast networks such as DVB-H and mobile convergence introduced a new way for people to watch DTV and has brought networks such as 3G) being formed. However the new opportunities for development in the DTV industry. implementation of higher layer components is running Nowadays, the development of the next generation MDTV service relatively behind with several fundamental technologies has progressed in terms of both hardware layers and software, (specifications, protocols, middleware and software) still being with interactive services/applications becoming one of the future MDTV service trends. However, current MDTV interactive under development. services still lack in terms of attracting the consumers and the The vast majority of current commercial MDTV service service creation and implementation process relies too much on applications include free-to-air, Pay Television (PayTV) and commercial solutions, resulting in most parts of the process being Video-on-Demand (VoD) services. When contrasted with the proprietary. In addition, this has increased the technical demands various service types of conventional DTV, MDTV services for developers as well as has increased substantially the cost of are still unidirectional, offering basic services that lack in producing and maintaining MDTV services.
    [Show full text]
  • Downloads and Documentation Are 12 Implementation Details
    Java™ Technology Concept Map SM 2 Sun works with companies become members of the JCP by signing JSPA has a is which What is Java Technology? onthe represented are supports the development of ... Java 0 within the context of the Java Community Process, Java Community Process The Java Specification Participation Programming language Java object model that is an that by is organized defines This diagram is a model of Java™ technology. The diagram begins with members join the JCP by signing the provides ... documentation 42 may function as ... developers 23 Agreement is a one-year renewable is defined by the ... Java Language Specification 43 logo owns the ... Java trademark 1 support the development of ... Java 0 agreement that allows signatories to is used to write ... programs 24 make(s) ... SDKs 29 make ... SDKs 29 Class libraries are An application programming interface is the Particular to Java, Abstract classes permit child explains Java technology by placing it in the context of related Java forums often discuss Java in Java developer become members of the JCP. is used to write ... class libraries 10 organized collections written or understood specification of how a interfaces are source code classes to inherit a defined method makes versions of a ... JVM 18 make versions of a ... JVM 18 Companies include Alternatively, developers can sign the syntax and 4 of prebuilt classes piece of software interacts with the outside files that define a set of or to create groups of related communities provides certify Java applications using IBM, Motorola, more limited Individual Expert The Java language has roots in C, Objective C, and functions used to world.
    [Show full text]
  • Entrevista Promoções Agenda De Eventos
    ENTREVISTA Bjjarne Stroustrup, o criador do C++ PROMOÇÕES AGENDA DE http://reviista.espiiriitolliivre.org | #024 | MarÇo 2011 EVENTOS Linguagens de ProgramaÇÃo Grampos Digitais ­ PÁg 21 TV pela Internet no Ubuntu ­ PÁg 70 SumÁrio e PaginaÇÃo no LibreOffice ­ PÁg 57 Navegando em pequenos dispositivos ­ PÁg 74 Teste de IntrusÃo com Software Livre ­ PÁg 65 Linux AcessÍvel ­ PÁg 88 Alterando endereÇos MAC ­ PÁg 69 Mulheres e TI: Seja tambÉm uma delas ­ PÁg 90 COM LICENÇA Revista EspÍrito Livre | Março 2011 | http://revista.espiritolivre.org |02 EDITORIAL / EXPEDIENTE EXPEDIENTE Diretor Geral Programando sua vida... JoÃo Fernando Costa Júnior Neste mês de março, a Revista EspÍrito Livre fala de um assunto que para muitos É um bicho de 7 cabeças: Linguagens de ProgramaÇÃo. Seja você Editor desenvolvedor ou nÃo, programar É um ato diÁrio. Nossos familiares se JoÃo Fernando Costa Júnior programam para seus afazeres, seu filho se programa para passar no vestibular, você se programa para cumprir as suas obrigaÇÕes. Programar­se É RevisÃo um ato cotidiano, e nÃo exclusivo dos desenvolvedores de programas. EntÃo AÉcio Pires, Alessandro Ferreira Leite, porque inÚmeras pessoas materializam na programaÇÃo os "seus piores Alexandre A. Borba, Carlos Alberto V. pesadelos? Será algo realmente complexo? Será fÁcil atÉ demais? A quem Loyola Júnior, Daniel Bessa, Eduardo Charquero, Felipe Buarque de Queiroz, diga e atÉ ignore tais dificuldades encontradas por várias pessoas nesse ramo Fernando Mercês, Larissa Ventorim da computaÇÃo, que sempre carece de mão­de­obra qualificada para o Costa, Murilo Machado, OtÁvio mercado. Alunos de diversos cursos de computaÇÃo encontram nesta parte da Gonçalves de Santana, Rodolfo M.
    [Show full text]
  • Java TV API Technical Overview to [email protected]
    Java TV™ API Technical Overview: TheJavaTVAPIWhitepaper Version1.0 November14,2000 Authors: BartCalder,JonCourtney,BillFoote,LindaKyrnitszke, DavidRivas,ChihiroSaito,JamesVanLoo,TaoYe Sun Microsystems, Inc. Copyright © 1998, 1999, 2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303 USA All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Sun, Sun Microsystems, the Sun Logo, Java, Java TV, JavaPhone, PersonalJava and all Java-based marks, are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. The OPEN LOOK and SunTM Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun's licensees who implement OPEN LOOK GUIs and otherwise comply with Sun's written license agreements.
    [Show full text]
  • Objektorienteeritud Programmeerimine
    Objektorienteeritud programmeerimine 12. veebruar 2018 Marina Lepp 1 Milline järgmistest ansamblitest meeldib teile kõige rohkem? 1. Curly Strings 17% 15% 2. Patune pool 14% 3. Trad.Attack! 13% 11% 4. Miljardid 9% 9% 5. Metsatöll 8% 6. Smilers 5% 7. Terminaator 8. Winny Puhh 9. Ei oska öelda Smilers MiljardidMetsatöll Curly StringsPatune poolTrad.Attack! TerminaatorWinny PuhhEi oska öelda 2 Tänane plaan • Sissejuhatus – organisatoorselt • Milleks? • Kuidas? • Millal? • Kas? – teemasse • Java • Esimene programm • … • … 3 Milleks OOP? • Silmaring, maailmavaade – objektid, subjektid • Õppimine – jätk esimese semestri programmeerimisele • Programmeerimine • Programmeerimise alused, Programmeerimise alused II 4 Eeldus mitmetele ainetele • LTAT.03.005 Algoritmid ja andmestruktuurid • LTAT.05.003 Tarkvaratehnika • LTAT.05.004 Veebirakenduste loomine • MTAT.03.032 Kasutajaliideste kavandamine • MTAT.03.158 Programmeerimine keeles C++ 5 Keel • Java – populaarsus • http://www.tiobe.com/index.php/content/paperinfo/tp ci/index.html – töökuulutused • http://www.cvkeskus.ee • http://www.cv.ee/too/infotehnoloogia/q-java 6 Inimesed on erinevad • Siin võib-olla neid, kes – õpivad hoopis muud eriala – programmeerivad igapäevaselt suure innuga – said Programmeerimises hinde E – on edukalt osalenud (rahvusvahelisel) informaatikaolümpiaadil – suhtlevad mingis programmeerimiskeeles palju vabamalt kui mistahes inimkeeles – on selle aine püsikliendid – … 7 Mis valdkonnast te olete? 1. humanitaarteaduste ja 90% kunstide valdkond 2. sotsiaalteaduste valdkond 3. meditsiiniteaduste valdkond 4. loodus- ja täppisteaduste valdkond 5. muu 3% 3% 1% 2% 1. 2. 3. 4. 5. 8 Programmeerimise (Progr. alused II) kursus oli 1. väga lihtne 31% 2. lihtne 29% 3. paras 4. keeruline 21% 5. väga keeruline 12% 7% 1. 2. 3. 4. 5. 9 Millise hinde saite Programmeerimise (Progr. alused II) kursusel? A. A 3%2% B.
    [Show full text]
  • Java Technology in Next- Generation Optical Disc Formats
    Java Technology Goes to the Movies: Java Technology in Next- Generation Optical Disc Formats Bill Foote Erik Moll Staff Engineer System Architect Sun Microsystems, Inc. Philips Applied Technologies http://java.sun.com http://www.philips.com Session TS-7091 2005 JavaOneSM Conference | Session TS-7091 1 Understanding JavaTM Technology in Blu-ray Disc Java Technology: Quality interactivity for high-def movies The old DVD format will be replaced by one capable of HDTV, giving better video and audio quality. By itself, this may not be enough for the format to succeed. Java technology gives Blu-ray Disc the competitive advantage of high quality interactivity, based on the proven Java platform. We’ll describe the technical essentials for this new format. 2005 JavaOneSM Conference | Session TS-7091 | 2 Agenda What’s Blu-ray Disc? Why Java Technology on Blu-ray Disc? BD-J’s Basis—PBP and DVB-GEM Graphics and UI Security Aspects Application Cache Authoring What’s Next? 2005 JavaOneSM Conference | Session TS-7091 | 3 Agenda What’s Blu-ray Disc? Why Java Technology on Blu-ray Disc? BD-J’s Basis—PBP and DVB-GEM Graphics and UI Security Aspects Application Cache Authoring What’s Next? 2005 JavaOneSM Conference | Session TS-7091 | 4 Blu-ray Context HD Digital Broadcast Broadband Access Broad-casters HD-TV BD-ROM Disc _BD Device Movie Studios HD Pre-Packaged Distribution BD-RE Blu-ray will have both a pre-packaged Disc format for distribution of movies and HD Broadcast other HDTV content, and a recordable Recording format. Interaction with Java technology is supported, and internet connectivity is optional.
    [Show full text]
  • Programmation Java/Version Imprimable — Wiki
    Programmation Java/Version imprimable — Wiki... https://fr.wikibooks.org/w/index.php?title=Prog... Programmation Java Une version à jour et éditable de ce livre est disponible sur Wikilivres, une bibliothèque de livres pédagogiques, à l'URL : https://fr.wikibooks.org/wiki/Programmation_Java Vous avez la permission de copier, distribuer et/ou modifier ce document selon les termes de la Licence de documentation libre GNU, version 1.2 ou plus récente publiée par la Free Software Foundation ; sans sections inaltérables, sans texte de première page de couverture et sans Texte de dernière page de couverture. Une copie de cette licence est incluse dans l'annexe nommée « Licence de documentation libre GNU ». 1 sur 137 02/03/2020 à 00:50 Programmation Java/Version imprimable — Wiki... https://fr.wikibooks.org/w/index.php?title=Prog... Sections 1 Introduction 1.1 Introduction au langage Java 1.1.1 Historique de Java 1.1.2 Présentation du langage 2 Machine virtuelle 2.1 Introduction à la machine virtuelle Java 2.1.1 Environnement d'exécution 2.1.2 Chargeur de classe 2.1.3 Gestionnaire de mémoire 2.2 Avantage de l'utilisation de la machine virtuelle 2.3 Les interfaces de programmation (API) Java : des fonctionnalités énormes 2.4 La lenteur de Java 2.5 Processeur Java 3 Installation 3.1 Installation de Java 4 NetBeans 4.1 Installation de NetBeans 4.2 Configuration 4.3 Utilisation 4.3.1 Gestion de versions 4.4 Principaux raccourcis claviers 4.5 Plugins 4.6 Références 5 Eclipse 5.1 Installation de Eclipse 5.2 Utilisation de Eclipse 6 Visual Studio Code 6.1 Langages supportés 6.2 Utilisation 6.3 Références 7 Bases du langage 7.1 Point d'entrée du programme 7.2 Blocs d'instructions 7.3 Références 8 Premier programme 8.1 Premier programme 8.1.1 Le fichier source 8.1.2 Explications sur le langage 8.1.3 Compilation du fichier source 8.1.4 Exécution du programme 8.2 Voir aussi 8.3 Références 9 Commentaires 9.1 Principe 9.2 Syntaxe 9.2.1 Exemples 10 Types de base 10.1 Liste 10.2 Caractères pour char et String 2 sur 137 02/03/2020 à 00:50 Programmation Java/Version imprimable — Wiki..
    [Show full text]
  • Embedded Java: Smart, Connected, Pervasive Terrence Barr Senior Technologist, Mobile and Embedded, Oracle Copyright © 2011, Oracle And/Or Its Affiliates
    Embedded Java: Smart, Connected, Pervasive Terrence Barr Senior Technologist, Mobile and Embedded, Oracle Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 1 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 2 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved. JAVA (LIKE SPACE) IS BIG. REALLY BIG. Servers Desktop Embedded TV Mobile Card BD-J Key APIs Java EE JavaFX Java TV MSA Platform Java SE Java ME Java Card Language Java Language Java Platform 3 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved. Java Everywhere 4 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved. Java Metrics • 5 billion Java Cards in use • 3 billion Java-based handsets • 850+ million Java desktops • 120+ million Java-based TV devices • All Blu-ray disc players ship with Java • Many more embedded devices with Java everywhere 5 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved. Run Anywhere 6 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved. Java: The Best Platform for Embedded
    [Show full text]
  • Sistema Gestor De Eventos:Congresso Conectados Em Cristo
    Thiago Henrique da Silva Zanirato Sistema Gestor de Eventos:Congresso Conectados em Cristo Assis­SP 2015 Sistema Gestor de Eventos – Congresso Conectados em Cristo Trabalho de Conclusão de Curso apresentado ao Instituto Municipal de Ensino Superior de Assis, como requisito do Curso de Análise e Desenvolvimento de Sistemas. Orientando: Thiago Henrique da Silva Zanirato Orientador: Osmar Machado Assis­SP 2015 DEDICATÓRIA Dedico esse trabalho integralmente a meu pai, Paulo Vitor Zanirato, que nunca abortou os meus sonhos, pelo contrário, foi o primeiro patrocinador deles e o maior incentivador em todos os momentos. Foi o primeiro a me ensinar sobre me comprometer com as atividades que eu preciso executar em todas as áreas da minha vida. AGRADECIMENTOS Mesmo parecendo clichê, é a Deus minha gratidão. A graça Dele que me alcançou em cada um dos dias que eu investi na elaboração desse projeto. À meu amigo e irmão homem que não tive, Luis Gustavo Gonçalves Medeiras, com quem eu aprendi a ser profissional, que não me deixou desistir quando pensei em abortar o projeto, que investiu horas e horas me ajudando a aprender o bendito Java, sem você meu amigo, certamente seria tudo mais difícil, meus sinceros agradecimentos a ti. À minha mãe Rose, que ora por mim todos os dias pela manhã, que sempre apoiou e abençoou os meus planos. “Em Cristo estão escondidos todos os tesouros da sabedoria e da ciência.” Colossenses 2.3 RESUMO Atualmente, o processo de inscrição em eventos precisa ser rápido e bem dinâmico. Independentemente do segmento dos eventos, o usuário quer praticidade e segurança durante uma atividade como essa.
    [Show full text]
  • Programming for J2ME
    Programming for J2ME Romulus Grigoras ENSEEIHT Life-cycle of Java Applications ● Unmanaged (supported by CDC and CDLC, but not by MIDP) public class NeverEnding extends Thread { public void run(){ while( true ){ try { sleep( 1000 ); } catch( InterruptedException e ){ } ● Managed } } – Applets public static void main( String[] args ){ NeverEnding ne = new NeverEnding(); – Midlets ne.start(); } – Xlets } Bibliography: http://developers.sun.com/techtopics/mobility/midp/articles/models/ The Applet Model ● java.applet.Applet (extends java.awt.Panel) ● supported by the Personal Profile ● states – loaded public class BasicApplet extends java.applet.Applet { public BasicApplet(){ – stopped // constructor - don't do much here } – started public void init(){ // applet context is ready, perform all one-time – destroyed // initialization here } public void start(){ // the applet is being displayed } public void stop(){ // the applet is being hidden } public void destroy(){ <applet code="BasicApplet.class " // free up all resources width="300" height="200 " > } </applet> } The Midlet Model MIDP 1.0 Specification: ● The application management software provides an environment in which the MIDlet is installed, started, stopped, and uninstalled. It is responsible for handling errors during the installation, execution, and removal of MIDlet suites and interacting with the user as needed. ● It provides to the MIDlet(s) the Java runtime environment required by the MIDP Specification. ● javax.microedition.midlet.MIDlet MIDP Event Handling ● Bibliography: http://developers.sun.com/techtopics/mobility/midp/articles/event/
    [Show full text]