A Java Card Primer, Part 1 Iowa

The author explains the nuts and bolts of Java Card technology. When you're finished reading this two-part tutorial, you should be ready to program a smart-card application.

Local Companies

Kerr Consulting & Support
(515) 576-4700
1200 3rd Ave NW
Fort Dodge, IA
Palmer Consulting
(515) 226-9900
3737 Woodland Ave Ste 300
West Des Moines, IA
Jacobsen Holz Corp
(515) 465-3567
1224 Pattee St
Perry, IA
Systems Support Inc
(515) 225-7337
1601 48th St Ste 130
West Des Moines, IA
Tss Group
(319) 373-5869
7500 Hampshire Dr NE
Cedar Rapids, IA
Perot Systems Corp
(319) 364-8288
308 3rd St SE
Cedar Rapids, IA
Worth Consultants
(641) 335-2330
2550 170th St
Prescott, IA
Joe's Computer Consulting Service
(712) 469-2279
1710 Main St
Manson, IA
Techcentral
(515) 727-5400
7177 Hickman Rd
Urbandale, IA
Talentlink
(515) 282-4784
2600 Grand Ave Ste 216
Des Moines, IA

provided by: 
Originally published at Internet.com


To begin, I would like to offer some background on smart cards, for which Sun Microsystems introduced its Java Card technology. This advance has made it easier for high-level programmers to start writing code even for smart cards that were restricted to a machine-level specific language. And with this convenience and ease, I am sure there will be more ideas and applications to come to market to really take us into the Twenty-first century.

Overview of Smart Cards

Smart cards are also called chip cards or integrated circuit cards. The integrated circuit is incorporated in the credit-card-size plastic substrate. The integrated circuit performs the logic of manipulating or processing the data.

Basic Card Types

* Memory cards: They are embedded with a memory chip to store small amounts of data. They do not have a processor to provide intelligence. The simple data processing is done by burned programmed logic and circuitry logic, which has obviously restricted functionalities. * Microprocessor cards: They come with a processor. * Contact cards: Card must be inserted in some device to communicate. * Contactless cards: These types of cards don't need a CAD. They communicate using electromagnetic fields.

Smart Card Communication Model

Smart Cards are inserted into a CAD (Card Acceptance Device). The CAD is connected to some computer, where the applications that reside are known as host applications. These communicate with the applet downloaded or masked in cards. The host application sends commands to the applets in the smart cards. These commands are known as Command APDUs (Application Protocol Data Unit). The applet in the smart card responds by sending response APDUs.

Command APDU Structure

Mandatory Header Optional Body CLA INS P1 P2 Lc Data field Le

Response APDU Structure

Optional Body Mandatory Trailer Data Field SW1 SW2

Java Card Technology

Java Card technology provides the smallest Java platform for memory-constrained devices such as smart cards.

Basics of the Java Card

A Java Card means a smart card that is enabled to work with Java Card Technology.

Author: Arsalan K. Lodhi

Read article at Internet.com site
Related Local Events
Technology Series: Cloud Computing, Data Hosting and Disaster Recovery
Dates: 1/19/2010 - 1/19/2010
Location: Alliance Technologies Inc‎
Des Moines, IA
View Details

Chamber Coffee - Vantus Bank
Dates: 11/18/2009 - 11/18/2009
Location: Le Mars Chamber of Commerce
Le Mars, IA
View Details

Chamber Coffee - The Living Center
Dates: 11/11/2009 - 11/11/2009
Location: Le Mars Chamber of Commerce
Le Mars, IA
View Details

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML