Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Debit Card payment code

  Asked By: Sandeep    Date: Oct 25    Category: Java    Views: 1210

Anyone can explain me........?(basic coding)



2 Answers Found

Answer #1    Answered By: MUHAMMED MUFTY     Answered On: Oct 10

Java Card

Java Card is a technology introduced and maintained by Sun Microsystems, Inc.

Smartcards running Java Card contain an interpreter for bytecode generated from programs written in Java. This code can be loaded onto the card after it has been preverified, i.e. checked for consistency and compatibility. Since Java is a standardized programming language, this approach allows vendor independent development of applications.

In addition, modern JavaCards are equipped with a sophisticated operating enviroment including an Operating System like JCOP which lets the user dynamically add and remove applications. This makes it possible to run banking applications, access control for a company gate and an electronic ticket for the public transportation system all on one single plastic card. The biggest challenge of those systems is to assure at any time that under no circumstances an application gains knowledge of another concurrently installed program and its data.

Answer #2    Answered By: MUHAMMED MUFTY     Answered On: Oct 10

private Wallet (byte[] bArray,short bOffset,byte
public static void install(by

te[] bArray,
short bOffset, byte bLength){

public boolean select() {

public void deselect() {

byte buffer[] = apdu.get Buffer();

if (buffer[ISO7816.OFFSET_CLA] != Wallet_CLA)

switch (buffer[ISO7816.OFFSET_INS]) {
case GET_BALANCE: getBalance(apdu);
case DEBIT: debit(apdu);
case CREDIT: credit(apdu);
case VERIFY: verify(apdu);
default: ISOException.throwIt

} // end of process method.

Didn't find what you were looking for? Find more on Debit Card payment code Or get search suggestion and latest updates.