Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java card confusing Issues!!!!!!! java card architecture, advantage!!!!!

rohit007Feb 9 2012 — edited Feb 11 2012
QUESTION -1
As I know about architecture of any application is -
                //normal java software                          java card                                  java card
                  //  1                                               2                                      3
1-            application program                        host application                           host application
2-                     JVM                                   Applets                                       Applets 
3-              operating system                JCRE(which contain all classes, JVM ....)                 JCRE(act as a O.S too)
4                    hardware                              Operating system                                 H/W
5                                                                        hardware
What do u think- case 2 is right? or 3 is!!!!!!!!!!!
I think - case 3 is right!!!!
As i study from several sources , JCRE is complete package - it behaves as a operation system and use the functionality of component it contain. I also think if i will purchase a java card from any vendor , it would have JCRE inside it (means everthing inside it,), i only need to develop the applet according to my requirement and install it by on card installer program


QUESTION 2- what is the advantage of java card.?
// I think.
as i read out , i got the line that it is platform independent and support multiple application. applicaton point of
 view , I am agree but how it is platfrom independent. if we use java card for smart card development, then 
 i will purchase Java card from differnt vendor , all will provide me card with supported jcre inside it, so why
 this is advantage here?
// in case of window based application , it really make sense  because if i will make any window application with java
// i can run it in windows , linux , unix and most of os flavours, here i can see the beauty of java language.
 Clear me this and add some other java card advantages, which make java card good
question 3-
Now I am capaple to make simple applets, so I want to check the entire java card process atleast once before 
going in deep of something, I am thinking to implement prepaid card concept , i made it applet for it ,it will 
contain a page with 2 text box ( 1- for recharge 2- for money deduction ) and two button , with button click i 
want to select the applet and want to pass the apdu.
 ( a) how i can make host window application ? (i think awt will work for me? , *
i never make any java window application yet) * 
 ( b) still i dont have any java card , i want to make it by using simulator, is it possible?
  (c) in this scenario what framework i need to study Ex. Import javacard.framework.* for making
 applet or from where i need to start.
Regards:
rohit pathak

Edited by: rohit pathak on Feb 9, 2012 10:10 PM
This post has been answered by Umer on Feb 11 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 10 2012
Added on Feb 9 2012
7 comments
494 views