The JavaCard platformn is a multiapplication platform, so you can have several applets installed in the card. An Applet installed in a JavaCard can become active in two ways. 1. It is the default applet in the card, that means after insertion of the card into the terminal and the activation of the card, this applet is selected by the JCRE and becomes the active applet in the card. The applet becomes active when the JCRE calls the select method of the applet. After this all APDU's that you send now to the card will go to this applet and handeld by this applet. 2. You select an applet via the SELECT command (described in the JCRE spec and based on ISO 7816-4). After a succesfull SELECT command this applet is now active in the card and will deal with all incomming APDU's. If you whant to communicate with an applets in a JavaCard you need to have a terminal application (running e.g. on the PC) that send and recsives APDU's to the card and to the applet. The perfect way to write application talking to a smartcard application or a JavaCard applet is the OCF. Sebastian "Harley V. Barrales" wrote: > > Hello, > > I am new to Java Card programming and I have some questions regarding to the >implementation of the applet stored in the card. > > 1. Assuming that I have created an applet, how do I get this running? Will >this execute by itself once inserted in the Reader or do I need to create a "host >program" that will send APDUs to the card. If so > then how? > > 2. I have accumulated Java Card literature already, how to create applet, >etc.. but none did elaborate the question I posed above. If anyone can help me is >highly appreciated. > > Thanks, > > harley > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > --- > > Visit the OpenCard web site at http://www.opencard.org/ for more > > information on OpenCard---binaries, source code, documents. > > This list is being archived at http://www.opencard.org/archive/opencard/ > > ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email > ! to > ! [EMAIL PROTECTED] > ! containing the word > ! unsubscribe > ! in the body. -- _____________________________________________________________________ Sebastian J. Hans Java Card Business Development email: [EMAIL PROTECTED] Sun Microsystems Tel: +49-(0)30-74 70 96 701 Sebastian J. Hans Fax: +49-(0)30-74 70 96 99 Komturstrasse 18a mobile: +49-(0)174-300 75 34 12099 Berlin Germany _____________________________________________________________________
begin:vcard n:Hans;Sebastian J. tel;cell:+49-(0)174-300 75 34 tel;fax:+49-(0)30-74 70 96 99 tel;home:+49-0)30-326 02 086 tel;work:+49-(0)30-74 70 96 701 x-mozilla-html:FALSE url:http://www.sun.com org:Sun Microsystems Inc. adr:;;Lankwitzer Strasse 19;Berlin;;12107;Germany version:2.1 email;internet:[EMAIL PROTECTED] title:Senior Java Architect / Java Card Business Development EMEA fn:Sebastian J. Hans end:vcard
