+ All Categories
Home > Documents > Java™ Technology Overview JC, J2ME, J2SE, J2EE

Java™ Technology Overview JC, J2ME, J2SE, J2EE

Date post: 31-Dec-2016
Category:
Upload: nguyencong
View: 223 times
Download: 3 times
Share this document with a friend
43
2 Java Technology Overview JC, J2ME, J2SE, J2EE Bruno Ferreira de Souza Java Technologist Sun Microsystems, Inc.
Transcript
Page 1: Java™ Technology Overview JC, J2ME, J2SE, J2EE

2

Java™ Technology OverviewJC, J2ME, J2SE, J2EEBruno Ferreira de SouzaJava TechnologistSun Microsystems, Inc.

Page 2: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-674 2

Java TechnologyEnabled Desktop Workgroup

Server

Java TechnologyEnabled Devices

High-EndServer

Java™ 2 Platform Editions

Page 3: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-674 5

• Security• Performance• Deployment• Interoperability

• Security• Performance• Deployment• Interoperability

• DatabaseAccess (JDBC)

• ComponentModel (Beans)

• RuntimeEnvironment

• DatabaseAccess (JDBC)

• ComponentModel (Beans)

• RuntimeEnvironment

JDK 1.0JDK 1.0

• VirtualMachine

• CoreClasses

• VirtualMachine

• CoreClasses

JDK 1.1JDK 1.1 Java 2Java 2

1995 1999Enterprise Focus

How the Java™Platform Matured

Page 4: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-716, Andy Streich 6

Why Put Java ™ Technolo gyIn a Smart Card?

• Why not? One platform, from Smart Cardsto Super Computers

• Scalable technology

• OOP for smart cards

• Ease and effectiveness of the Javaprogramming language

• Web browser model…

Page 5: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-716, Andy Streich 8

The Smallest Java ™ Platform

• Smart cards are small computing devices– Clock and power come from the reader– Clock speeds starting from 3.5 MHz– I/O starting from 9600 baud– 8-, 16-, and 32-bit processors

• Our target minimum platform:– 512 bytes RAM (I/O, stack)– 24 KB ROM (VM, applets, native functions)– 8 KB EEPROM (applets, object heap)– 8-bit processor

Page 6: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-716, Andy Streich 12

Java Card ™ Technolo gy-basedProducts

Page 7: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-716, Andy Streich 10

This is more than 95% of the card industry!

Java Card ™ Technolo gySupporters

• Card Manufacturers– Bull CP8– De La Rue– Gemplus– Giescke & Devrient– Hitachi– IBM– InCard– Keycorp– NEC Corporation– Oberthur– Orga– Schlumberger– Toshiba– TL Malaysia

• Silicon Vendors– Dallas Semiconductor– Inside Technologies– Motorola– NCT/Advancel Logic– Siemens– Vanguard

• System Integrators– Centura Software– NatWest, Platform 7– Wave Systems

• Financial Institutions– Visa– Sermepa– Citibank

Page 8: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-716, Andy Streich 13

What Is Java Card ™ Technolo gy?

• Java™ programming language forsmart cards– Standards based, OO programming for smart cards

• The Java Card technology defines:– A subset of the Java programming language and

virtual machine definition suitable for smart cardapplications

– Core and extension Java Card APIs– Java Card Runtime Environment (JCRE)

Page 9: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-716, Andy Streich 23

Java Card ™

Language/VM Subset

• Support a minimal set of essentiallanguage elements

• Retain true OOP

• Let go of everything else

• Revolutionary advance over currentassembly and C programming

Page 10: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-716, Andy Streich 24

Supported

• Primitive data types– boolean

– byte

– short

– int

• Objects

• Arrays

• Virtual methods

• Dynamic allocation

• Packages

• Exceptions

• Interfaces

Page 11: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-716, Andy Streich 25

Not Yet Supported

• Float, double, long

• Char, strings

• Multi-dimensionalarrays

• First class classes(reflection)

• Security manager

• Class loader

• Garbage collection

• Finalization

• Threads

Page 12: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-716, Andy Streich 48

Load/Install protocol

Development Flowfor Java Card ™ Technolo gy

Java Card

Java CardConverter

Java Bytecodes

(*.class)

Source(*.java)

StandardJava

Compiler

Any off-the-shelf compiler

Java CardByte codes

(*.cap)

Page 13: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 4

Java ™ 2 Platform, Micro Edition(J2ME) and Profiles

There is one Java ™

platform, butmultiple profiles

Java HotSpot JVM KVM Card VM

Java Language

Java 2Enterprise

Edit ionJava 2

StandardEdit ion

Profile

Profile

Java 2 Micro Ed ition

TVProfile

WebPhoneProfile

CarProfile

PersonalProfile

SmartCard

Profile

WirelessProfile

HandheldProfile

Profile

Profile

Page 14: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-712, Shipkowitz/Russell 4

48 products with a microprocessor

The Digital Home Today

Page 15: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-712, Shipkowitz/Russell 5

Scalabilit y Within theConsumer Embedded Market

Page 16: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-712, Shipkowitz/Russell 6

PrintersPrinters

Medical DevicesMedical Devices

AerospaceAerospaceAutomation: Industrial/RetailAutomation: Industrial/Retail

Measurement DevicesMeasurement Devices

Routers and SwitchesRouters and Switches

Commercial Embedded Market

Page 17: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-712, Shipkowitz/Russell 7

Embedded DeviceCharacteristics

• Functionality built into system ROM

• High degree of reliability

• Dedicated functionality

• Varied input devices

• Limited user interface, if any

• Limited memory

Page 18: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-712, Shipkowitz/Russell 8

Device Manufacturer’s Challen ge

• Manage development costs– Numerous chips and OSs to support– Increasing software content and complexity

• Manage new product categories for newmarkets, e.g. set-top boxes

• Decrease time to market– Pressure to accommodate holiday buying– Shrinking product life cycles

Page 19: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-712, Shipkowitz/Russell 9

Java™ Technology

Past Future

Changes in Technolo gyin Embedded Devices

• Proprietary

• Stand-alone

• Fragmented

• Standards-based

• Networked

• Open and flexible

• Lower costs

• Faster time to market

• More flexible development

Page 20: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 7

KRDL EduPad

• PDA for educational use

• Pilot project in July 1999

• Eventual deployment in300 schools

Page 21: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 8

CyberFone CommunicationsDevice

• Communicationsdevice– Telephone– Video– Internet access– Data transaction

• Available 3Q99

Page 22: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 9

Alcatel Webphone

• Internet appliance forthe home market– Full web browsing

capabilities– PIM

Page 23: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 10

Mobinetix POS Terminal

• Multimedia,Internet-enabledPOS terminal– Ability to deliver ads,

surveys, etc.– Applets used to

control hardwarefunctionality

Page 24: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 11

General InstrumentsSet-Top Box

• Digital interactiveset-top box– Enhanced viewer

experience– Electronic

commerce

Page 25: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 12

724 Financial Software

• E-banking and e-brokerage– Bank transactions, stock quotes, news, etc.– Working today at Bank of Montreal

On device w/PersonalJavaplatform

On Palm Pilot

On PCS phone

Page 26: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 13

HongKon g Telecom

• Horse racing

• Pay-per-view

• Home shopping

Page 27: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 20

Towards a ConsumerJava ™ Technolo gy

• Make some Java libraries optional

• Shrink static memory footprint

• Minimize runtime memory usage

• Provide customizable User Interface

• Protect and extend Write Once,Run Anywhere ™

Page 28: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 14

Why This Area Is Important

• Rapid growth in number and variety ofweb-connected consumer devices

• 60+ million users of wireless devices withJava™ technology estimated within nextfive years

• 1 billion mobile phones expected to existby year 2005

• Vast increase in use of networks,servers, and infrastructure

Page 29: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 44

PersonalJava ™ Technology—Enables Web-Centric Devices

Page 30: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-714, Hillman/Liu 6

Future Direction forPersonalJava ™ Technolo gy

• The technology (or “profile”) forWeb-centric devices– Displays Web pages with near-desktop fidelity– Runs Web applets– Runs device-targeted applets– Runs applets / applications from smaller profiles

• Will continue to serve the needs of thismarket; Other devices that werepreviously forced toward PersonalJavatechnology now have alternatives thatbetter meet their needs

Page 31: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-712, Shipkowitz/Russell 10

HotSpot JVM KVM Card VM

Java Language

Java 2Enterprise

Edit ionJava 2

StandardEdit ion

Profile

Profile

Java 2 Micro Ed ition

TVProfile

WebPhoneProfile

CarProfile

PersonalProfile

SmartCard

Profile

WirelessProfi le

HandheldProfile

Profile

Profile

Embedded Java™ AE

Java 2StandardEdit ion

EmbeddedJava A pplica tion Enviro nment

Configura ble based on JDK(no java.a pplet)

Closed API set

Page 32: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-712, Shipkowitz/Russell 12

EJAE Product Definition

• To make EJAE ideal for:– RTOS, system integrators, and device manufacturers

• Creating embedded devices with:– Dedicated functi onality

• Who want to leverage:– The Java™ programming language,– And utilize a configured set of class libraries

• And don’t require published API sets

Page 33: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-674 3

JavaTM 2 Platform,Standard Edition

JavaTM 2 Platform,Standard Edition

JavaTM 2 SDK,Standard Edition, v 1.2

JavaTM 2 SDK,Standard Edition, v 1.2

JavaTM 2 Runtime Environment,Standard Edition, v 1.2

JavaTM 2 Runtime Environment,Standard Edition, v 1.2

FormerlyJDK 1.2

Java™ 2 Standard Edition

Page 34: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-674 4

Evolution and Roadmap

Java™ 2 Platform Delivers

Page 35: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-674 6

7/99 1Q00 3Q00 1Q01 3Q01

Java 2 S.E.Maintenanceand Upgrade

Major FeatureRelease

4Q01Maintenance Release

Upgrade Release

Feature Release

19991999 20002000 20012001

Java™ 2 Platform, StandardEdition Roadmap

Page 36: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-674 7

Focus for 1999 and 2000

• Stability

• Compatibility

• Performance

• Deployment

Page 37: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-674 21

Millions of Desktops!

• Netscape Communicator 5.0

• CD-ROMS with AOL Client Software

Page 38: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-680, Hapner/Shannon 10

J2EE Platform

Page 39: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-680, Hapner/Shannon 15

J2EE Containers Handle

• Concurrency(multi user)

• Consistency(Transactions)

• Security

• Availability

• Scalability

• Administration

• Integration

• Distribution

Page 40: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-680, Hapner/Shannon 16

J2EE Components Handle

• Presentation

• Business logic

• Data access

Page 41: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-677, Kassem 7

Client

Client

Client

Client

Client

Client Tier EIS TierMiddle Tier

Enterprise Information

Systems (EIS):

Relational-Database,Legacy Applications,

ERP Systems

EnterpriseJavaBeanEnterpriseJavaBean

EnterpriseJavaBeanEnterpriseJavaBean

Other Services:JNDI, JMS,Java Mail

Other Services:JNDI, JMS,Java Mail

ApplicationServer

ApplicationServer

Web ServerJSP, Servlet, HTML, XML

Firewall

The J2EE EnvironmentEnabling End-to-end Solutions

Page 42: Java™ Technology Overview JC, J2ME, J2SE, J2EE

J1-680, Hapner/Shannon 27

J2EE API Summar y

• J2SE 1.2

• JDBC™ 2.0

• RMI/IIOP 1.0

• EJB 1.1

• Servlet 2.2

• JSP 1.1

• JNDI 1.2

• JTA 1.0

• JMS 1.0

• JavaMail™ 1.1

• JAF 1.0

Page 43: Java™ Technology Overview JC, J2ME, J2SE, J2EE

Recursos

Java Cardhttp://java.sun.com/products/javacard

Java 2 Micro Editionhttp://java.sun.com/j2me

Java 2 Standard Editionhttp://java.sun.com/j2se

Java 2 Enterprise Editionhttp://java.sun.com/j2ee

Bruno Souza - [email protected] Man - http://javaman.com.br


Recommended