Need suggestions to start java card prog. plz help!!

hi ppl....
I am new to java card programming, but not to java programming. As a starter, i need to know ..... how to write a basic java card app?? Further, i also want to get the knowledge of testing/running this app on any simulator (if available). Can someone tell me that if i need to run my card application on real "smart card" (NOT on simulator), then what i need to have ... i mean any card processor or interface with PC. Any help will be much appreciated.
Raheel.

Download the sun kit and read the manuals

Similar Messages

  • How to start java card development?

    Good Evening all,
    I am novice for java card development , from last some days I study java card and terms related to it, now i have some knowledge about applets , and API. as i read about java card 2 and 3, I think i moved to java card 2 that's why i download jcdk 2.1.
    Now i want to do something in development rather than further conceptual study. Frankly speaking I m confused where to move because different sites have different point of view so i want to execute my knowledge which i earned from last some days...
    so I want to ask
    1- which IDE would be best for java card development? { eclipse or net beans or something other}
    2- what things i would be require during java card application?{ java sdk version? jcdk version? ocf? or what}
    3- at start i want to use simulation technique to test what i made and how its work, so for this which tool or IDE would be best work for me,
    so kindly request you to guide me and show me the path where i can move and achieve what i want..
    ---------------------------------------------------------------------------------------------------Thank you in advance------------------------------------------
    Edited by: 911936 on Feb 2, 2012 10:01 AM

    Hello umer,
    last night it seems very tough to execute sample program of jcdk 2.2 but finally i make it, and i also i got the IDE - net beans that is very good for java card...
    I think i should share my knowledge here for next novice people...
    ----------------------------------------------------------------------------java card development require-------------------------------------------------------------
    Because here we use java for java card so we require
    1- java development kit (JDK) - use below link to get this.
    [get jdk here|http://download.oracle.com/otn-pub/java/jdk/6u30-b12/jdk-6u30-windows-i586.exe]
    2- Java card require java card development kit (JCDK) I think java card version 3 is latest but i used jcdk 2.2.1
    [get jcdk here|http://download.oracle.com/otn-pub/java/java_card_kit/2.2_01/java_card_kit-2_2_01-win-gl.zip]
    now  i think this is enough to start java card development...
    follow below steps
    1- install jdk 6 in c:/java/jdk1.6
    2-keep jcdk in c:/java_card_kit-2_2
    3- open command prompt and run
    a)-set JC_HOME=c:\java_card_kit-2_2
    b)-set JAVA_HOME=c:\java/jdk1.6
    c)-set PATH=%JC_HOME%\bin;%PATH%
    4-there are some sample project in scdk, if you want to get confidence , u should run one of them..
    run command- jcwde jcwde.app { jcwde is a simulator where u check what u made }
    and run this command in another command prompt- apdutool -nobanner -noatr demo1.scr > demo1.scr.jcwde.out
    You can get detail of 3 and 4 step from cJDK_Users_Guide.pdf which is present in jcdk.
    ------------------------this  is all which u need to do to get confidence in java card, but dont be over confident because in reality "the ball is not in your court yet"
    Note- if you are searching which java IDE is best for java card development then
    [click here- this is one of the best ide for java card|http://dlc.sun.com.edgesuite.net/netbeans/7.1/final/bundles/netbeans-7.1-ml-windows.exe]
    Edited by: 911936 on Feb 3, 2012 8:58 AM

  • Help in starting Java Card Programming

    Hi all,
    I�m totally new here. I just started Java Card programming. However I don�t know how to start though I think I have enough stuff. I have installed Java 1.6.0_02, JCOP tool 3.1.2, run Eclipse 3.3.0. I also have a dual interface smart card reader SDI010 and some smart card (dual access). I activated JCOP Tool, created new Java Card project, but after I entered package AIDs and applet AIDs I don�t know what I should do next. I looked through several books in Eclipse (Eclipse for dummies�) but can�t find anything about Java Card. Anyone have experience in this area please help me to start. If you know any document that guides step by step, please let me know. I found source code in Sun website (wallet.java) but I really don�t know how to use it. Thanks a lot.

    Hi,
    select
    Project -> Build Automatically. It will build a .CAP file every time you changed your Java Card project code and save it. You will see it in the
    CAP file viewer in the left corner (but only in case you are developing your JC applet in Java Card in Eclipse project and opened one of the
    JCOP perspectives: either development or debug).
    P.S. I suppose, that u still haven't looked through the JCOP tools documentation in the Eclipse IDE Help menu.
    Best regards,
    Eve
    Edited by: Ieva on Nov 4, 2007 9:01 AM

  • Need suggestion for choosing Java development enviroment

    Hi Evereyone,
    I am new to Java Desktop Application.I need help on choosing proper Java technologies and development tool.
    We have an existing CLIENT/SERVER based distributed control system, which was developed in C++(Server side) and VB(Client GUI).Now we are think of migrating the system to Java platform.
    Here is the outline:
    We want to create web based application that will run on windows and linux (linux on embedded PC).
    The application should be able to support 10 � 100 users at once accessing/editing database.
    We will also need to create a communication server that will run on web server P.C. that will communicate tcpip to field panels/log to db, as well as allow web screens to send/receive commands with field panels etc.
    Could any one give me some suggestion about it?
    I am thinking of Using J2SE 5.0, including RMI, JDBC and Swing for GUI. As for field panels, may choose J2ME.
    Thank you very much in advance.

    Thanks, zadok .
    Actually, I don't have the system requirements neither. All I know is the following outline:
    "We want to create web based application that will run on windows and linux (linux on embedded PC).
    The application should be able to support 10 � 100 users at once accessing/editing database.
    We will also need to create a communication server that will run on web server P.C. that will communicate tcpip to field panels/log to db, as well as allow web screens to send/receive commands with field panels etc."
    It is a interview question, which need me to do research and give some suggestions. What I want to know is to figure out what kind of Java technology is necessary for developing this system because I want to make sure I head to right direction.
    I know somehow it is hard to give suggestion based on this limited information.
    One more thing I was confusing is the server-side architecture.
    I need suggestion about sever side architecture:
    a. write a dedicated server-side program, which act
    as communication server to monitor and control field
    panel, also act as server-side applicaiton by using
    RMI to communicate with Client-side communication.
    b. choose a general web server architecture. Put
    everything in server side in Web Server, for example
    Tomcat AS container, implementing the Communication
    server as Web Service and the request from
    Client-side go to Web Server first, then dispatch to
    a proper web service.Why did you not include this information in the original question!
    Why don't you just use Tomcat?
    For your answer, "Why don't you just use Tomcat?", does it mean Tomcat without Web Service will be enough for this system development? Could you give me some detail about it?
    Thank you very much, zadok.

  • Starting java card

    I am new to java card can anyone tell how to begin
    from installing ide or toolkit to writing application please provide links for downloading ide or api's
    thanks

    As for the IDE, you can use Ecplise with the Java Card Plugin:
    http://www.eclipse.org/downloads/
    http://eclipse-jcde.sourceforge.net/
    Of course, you will also need the Java Card Development Kit:
    http://java.sun.com/javacard/devkit/
    Also, check out this tutorial on Java Card applets:
    http://www.javaworld.com/javaworld/jw-07-1999/jw-07-javacard.html

  • Java Card Gurus.. help needed!!! Could be a hidden bug with JavaCard Tools!

    Hello,
    I've run into a small problem, if u could help me out, Id be really grateful.
    The problem lies in the WAY the tools are used(apdutool, jcwde etc). The project envisages the running of the tools from a RELATIVE point of view and not absolute. That is, (simplistically speaking),
    The Host side is handled thus:
    I AM NOTrunning jcwde as : jcwde -p 9025 jcwde.app
    The mode is : c:\javacarddk\bin\jcwde.bat -p 9025 c:\temp\raj\jcwde.app
    The Card side is handled thus :
    The CAP file generation is : c:\javacarddk\bin\converter.bat -config c:\temp\raj\walletfile.opt
    The SCR file generation is : c:\javacarddk\bin\scriptgen.bat -o wallet.scr com/sun/..../javacard/wallet.cap
    However. the SERVER responds positively with the "T=0 listening on port 9025" message,
    but as soon as the CLIENT is started, ie
    c:\javacarddk\bin\apdutool c:\temp\raj\wallet.scr,
    The following exception is thrown :(SERVER)
    java.net.SocketException: Connection reset by peer: JVM_recv in socket input str
    eam read
    jcwde terminating on receipt of SimulationException. See previous messages for
    cause.
    and on the CLIENT :
    com.sun.javacard.apdutool.ReaderWriterError: Card powered down. (0x15)
    Please help, as the source codes of the JavaCard API are not available, so I am unable to determine if this
    RELATIVE path access is the root of the problem.
    Any help is appreceiated!!!!
    Thanks
    --Raj

    cref is not the same as JCWDE.
    JCWDE uses class files to emulate Java Card environment. It doesn't support package installation.
    If you want to test a package using JCWDE you should a) add path to your class files to classpath that is used by JCWDE and b) specify in JCWDE configuration file AIDs for your applets.
    JCWDE receives APDU commands and transfer them to your classes, everything is executed in usual java VM. You can even put debug output (System.out.println(...)) into your sources.
    cref if a 'c reference implementation' of Java Card VM. It executes Java Card bytecodes and emulates real device. It supports package installation (scriptgen/apdutool) and works with converted packages.
    If you want to test a package using cref you should compile sources, convert class files into cap file, create a script for package installation and use apdutool to install and 'run' package in cref.

  • How should i start Java Card Programming?

    Hi All,
    I am a j2me programmer and now would like to learn and develop some applications in JavaCard Technology. but the problem is i dont know how should i start with JavaCard Programming?What all hardwares and softwares will i require for doing JavaCard programming?Can anyone give me some project ideas too for programming in JavaCard Technology
    Thanks
    Sagar

    I think it's best you start here:
    http://java.sun.com/products/javacard/index.jsp
    Some hints about books/specs you can find in this post:
    http://forum.java.sun.com/thread.jspa?forumID=23&threadID=5114170
    There are a variety of Java Card development tools. Just browse through this forum.

  • Auto start Java Card application

    Hello,
    is it possible to start a Java Card application from the SIM card right after the mobile is switched on?
    I talked to a guy from a SIM card manufacturer and he told me it's possible since the device checks on start if a Java Card application is present to display it in the phone's menu, but it's device dependant how it's done and if the application really will be started (which sounds kind of strange).
    Can someone give me more details if it's possible to auto start a application and how it's done ( code snippet would be great ; )?
    Thanks in advance,
    teric

    The first event after ME startup, which STK applet could catch is Terminal Profile.
    So, in applet class constructor should be smthng like
    ToolkitRegistry reg = ToolkitRegistry.getEntry();
    reg.setEvent(EVENT_PROFILE_DOWNLOAD);
    and applet will trigger on Terminal Profile arrival.

  • Pls: I have some problems with GOP java card. who can help me?

    hello, all
    I am going to install my cap file into Global Open Platform Card( S1-TiEx-S32J, which uses GP2.0.1) now.
    but, I have failed.
    I use J2SDK1.4.2.10 when I compile the java file.
    And use Java Card 2.2.1 Development Kit when I convert to cap file.
    The sequences of the command / response are below;
    [SEND]00A4040007A0000000030000
    [RECV]611F
    [SEND]00C000001F
    [RECV]6F188408A000000003000000A50D9F6E0A42505042474F317601019F6501FE9000
    [SEND]80500000082021222324252627
    [RECV]611C
    [SEND]00C000001C
    [RECV]0000FFFFFFFFFFFFFFFF0000E1C81BD9C2573DF5AA8EEB95251A95A59000
    [SEND]8482000010A8BD185CD6A3940C83855021A4DFF412
    [RECV]9000
    [SEND]80E60200050000000000
    [RECV]6700
    What was wrong?
    If you are experience with this kind of java card, pls help me.
    with best regards,
    yong lee

    Andalib3,
    There are a couple of options that you have as far as getting this to work. First off go to Control Panel and then to Sounds and Audio Devices (or multimedia depending on the version of windows). In here go to the Audio tab and then under preferred Midi Playback Device you should have a couple of options. There are two settings here that will work:
    ) Microsoft GS Wavetable Synth - This is a very basic midi sound set that is emulated by the OS
    2) Li've! Midi Synth (A or B) - This is the hardware midi synth on the card.
    Make sure one of these is selected as the default midi playback device and then test your games again.
    Jeremy

  • Nokia 6230 memory card problems plz help

    i have my phone from 2005 and my friend deleted the memory card folder now my phone does not read any memory card i tried with a lot of memory cards but it did not read them can anyone help me to restore the memory card folder or to format the phone if it works PLZ HELP can anyone help me to tell me what to do should i send it into a phone service or what?
    my father wanted me to sell it and to buy a new one but i did'nt want to sell it i just want to make it better.

    have you tried a factory reset and where the cards formated
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • I dont install the wallet sample to java card with gpshell . help please .?

    Hi
    I use Gemalto pc twin Reader.
    I try jdks(1.3.5 , 1.5 , 1.6 versions) for compile
    I use java card kit (2.1.1 , 2..1.2 , 2.2.1 ,2.2.2 versions) for create cap files
    For loadin used gpshell (1.4.2 , 1.4.1 , 1.3.1 versions)
    script
    enable_trace
    establish_context
    card_connect
    select -AID a0000000030000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
    install_for_load -pkgAID a00000006203010C06 -nvCodeLimit 500 -sdAID A000000003000000
    load -file wallet.cap
    install_for_install -priv 02 -AID a00000006203010C0601 -pkgAID a00000006203010C06 -instAID a00000006203010C0601 -nvDataLimit 500
    get_status -element 20                                   
    card_disconnect
    release_context
    I didnt load wallet applet to card. Some time I take install_for_load error , some time install_for_install_and_make_selectable()
    Please help me.
    With jdk 1.3_5 , java card dev kit 2.1.2 and gpshell , I load applet to card but dont install and I take install_for_install_and_make_selectable returns 0x80206A80 (6A80 : Wrong data / incorrect values in command data) error.
    I dont understand why dont loaded the applet to card. Actually I load and install HelloWorld.cap file as this way.
    Additionally , In the wallet applet , the register method used as resigter(bArray , ..... .

    Anybody help me please. It very important. :(

  • Flashing question mark folder on start up, macbook pro. plz help

    Hey folks,
    I know there are threads on this but since I am using my blackberry to write this message I am unable to search the forum.
    Ok. So that's what my macbook pro is doing and its also not letting insert a cd or dvd in the superdrive, seems like it just jammed up. However when I press T on the start up it brings me into a firewire mode? How can I fix my start up issue?
    Secondly I hear the left side of my macbook pro (I think that's where the hard drive is) while the computer starts up I hear it sipping and the noise it makes is like a scratching noise.
    And finaly no idea as to why its over heating?
    Plz help.
    -Joey

    generally, the flashing folder mark means it can not find the startup drive.
    if you hear those kind of noises your hard drive is most likely dead. while this is almost certainly true you can try booting from the install DVD and see if the drive is visible in disk utility. if you can't insert the DVD try this. reboot and hold option at the chime. this should boot you into startup drive manager. there you should be able to insert the DVd and choose it as the startup drive. boot from the DVd and once past the language screen start disk utility from the Utilities menu at the top. see if it detects the internal drive. if it does, try repairing it. if it doesn't the drive is dead.

  • After updating the software Mac won't Start!!! Plz help.

    Hi last week I brought MacBook Pro 17" Lion 10.7.3, 2.4 ghz Intel core i7, 4gb Ram.
    I updated its software before going for work in countryside. But now when I restart it stops on grey screen with apple logo after the blue screen.
    I can mov the cursor but I login window doesn't comes up...
    I didn't brought my Back up Drive to boot with....
    I went through the discussions on my iphone and have tried doing all this ..
    1. Went into safe mode and into disk utility and have verified disk and repaired disk.
       Have also done verifying and repairing disk permissions. It goes all good but still when I restart it gets
       Stuck on that grey screen with no login space.
    2. Have also tried going into single user mode and tried doing those steps about Fsck
    But only first time it says file modified and after that I tried it again and everytime it says disk is ok.
    And then restarted it but again gets stuck.
    3. Have also tried going into terminal in utilities and putting the commands that Kappy has tried to explain to someone through sudo chow.
    And restart it but then also gets stuck on grey screen.
    4. I tried locating /System/Library for editing the start up items but can't find that.
    I will go back to main city in 2 weeks. Till then I can only start in safe mode. Any suggestion plz.

    Restart and hold down the command-r keys so the Mac boots to the Lion Recovery disk. Select Disk Utility and then run Repair Disk.

  • Need to import my java class. Please help

    Dear all.
    I made a java class named GetOS which contains a method that return th OS name. Then I deployed this class to a Jar file called tarek.jar.
    now I need to import this jar file in my form
    i'm using forms9i release2
    I did the following:
    I copied "tarek.jar" to \\developerhome\forms90\java\
    then I opend the forms builder - program-import java class but my jar file "tarek" doesn't exist in the list.
    please help.

    Dear all
    I solved this problem. I editing the class path of the system control panel>system>advanced and it works fine
    Now i can import my class easly without any problems
    But when the forms builder imported my class , it generates a pl/sql package which contains a function with the same name of the method i did in my class.The problem is I do not know how to call this function
    Function getOSname( obj ora_java.jobject)
    return varchar2 is
    begin
    cls := jni.get

  • I'm not able to start new films. Plz help me

    I'm not able to Start recent Films as I'm not able to navigate through the new Film-Menues. I have got a Apple TV 1.gen. Even the new Remote with the new Play-button isn't working. Any ideas how to solve the problem?
    Einstellungen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    0
    =
    Backspace
    Tab
    q
    w
    e
    r
    t
    y
    u
    i
    o
    p
    Return
    capslock
    a
    s
    d
    f
    g
    h
    j
    k
    l
    shift
    `
    z
    x
    c
    v
    b
    n
    m
    shift
    English
    alt
    alt
    Einstellungen

    Do you really mean iOS 5.1, or do you mean iOS 5.0.1? If you do mean iOS 5.1, that has not yet been released yet so you you have a beta version, for which we cannot provide help here. If you are a registered Apple developer, you hvae recourses through which to request assistance and report problems.
    If you have iOS 5.0.1, post back with details - your model of iPod (3rd generation or 4th generation), the operating system on your computer, the version of iTunes, and the exact symptoms of the problem - and someone here can probably then offer suggestions.
    Regards.

Maybe you are looking for

  • What are the impacts of IB control set to No at Master level

    What are the impacts of IB control set to No at Master level, but the item is serialized at master and Org level. These are service items.

  • How to restrict languages in Java stack of SAP BW 7.0?

    Hello, we are using SAP BW 7.0 (SP 18) and like to show the results of BEx Web Templates in Portal only in English or German. A user can select a language via Personalize in Portal. This language is available within the Portal-variable "Request.langu

  • Regarding new segment in Idoc

    Hi,     I have created a new segment ZDH_HAZMAT  for hazardous materials for the idoc type ZDH_ORDERS and released it for purchase order. Actually modifying the segment data for already existing Idoc segments (E1EDP01) is possible and i have done it

  • White screen of death and computer halts with ATI 4870 in Boot Camp

    Hi! I have just received the ATI Radeon 4870 for my Mac Pro (Early 2008)and have upgraded my Leopard to 10.5.7 and works fine on the Mac side. When I reboot and hold the command key I can see my MAC and my BOOT CAMP 2 options as always before. When I

  • ....Date Type in Oracle

    Hi All, Just to clear a few misconception/ambiguities regarding the DATE data type in Oracle. We hve a table which stores the date of insertion of a record. The front end application is in PHP while backend is in oracle. When i query the table, it sh