Not so easy!
Please pay attention to the following topics:
- GemXpresso 1 is not 16Bit JavaCard virtual machine but 32 Bit
JavaCard Like vm with 1.0 JavaCard API.
- Download, install, and applet constructor were according Gemplus
RunTime specifications at that time (1997-1998), with particular memory
management scheme. In particular new object allocation was available within
applet's constructor and was definitive, while object allocation during
command processing was volatile. If your code contains complex static
intialisation (for applet), then this is not portable to JavaCard 2.1 that
does not allow this (only field and table initialization).
INT operation was performed with 32 bits arithmetic
RMI (former DMI) were natively integrated, for each applet.
There were no transactions buffers
APDU was not handle exactly the same
AID classes wasn't there
Exception handling was different, as were exception classes!
There was a virtual memory management allowing more stack than
RAM capacities.
To sum up, as there is so many differences, we recommand not to directly
port your application, but to have a transcription process where memory
usage, intialisations, commands and algorithms should be reviewed with Java
Card 2.1 constraints and new services. To be honest I would recommand to
only keep the specifications and go through a new development process
according JavaCard 2.1 standard. This now is sure, and is an investement
for the future (todays applets will be complient with next JavaCard standards).
Hope this answers your question #1.
Cheers,
C.HUET
At 12:11 28/03/2001, Jean-Francois Grezes wrote:
>Hi,
>
>1. you have to change your install method to be OP2.0 compliant. (cf. OP
>specifications)
>
>2. you can ...
>
>Jean-Francois Grezes - Gemplus
>
>----- Original Message -----
>From: "chenqi" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, March 28, 2001 11:26 AM
>Subject: [OCF] Any other ways to download applet to card
>
>
> > Hi,
> >
> > I use GemXpresso1.0. I would like to have two questions
> >
> > 1. could the javacard applet, which was created on the environment of
> > GemXpresso1.0, be downloaded into the card
> > of GemXpresso211?
> >
> > 2. could the javacard applet be downloaded into the GemXpresso's card by
> > program instead of GemXpressoRAD?
> > I saw the download command from the RAD's manual, but i don't know
> > whether the card applet can be downloaded
> > by it?
> >
> > Thanks
> >
> >
> >
> >
> >
> >
> > ---
> > > 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.
> >
> >
>
>
>
>---
> > 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.
---
> 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.