Register   Login   About   Study   Enterprise   Share
Internet / AI Technology University (ITU/AITU)
Fast Login - available after registration







|

Top Links: >> 80. Technology >> 10. Java Extensions >> 10.1. Java Card >> 10.1.3. Programming Java Card
Current Topic: 10.1.3.1. JavaCard Limitations
You have a privilege to create a quiz (QnA) related to this subject and obtain creativity score...
JavaCard Limitations
Yes, there are some limitations while using Java in JavaCard.
Actually, pretty severe limitations. But do not be too upset. Just stay tune…

We cannot use familiar Java packages. Instead, the only class we can reuse from J2SE is the Object class, and even that class is missing most of its methods.
We do not have the luxury of using String or the java.io package (except the java.io.IOException class). We still can use byte, short, int, and Boolean primitives, and single-dimensional arrays.

The JavaCard 2.2 specification brought several pleasant surprises. For example, we can now use the java.rmi package that defines the Remote interface. The Remote interface identifies methods on the JavaCard that can be invoked remotely from a terminal application running on a CAD. java.rmi.RemoteException can be thrown to indicate that an exception occurred during the execution of a remote method call.

The javacard.framework Package for JavaCard Programming

The javacard.framework package includes powerful interfaces: ISO7816, MultiSelectable, PIN, and Shareable, as well as important framework classes like AID, APDU, OwnerPin, Util, and Applet.

The ISO7816 interface contains static fields that represent constants related to ISO 7816-3 and 7816-4.
Was it clear so far?

The MultiSelectable interface identifies the implementing applet as capable of several concurrent selections. Such applets can belong to the same package and pass control among one another.

The PIN interface represents a PIN value and its validation methods.

The Shareable interface serves to identify any object that needs to be shared through the applet firewall.
The javacard.framework.service package includes classes and interfaces to design a JavaCard applet as an aggregation of service components that implement javacard.framework.service.Service interface, and use javacard.framework.service.BasicService or other package classes and interfaces.

The javacard.security and javacard.crypto packages help implement a security and cryptography framework on a JavaCard.

Assignments
1. Read and answer the QnA.
2. Create two additional QnA and email to dean@ITUniversity.us
--- Follow the QnA format but do not repeat existing QnAs.
| Check Your Progress | Propose QnA | Have a question or comments for open discussion?

Have a suggestion? - shoot an email
Looking for something special? - Talk to me
Read: IT of the future: AI and Semantic Cloud Architecture | Fixing Education
Do you want to move from theory to practice and become a magician? Learn and work with us at Internet Technology University (ITU) - JavaSchool.com.

Technology that we offer and How this works: English | Spanish | Russian | French

Internet Technology University | JavaSchool.com | Copyrights © Since 1997 | All Rights Reserved
Patents: US10956676, US7032006, US7774751, US7966093, US8051026, US8863234
Including conversational semantic decision support systems (CSDS) and bringing us closer to The message from 2040
Privacy Policy