possibility?

Hi all,

1)Is it possible to write code for say DES onto card and call the function externally ie from the program in the hard disk

To put it in other way...can a program on hard disk call a function in a program which is on java card?

2)secondly, i am having a doubt whether when we write an program with the eclipse tool into file with applet name, does this get loaded into the java card i mean does this file get loaded into java card directly and can we use this card anywhere to run that applet?

please kindly reply to my mails

its urgent for me

Thanks

[600 byte] By [Crazya] at [2007-10-2 4:08:18]
# 1

> 1)Is it possible to write code for say DES onto card

> and call the function externally ie from the program in the hard disk

That is the usual way. You write a Java card applet and load it onto a Java Card. The applet allows the host computer to execute one ore more functions on the card.

> To put it in other way...can a program on hard disk

> call a function in a program which is on java card?

The host application is a simple program written in java or another language that can access a smartcard reader. The program itself is stored on the hard disk.

> 2)secondly, i am having a doubt whether when we write

> an program with the eclipse tool into file with

> applet name, does this get loaded into the java card

> i mean does this file get loaded into java card

> directly and can we use this card anywhere to run

> that applet?

If you are using Eclipse, you are using the JCOP tools are you trying to develop a java card applet with the plain eclipse?

Jan

JPJavaa at 2007-7-15 23:31:21 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2

1)So is it not that the program when written, is loaded into the java card?or it stays always on the hard disk itself?because we develop the application using the applet id, then for what purpose is this applet id used for?

2)I have jcop tool with the eclipse...as i m new to this area i find this little confusing

Raechal

> > 1)Is it possible to write code for say DES onto

> card

> > and call the function externally ie from the

> program in the hard disk

>

> That is the usual way. You write a Java card applet

> and load it onto a Java Card. The applet allows the

> host computer to execute one ore more functions on

> the card.

>

> > To put it in other way...can a program on hard

> disk

> > call a function in a program which is on java

> card?

>

> The host application is a simple program written in

> java or another language that can access a smartcard

> reader. The program itself is stored on the hard

> disk.

>

> > 2)secondly, i am having a doubt whether when we

> write

> > an program with the eclipse tool into file with

> > applet name, does this get loaded into the java

> card

> > i mean does this file get loaded into java card

> > directly and can we use this card anywhere to run

> > that applet?

>

> If you are using Eclipse, you are using the JCOP

> tools are you trying to develop a java card applet

> with the plain eclipse?

>

> Jan

Crazya at 2007-7-15 23:31:21 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3

Crazy,

Have you ever programmed Java using Eclipse and any experience with integrated development environment?

- To be able to know: class. jar and applet

- To be able to execute and debug java or javacard applicaton

Do you know the fundametal of smart card and java card?

- To know the structure of smart card(SC) and java card(JC)

- Why you need to use APDU to communicate with SC or JC?

Have you gone through the Java Development Kit document from Sun?

- Why you need this kit?

- What is CAP?

-To know the whole process of JC developement

- Why you need the conversion from .java to cap file?

- Why you need to upload the cap file to JC?

- How to select the applet (in cap format) in the card

- How to communicate with JC

JCOP

- Having downloaded the tools, are you able to activate it?

- If not, you can't go further with JC development. you need to buy an activation code or an engineering sample JC from IBM Zurich Research Lab

I hope the above pointers will help you.

freiheita at 2007-7-15 23:31:21 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 4

> 1)So is it not that the program when written, is

> loaded into the java card?

A (Java) card application always consists of tow parts: first the oncard application (the applet) with is stored on the card and executed. Second the offcard application that communicates with the java card and uses it's functions.

> because we develop the application

> using the applet id, then for what purpose is this

> applet id used for?

Identifying the applet. A Java Card can hold multiple applets. On your harddisk you identify multiple applications by the path to their executable file, on the java card with the aid.

Jan

JPJavaa at 2007-7-15 23:31:21 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 5
Thanks for your relies. Is there any e book which i can get to study everthing in detail .kindly suggest me some e book as i cant afford to by any book . kindly tell me where i can get all the solutions to the powerpoint type queriesThanks
Crazya at 2007-7-15 23:31:21 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 6
Give this site, http://ww w.jguru.com/faq/printablefaq.jsp?topic=JavaCard, a try.
freiheita at 2007-7-15 23:31:21 > top of Java-index,Java Mobility Forums,Consumer and Commerce...