This content starts with an introduction to smart cards and a brief review of ISO 7816, the smart cards conventional. Given the background on smart cards in previous Java Designer content, this sequel will begin with an answer to the question, “What is a Java Card?” and an introduction to the Java Card program structure. Next, we’ll focus on the many issues particular to the Java Card, including the Java Card lifecycle; the Java Card 2.0 language part and API collection classes; and Java Card protection. Then we’ll discuss the Java Card playback environment and show how a Java Card runs. We’ll close with an lighting example: Searching for wallet program written just for the Java Card.


What is a smart card?

Identical to the size of a bank credit cards, a smart cards stores and processes details through the digital tour included in rubber in the plastic substrate of its body. There are two primary kinds of smart cards: A smart smart cards contains a micro-processor and offers study, write, and determining capability, like a small microcomputer. A storage, on the other hand, does not have a micro-processor and is meant only for details storage. A storage uses protection reasoning to control the accessibility of storage.

All smart cards contain three kinds of memory: chronic non-mutable memory; chronic mutable memory; and non-persistent mutable storage. ROM, EEPROM, and RAM are the most widely-used storage for the three specific kinds in the current smart cards. Persistent storage is generally known as non-volatile storage. We will use the conditions chronic and non-volatile interchangeably in this post.

ISO 7816 aspect 1-7, defined by International Standard Organization, contains a set of requirements that covers various aspects of smart cards. ISO 7816 comprises of:

  • Physical features (part 1)

  • Measurements and of the connections (part 2)

  • Electronic alerts and Transmitting methods (part 3)

  • Inter-industry instructions for switch (part 4)

  • Application identifiers (Part 5)

  • Inter-industry details elements (Part 6)

  • Inter-industry instructions for SCQL (Part 7)

  • Normally, a smart cards does not contain a energy source, a display, or a key-board. It communicates with the outside globe using the sequential interaction interface via its eight contact points. The size and of the connections are covered in aspect 2 of ISO 7816. This plan shows the connections on a smart cards.

A smart cards is placed into a Card Approval System (CAD), which may connect to another computer. Other conditions used for the Card Approval System are international airport, reader, and IFD (interface device). They all provide the same primary functions, namely to provide them with energy and to establish a data-carrying connection.

When two computers get in touch with each other, they exchange details offers, which are constructed following a set of methods. In the same way, smart cards speak to the outside globe using their own details offers — known as APDU (Application Protocol Data Units). APDU contains either a control or a reaction message. In them globe, the master-slave model is used whereby a smart cards always performs the inactive role. In other words, a smart cards always stays for a control APDU from a international airport. It then carries out the action specified in the APDU and responses to the international airport with a reaction APDU. Command APDUs and reaction APDUs are interchanged on the other hand between a credit cards and a international airport.

What is a Java Card?

A Java Card is a smart cards that is capable of running Java programs. The Java Card 2.0 requirements was published at It contains details for building the Java Card virtual machine and program development interface (API) in smart cards. The minimum program requirement is 16 kilobytes of read-only storage (ROM), 8 kilobytes of EEPROM, and 256 bytes of ram (RAM).

The program structure on the Java Card is shown in the following determine.

As shown in the determine, the Java Card VM is built on top of a particular incorporated routine (IC) and native os implementation. Thus you can join the institute of Java developer to make your career in this field.

Checkout : CRB REVIEWS