How do I start developing Java Card?

I have downloaded java_card_kit-2_2_1and OCF 1.2. Is there any tools require for Java Card development that I missed out? The demo1, demo2 and demo3 was try to run but I still don't understand how do I can create a Java Card Smart Card. I want to develop a Java Card Smart Card for employee to take their attendance. The employee ID will be the a MUST in the Java Card Smart Card.
Please provide me guidance and help me out. Thank you in advance.

I�d like to ask you guys where can i buy a Java Card
compliant smart card in the Web.
Based on your experience, which is the best one to
start with? (Gemplus, Schlumberger...)
Thanks in advance. (All this sounds really exciting)I am also a student and doing a final year project which uses smart card. I am using a Schlumberger (now is known as Axalto) Cyberflex 32K e-gate card and SDK 4.3 (the latest version is 4.5 if i'm not mistaken).. some say that the SDK is a bit buggy.. well, I dont have much choice because that is what my faculty gave me.. I admit that there are some bugs but until now, it doesn't give me too much of a trouble.
if you intend to buy their smart card, they have a wide range of it.. you can surf the available smart card here: http://www.axalto.com/products/smartcards.asp

Similar Messages

  • [Ask] Getting Started to Java Card 2.2.2 or 3.0

    Hi Friends..
    I'm currently tasked to create Java Card application that would be loaded to MIFARE / DESFIRE Card..
    How to solve it?..
    I have Omnikey Cardman 5321 SmartCard Reader, and i have MIFARE and DESFIRE Card.
    I've tried to created simple Java Card application (Java Card 3.0)..
    Actually, i prefer Java Card 3.0 because its based on Servlet.. (i'm more familiar with Servlet than Applet :) )
    Could i load that application onto MIFARE / DESFIRE Card?..
    Is there any Card that have supported for Java Card 3.0?..
    or do i've to use Java Card 2.2.2?..
    How to getting started with Java Card 2.2.2?..
    is there any books that described about it?..
    Thanks in advanced..

    hanks safarmer for your reply..
    yes, i've compiled and run that code in Netbeans 6.9m1, but i got this message error :
    Exception in thread "main" javax.smartcardio.CardException: connect() failed
            at sun.security.smartcardio.TerminalImpl.connect(TerminalImpl.java:67)
            at javaapplication1.Main.main(Main.java:32)
    Caused by: sun.security.smartcardio.PCSCException: SCARD_W_UNRESPONSIVE_CARD
            at sun.security.smartcardio.PCSC.SCardConnect(Native Method)
            at sun.security.smartcardio.CardImpl.<init>(CardImpl.java:65)
            at sun.security.smartcardio.TerminalImpl.connect(TerminalImpl.java:61)
            ... 1 more
    Java Result: 1The card's status is SCARD_W_UNRESPONSIVE_CARD.
    How to solve this? How to make the SmartCard become a "RESPONSIVE CARD"?..
    Please help me regarding this..
    Thanks in advance..

  • Specifications for developing java card

    Hi,
    Plz give me the details of GSM specifications to be followed for developing java card.im using now javacard kit 2_2_1 version plz give me the details.

    Hi Kalyan
    You can get a lot of UDF already discussed in Forum and Blogs, Wiki
    As you said you are familiar with Java then you wont find any difficulty
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=xi+udf&adv=false&sortby=cm_rnd_rankvalue
    Thanks
    Gaurav

  • How to start with java card

    hello,
    i'm new to java card n know a bit of core java.. my superior of company asked me to get complete knowledge on java card.. iworked for 1 month on native cards..n know a bit of gsm 11.14. I want a favour.
    my queries:-
    a) how and from where should i start
    b) wat all basics i need to know &
    c)how to work on this card.
    ANY REPLY WILL BE APPRECIATED..
    Thanks

    a)
    - Look at Sun's tutorials on Java Card.
    - Z. Chen's book from Sun about smart cards gives you deeper knowledge about the Java Card technology.
    - Furthermore there is a great reference book about smart cards in general from W. Rankl.
    b)
    - Java: You should have basic understanding and knowledge about Java.
    - Java Card: is a subset of Java, but you need to be much more aware of the Java Card VM and RE.
    - You need to have some specifications at hand
    - Java Card API, VM and RE
    - GlobalPlatform
    - ISO 7816 and ISO 14443 for CL
    c)
    - There is a number of smart card operating systems.
    - I recommend the Java Card Open Platform (JCOP) from IBM/NXP. There is a good developer environment (JCOP Tools plugin for Eclipse) where you can start developing against a smart card SW simulator.

  • How to run the simple java card program in eclipse?

    I am trying to run a simple HelloWorld program in eclipse 3.5 having java card development kit 2.2 installed in it.
    Firstly,I go to the JCWDE tab and press start..then when trying to deploy that package its giving me error like " com.hw.HelloWorld: unsupported class file format of version 50.0." can any one help me in this what is this error???n how to resolve n run this program..

    Hi,
    It is because the converter works on byte code and it only supports a subset of the Java language (see the JC specifications). It is kind of like compiling you code on Java 6 and trying to run it on Java 5. The JCDK outlines the required compiler version.
    Cheers,
    Shane

  • How do I communicate a Java Card applet with a server?

    I'm new to Java and Java Card and currently developing a smart card system. I'm not sure what to use on my applet or server, JCSystem or SecureConnection or something else?
    If I'm writing a server application, then how do I install it so that I can simulate it with cjre?
    Thanks in advance.
    p/s: Connection is using TSL.

    The flow is like this:
    Java Card --> POS terminal -> Server
    Yes. I'm using JC3.
    Here's what I've achieved so far using SocketConnection
    SocketConnection sc = (SocketConnection) Connector.open("socket://localhost:50007");
    InputStream is = sc.openInputStream();
    OutputStream os = sc.openOutputStream();
    os.write("Hello world!".getBytes());
    is.read(buffer);
    os.close();
    is.close();
    sc.close(); Edited by: andirady on Dec 4, 2012 11:59 PM

  • How do I test a Java card applet with different AIDs on the fly?

    ... Like sweeping cards from employees in a queue of people lining up in the morning?
    When I created my applet, the aid is a fixed value inside the class.
    Whenever I wanted to test it with another value, I changed that AID and rerun the applet.
    I find it very cumbersome that needs to be rerun and rerun, over and over again.
    How do I test the applet easily with any values of AIDs that I'd like to put in, on the fly.
    I know I can't simulate the sweeps of card in the applet because I can't have a main method with a signature
    of Strings[] args or String[] args. I can only have JUnit to help me out, but still java card doesn't allow either
    main(Strings[] args) or TestCase to inherit from.
    Thanks
    Jack

    your question is hard to understand but:
    an applet always has one definite AID and you cant change it after install as far as i know
    a) you want to test many cards with diffrent AIDs?
    ->send a list of select commands and check the return values
    b)you want one card with the same applet to be available for many AIDs?
    ->install many dummy applets forwarding the commands to one core applet
    c)i think i didnt get your point :/

  • How do you start a java program with more RAM alloaction

    Hi
    can anyone please tell me how to start a java program to start with lots of RAM (RAM size is sent as a parameter), I have seen it somewhere and now I cant remember it. I have a server application to run this way.
    thanks and rgds
    sunil

    see the tooldocs of java: http://java.sun.com/j2se/1.4/docs/tooldocs/tools.html

  • How can I start developing Character-based forms

    Can any one help me? How do we develop Character-based forms? What are the advantages and disadvantages to GUI? Does the Character-based form works in windows or UNIX environment.
    Does the mouse works. I know forms 3.0. How can we start a form developing in a Character-based? Which properties we have to change for this.

    The property is coordination system at the module level.
    Character mode will run on unix machines with terminals or with terminal emulators on pc's.
    GUI looks better and gives the user more productivity in his work.

  • How to run TCK using Java Card Sun reference model from eclipse

    Hi all,
    can any one help me by giving an idea about running java card TCK using sun reference model from eclipse IDE.
    Thanks
    Murali

    tck should be able to run as stand-alone (with jcre).

  • How can i change my JAVA card life cycle state to OP_READY?

    I found the below script in this link and run it via `GPShell` on my java card and now I can't run `gpj -list` in `GPJ`!
    My questions:
    1- What is this code for? changing Card Domain Manager status from OP_READY to Secured?
    2- Why I can't find anywhere `80F0800708A000000003000000` And `80F0800F08A000000003000000` APDUs that used in script?! I searched `GP Specification 2.2` and `ISO 7814-4` for an APDU with `F0` in `CLA` section! But I found nothing!
    3- Is the operation of the below script reversible by another script?
    The Script :
        mode_211
        enable_trace
        establish_context
        card_connect
        select -AID A0000000
        open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key
        404142434445464748494a4b4c4d4e4f
        send_apdu -sc 1 -APDU 80F0800708A000000003000000
        send_apdu -sc 1 -APDU 80F0800F08A000000003000000
        card_disconnect
        release_context
    And this is it's output in Console :
        C:\Users\ghasemi\Desktop\GPShell-1.4.4>gpshell lcchange.txt
        mode_211
        enable_trace
        establish_context
        card_connect
        select -AID a00000
        Command --> 00A4040003A00000
        Wrapped command --> 00A4040003A00000
        Response <-- 6F108408A000000003000000A5049F6501FF9000
        open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4
        f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4
        d4e4f
        Command --> 80CA006600
        Wrapped command --> 80CA006600
        Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864
        886FC6B03640B06092A864886FC6B040215650B06092B8510864864020103660C060A2B060104012
        A026E01029000
        Command --> 805000000823CE2F4C2B6C689B00
        Wrapped command --> 805000000823CE2F4C2B6C689B00
        Response <-- 0000116001007F8B0AF9020201D1C94E4F787D75DD54805A7488BCF79000
        Command --> 84820100100BCCFE8818D2DFC6E5B48EA4B6892457
        Wrapped command --> 84820100100BCCFE8818D2DFC6E5B48EA4B6892457
        Response <-- 9000
        send_apdu -sc 1 -APDU 80F0800708A000000003000000
        Command --> 80F0800708A000000003000000
        Wrapped command --> 84F0800710A0000000030000007AA29B3A708E6E75
        Response <-- 9000
        send_APDU() returns 0x80209000 (9000: Success. No error.)
        send_apdu -sc 1 -APDU 80F0800F08A000000003000000
        Command --> 80F0800F08A000000003000000
        Wrapped command --> 84F0800F10A0000000030000004FCFC15FD7EBDE9A
        Response <-- 9000
        send_APDU() returns 0x80209000 (9000: Success. No error.)
        card_disconnect
        release_context
    Thankyou.

    Hi,
    Ad.1
    Yes, this script is dedicated to change ISD state from OP_READY to SECURED (cards compatible with GP 2.1.1 specs).
    Ad.2
    The script commands are constructed basing on GP 2.1.1 specs. As far as I know, the definition of SET STATUS command in GP 2.2 is the same as in GP 2.1.1 specs.
    Ad. 3
    The change of state from SECURED to OP_READY is irreversible. Sorry.
    Regards

  • How to get started on java applet client/server game?

    Hi,
    I've googled, but didn't find any useful information about creating java applet client/server game. I've followed the example of Client/Server Tic-Tac-Toe Using a Multithreaded Server in Java How to Program from Deitel, but I when I tried on Applet, my cliet doesn't communicate with the server at all. Any help to get started with Applet would be great. Thanks!

    well, i decided to put in portion of my codes to see if anyone can help me out. the problem I have here is the function excute() never gets called. here is my coding, see if you can help. Notice, I'm running this on Applet thru html page. This shouldn't be much different than running JFrame in term of coding right?
    Server.java
        public void init()
            runGame = Executors.newFixedThreadPool(2);
            gameLock = new ReentrantLock();
            otherPlayerConnected = gameLock.newCondition();
            otherPlayerTurn = gameLock.newCondition();
            players = new Player[2];
            currentPlayer = Player1;
            try
                server = new ServerSocket(12345, 2);
            catch (IOException ie)
                stop();
            message = "Server awaiting connections";
        public void execute()
           JOptionPane.showMessageDialog(null, "I'm about to execute!", "Testing", JOptionPane.PLAIN_MESSAGE);
            for(int i = 0; i < players.length; i++)
                try
                    players[i] = new Player(server.accept(), i);
                    runGame.execute(players);
    catch (IOException ie)
    stop();
    gameLock.lock();
    try
    players[Player1].setSuspended(false);
    otherPlayerConnected.signal();
    finally
    gameLock.unlock();
    Client.java
        public void init()
            startClient();
        public void startClient()
            try
                connection = new Socket(InetAddress.getByName(TienLenHost), 12345);
                input = new Scanner(connection.getInputStream());
                output = new Formatter(connection.getOutputStream());
            catch (IOException ie)
                stop();
            ExecutorService worker = Executors.newFixedThreadPool(1);
            worker.execute(this);
        }So after worker.execute(this), it should go to Server.java and run the function execute() right? But in my case, it doesn't. If you know how to fix this, please let me know. Thanks!

  • How  can I start my Java Application using double-click  in Windows XP?

    I hava developed an editor in java. The file made by this editor is saved as the .cte format. so, I need to associate this file with the editor, which means that when you double click the .cte file ,this file will be opened in the editor just like the notepad.
    I know that Jbuider has used the JNI to achieve this way to open a project. So, will you kindly tell me the details about this technique or give me some document? My E_Mail is [email protected]
    Best Regards,
    Maria

    I think this can be done from a batch file which you can execute when you install your application.
    There are two commands which you are interested in, and they are:
    assoc - Displays or modifies file extension associations.
    ftype - Displays or modifies file types used in file extension associations.
    You should use assoc to associate an extension with a file type, and ftype to associate the file type with an application.
    E.g. jar is associated with this on my machine:
    .jar=jarfile (from assoc)
    jarfile="C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe" -jar "%1" %* (from ftype)
    Kaj

  • How can i start my java application using double-click in WindowsXP?

    i hava developed an editor in java. The file made by this editor is saved as the .cte format. so, I need to associate this file with the editor, which means that when you double click the .cte file ,this file will be opened in the editor just like the notepad.
    I know that Jbuider has used the JNI to achieve this way to open a project. So, will you kindly tell me the details about this technique or give me some document? My E_Mail is [email protected]
    Best Regards,
    Maria

    Must you use native code? Can't you do what I said in your other thread?
    http://forum.java.sun.com/thread.jspa?threadID=699476
    Kaj

  • Getting started developing Java

    Hi, I have decided to learn Java (having done mainframe development for a decade or so), and I already have the JRE installed, and was wonderng if I need to de-install the JRE before installing the SDK.
    Thanks for any help. :-)

    A suggestion - if the existing jre is earlier than 1.3.1_04, uninstall it. That's the current 1.3 version. 1.2 and earlier, and some of the earlier 1.3's (exact versions are documented, if needed) will not coexist with another jre on Windows due to Registry key conflicts. These are sorted out for the later versions.

Maybe you are looking for

  • Career for SAP Strategy management & BPC?

    Hi Guys, Could you please advise me on SAP Strategy management & BPC. How about the future for this? Is this good for career, if I learn SSM? Please advise me. Thanks in advance! Anil.

  • Source system does not exist

    Hi all, When i run an infopackage its getting failed throwing out an error "An error occurred in the source system. System Response Caller 09 contains an error message." I have replicated the Data source and when i try activating it i am getting the

  • Trying to repair my MBP (early 2008)

    A couple months back my early 2008 model MacBook Pro 15" (A1260) died on me. I hit the power button, the fans flick on for one second and then turn off, the screen remains black, and all other internals seem to be off. The led on the front fades in a

  • Purely iterative price in controlling area setting

    Dear Experts, Please let me know the use and implication of a tick " Purely iterative price" coming in Version setting of controlling area fiscal year wise (Txn Code OKEQ). Thanks in Advance for co operation Regards Rohit

  • Adobe Acrobat Standard 8.3 - Usability Bug

    I have installed Adobe Acrobat Standard 8.3 @ Windows 7 64 Bit. On my Windows 7 32 Bit System appeared no problems. But now the following bugs wont leave my Acrobat: the file is not displayed on full screen width - only 50 % every time i scroll down