Do applets have their own filesystem?
Hi!
This is a very basic question.
I've an applet on a smartcard which is able to create files.
Selecting an instance is no problem, but what next.
Do I have to create a MF and then a DF and EF and so on?
If so do all other instance of the applet or maybe other applets see the same file structure?
Greetings, globalplayer.
# 2
HI!
Yes I know, but my applet does.
So what does an instance of an applet see on a JavaCard. Only it's own created files or also files which were created from another instance of the same or other applet?
So the question is wether an instance of an applet runs in it's own environment ( memory, files...)
Greetings, globalplayer.
# 3
Each applet is separated with firewall. This means that applets cannot access anything from another applet. To meet requirements like yours the concept of Shareable Interface Objects was introduced. This way one can share explicitly defined objects and methods. For reference see Java Card 2.2.1 Runtime Environment Specification, 6. Applet Isolation and Object Sharing --> 6.2.6/6.2.7