Hello,

Ken Chow wrote:
> 
> Thanks, Uwe Hansmann. I've the PGuide already.
> 
> Actually, I'm now using GemXpresso Java card, and I want to create Web
> Applet by using OCF. I also downloaded terminal and card service from
> gemplus Website. Since I'm a newbie, I found that it is difficult for
> me to use those terminal and card service that they provide.
> 
> All I want is a example, even just a step by setp procedure in how to
> write such Web Applet.

Ken, I've got a good news and a bad news for you :-). The good
news is that somebody from my company (Patrick Biget) has written
a small tutorial on how to write a web applet that communicates
with a smartcard. I have attached it to this mail, as it might be
interesting for other people on the list. Now, the bas news is
that this has been written end of 98 and since then both OCF,
Java, and web browsers have changed... So the bad news is that
I really don't know if the indications still work (but I guess so)
so you'll have to follow the steps and see for yourself. The tutorial
contains a pretty good introduction to Java applets security model.

A couple of indications on the tutorial:

 - it works with both Netscape and IE,

 - it uses the Java Plugin *only*, not the browser's VM,

 - the web applet prints the card ATR. I suggest that you
   first set up OCF1.1.1 correctly and run the demos in
   the "demos.samples" package before trying to work w/ applets,

 - last thing: it does not use the generic framework for
   setting browser's specific security features that has been
   added into OCF1.1.1 (because it didn't exist at this time!)
   in the "opencard.core.util.SystemAccess" classes and
   sub-classes. If the tutorial is still useful for starting
   building web applets that are card-enabled (you'll tell me!),
   then I will try to adapt it to make use of this framework.

Patrick has left Gemplus, so the email address indicated in the
tutorial does not work anymore. I suggest to post remarks to the
list as this is an intersting issue (there has been many requests
on the subject). I will try to get a hand on the PowerPoint sources
of the tutorial and, with a little help from everybody, to make
it up-to-date.

Cheers,
Christophe.

 = "Real Life?  I've played that game.  The plot stinks but the   =
 =  graphics are awesome."      -- <[EMAIL PROTECTED]>            =

-- 
-------------------------------------------------------------
[EMAIL PROTECTED] - Gemplus Research Lab
Phone: +33 4-42-36-57-83 | Fax: +33 4-42-36-55-55
-------------------------------------------------------------

AppletTutorial.zip

Reply via email to