How to load a java card applet into a java card

Dear All,
I am a novice to java card technology..
I have done some search on how to load a java card applet into a smart card but haven't found a satisfactory answer. I have read about installer.jar and scriptgen tool but I want to load the applet from a java program and not from command line. It would be of great help if somebody can help me out.
If somebody can share a sample program which load a javacard applet(.CAP file) into a smart card, I will be very thankful.
I am able to find some client applications which help us send APDU commands and recieve response APDU's to interact with an applet loaded on to the smart card but not application which actually load the applet.
I have heard of OCF and GP.. some say that OCF technology is outdated and no longer in use.. can somebosy throw some light on this too..
cheers,
ganesh

hi siavash,
thanks for the quick response.. i checked out GPShell as suggested, it looked like a tool by which one can load an applet on to card and send some sample apdu commands... but I want to load the applet from the code.
My application should look something like this.. it will be a swing applicaton where I have a drop down with a list of readers, I select the one desired and then click on "LOAD" after inserting a blank java card, at this point my applet which is stored in my DB should get loaded on to the java card. The next step should be to personalize it where I enter the values for the static variables of my applet and click "PERSONALIZE", at this point all these values should be embedded into APDU commands and sent to the java card for processing.
For achieving this I am yet to find a comprehensive sample or documentation on the net.
Please help...
regards,
ganesh

Similar Messages

  • How to load the data from informatica into bw & how to report the data

    Hi friends,
    how to load the data from informatica into bw & how to report the data
    using cognos.(i.e how to access the data in sap bw using cognos 8 BI suite).
    Thanks,
    madhu.

    Inorder to report BW data into Cognos you can extract data from using Open Hub to the DB table from which Cognos reads.
    For BW informatic integration refer following docs:
    http://www.aman.co.il/aman/pfd/DataInteg_BR.q103cd.pdf.pdf
    http://h71028.www7.hp.com/enterprise/cache/3889-0-0-225-121.html
    http://devnet.informatica.com/learning/ePresentations.asp
    http://72.14.203.104/search?q=cache:C741L86Q19oJ:devnet.informatica.com/showcase/resources/Essbase_DataSheet.pdfinformaticapowerconnect(BI)&hl=en&gl=in&ct=clnk&cd=3
    http://www.informatica.com/customers/utilities_energy/fpl_group.htm
    http://www.informatica.com/solutions/resource_center/technote_sapbw_65241004.pdf#search=%22Informatica%20to%20Bw%22

  • How do you convert a jar file into a java file,  ?

    how do you convert a jar file into a java file ?
    I am new to Java ,but have a little experience in C++ and Visual Basic.
    I want to edit and maybe create my own mobile games that are written or converted into jar files.
    At the moment I am using Java NetBeans , and Easy Java( the java pad).
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?

    801283 wrote:
    how do you convert a jar file into a java file ?You generally don't. There exist decompilers, but if you're meant to have the source, you should either have it because you are the author, or you should be able to get it from the author.
    I am new to Java ,but have a little experience in C++ and Visual Basic.Does that experience include turning .exe files into C++ code? Because that's the equivalent of what you're asking
    I want to edit and maybe create my own mobile games that are written or converted into jar files.Eh?
    Are you saying you want to take existing games and modify them? If the creators allow you to modify their source, then they'll provide you with that source (the .java files). If you're allowed to add things but not modify, you don't need .java files. Just documentation, which, again, the creators should be providing.
    Or are you saying you want to create your own games and distribute them in jar files? If so, there's no need to turn jars into .java.
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?Why would you expect there to be one?

  • Import java code applet into form and execute it

    Hi all.
    I'm on devsuite 10g.
    I have the following applet code:
    import java.applet.Applet;
    import java.awt.event.*;
    import java.awt.*;
    public class simple2 extends Applet
      implements MouseListener, MouseMotionListener {
          double r0 = 100.0;
          double r1 = 40.0;
        public void paint(Graphics g) {
          int n = 400;
          int x0=0,y0=0,x1,y1;
          for(int i=0;i <=n;i++)
               double rho   = 2*Math.PI*i/n;
               double theta = 16*Math.PI*i/n;
               double x = r0*Math.cos(rho) + r1*Math.cos(theta);
               double y = r0*Math.sin(rho) + r1*Math.sin(theta);
               // cambio sistema di riferimento
               x1 = getSize().width/2+(int)x;
               y1 = getSize().height/2+(int)y;
               // disegno
               if(i>0) g.drawLine(x0,y0,x1,y1);
               x0 = x1;
               y0 = y1;
        public void init() {
          addMouseListener(this);
          addMouseMotionListener(this);
        public void mouseClicked(MouseEvent e) {}
        public void mousePressed(MouseEvent e) {}
        public void mouseReleased(MouseEvent e) {}
        public void mouseEntered(MouseEvent e) {}
        public void mouseExited(MouseEvent e) {}
        public void mouseMoved(MouseEvent e) {}
        public void mouseDragged(MouseEvent e) {
          int x = e.getX(), y = e.getY();
          r0 = x-getSize().width/2;
          r1 = y-getSize().height/2;
          repaint();
          e.consume();
    } I want to import this code into my form in order to execute it.
    Code make possible drawing graphs to screen...
    What I want is to execute this code into my form, in a when-new-block instance trigger or something else.
    How can I achieve this???
    Thanks all for collaboration,
    Fabrizio

    It isn't quite as simple as just "importing" your java code if your goal is to have the forms and the java app communicate with each other. Interaction occurs when a properly designed Java Bean is created.
    Take a look at some of the examples on the following page as they can likely provide you with a good starting place:
    http://sheikyerbouti.developpez.com/forms-pjc-bean/menu/

  • How to load CAD files like .prt, . stp  in JAVA

    How to load CAD files like .prt, . stp files which can be generated by UG and Pro/E etc in JAVA. I am appreciated that you will give any comments.

    Hi,
    as far as I know there is no Java 3D loader for CAD files available. You have to export your files into a format like "3ds ", "obj ", or "wrl". See thread 'JAVA 3D max files and VrmlLoader' on java.net: [http://forums.java.net/jive/thread.jspa?messageID=231564&#231564|http://forums.java.net/jive/thread.jspa?messageID=231564&#231564]
    August

  • Does anybody know how Oracle load large N-Triple file into Oracle 11g R1?

    Does anybody know how Oracle load large N-Triple(NT) file into Oracle 11g R1 by using sql*loader according to their benchmark results?
    Their benchmark results indicate they have over come the large data set problem.
    http://www.oracle.com/technology/tech/semantic_technologies/htdocs/performance.html
    It means they have loaded LUBM 8000(1.068 Billion+ Triples) into Oracle successfully, but there is no detailed steps provided. For instance, 32-bit or 64-bit platform they used, only one NT file being used corresponding to one dataset or several NT files?
    Is there any exception occured during the loading process if the NT file beyond 60GB? When using jena to generate NT file against LUBM(8000), the size of the NT file would definitely beyond 60GB.
    We are dividing such large NT file into several small ones? Is it a good approach? I'm hesitating to do so!

    A Linux 32-bit platform was used for bulk-load of LUBM-8000 1.106 billion (before duplicate elimination) RDF triples into Oracle.
    Multiple gzipped N-Triple files were used to hold the LUBM-8000 data. zcat was used on all these files together to send the complete data into a named pipe. SQL*Loader used this named pipe as the input data file to load the data into a staging table in Oracle. Once the staging table was loaded, the sem_apis.bulk_load_from_staging_table API was used to load the data into Oracle Semantic Store.
    (Additional details in http://www.oracle.com/technology/tech/semantic_technologies/htdocs/performance.html )
    Thanks.

  • Info on how to load jdk 1.1 applet

    I am totally new to this technology.
    How do I load a jdk 1.1 applet onto a geocities website?
    Do I need a special program to run the applet?
    I have uploaded the applet and cannot figure out how to operate it, I can find no html or class files.
    this is an applet for creating islamic tiling and interlacing, here is the url, if you are willing to come this far with me
    http://www.cs.washington.edu/homes/csk/tile/islam/
    Sorry, But I'm an artist and not a web site designer.
    Please explain in very simple terms
    Thank you
    Storm

    Use the HTML applet tags, if you know HTML. If all you want to do is the applet and nothing else, then just create the following HTML file in simpletext (save it as FileName.html), or even geocities file manager:
    html
    <applet code = "ClassName.class" width = 400 height 400>
    </applet>
    /html
    The numbers and file name listed above are just ones I used as an example. Use whatever ones you need to make it big enough and to load the class you want. And remember to put the < and > in the HTML tags, I didn't so that it would show up on this forum.
    This procedure WILL NOT work with Yahoo! PageBuilder, in case that's what you are using.
    Remember to upload the CLASS file into your geocities file manager/directory or it will not work.
    If all you want to do is load an applet and it doesn't work, then their is something wrong with your browser (probably because it doesn't support JAVA).
    Another good idea would be to download jdk 1.2.2 or jdk 1.3, probably found at sun.com somewhere (I'm still trying to find it, hehe!)
    Tell me if it works or not and whether or not you understand what I'm talking about. Thanx.
    -Conrad

  • Installing a java card applet on a java card

    hey everybody,
    I having been searching the posts and haven't found anything on how to install a javacard applet to the card itself. I have designed an applet to use and tested it on the jcwde as well as jcop and it works perfectly. I have also convertered it to a cap file. Now what I want to do is transfer it to a card, how exactly do I do this. Do I have to call the driver of the reader or anything like that? how does java or jcop know where the reader is? is there any declaring the reader? As in declaring sockets? The reader I am using is a SchlumbergerSema V2 usb reader. And the cards I am using are the ones that came with the JCOP software. Thanks for the help.

    hy
    1. do you have a reader with a serial (com1) connection?
    if so, the reader has to be connected before starting windows. so windows recognizes it.
    2. have a look to the control panel. is there a tool - installed during driver installation - to test and configure the reader?
    if so try it.
    if all that works, the jcop tools communicate with the reader over the installed driver.
    snoopy

  • How to load master data with text into infoObject in BI 7.0

    Hi all;
    I have an infoobject 0employee ( this is for employee number ,8 character long), with medium text option.
    I would like to load Employee name as a text option for employee number.
    How do I load this mater data into this 0employee object,
    Please help.
    I did look for something similar in the forum and there are many of them, but I couldn't find anything that for BI 7.0 and really clear help for me. Sorry to ask a question that been asked before.
    thanks.
    Raiine

    hi rainnie,
    check this link t oload master data in BI 7
    Re: BI 7.0 flat File extraction
    as you are using SAP defined infoobject you can start from the creation of datasource.
    text format for the flat file is
    LANGUAGE,INFOOBJECT,TEXT
    EN,0EMPLOYEE,RAINNIE
    You have to create ,infopakage, transformation ,dtp for both the attribute and text.
    hope this helps
    cheers
    Sunil

  • How to load data from XML DOM into tables using Business Components

    <p>
    Hi,
    </p>
    <p>
    I need to upload XML file (it&#39;s not a problem) an load data (DOM tree) from this file into relationan tables. This filelooks like this:
    </p>
    <p>
    <font face="courier new,courier" size="2">&lt;Departments&gt;
       &lt;Department&gt;
          &lt;DepartmentName&gt;OPERATIONS&lt;/DepartmentName&gt;
          &lt;Localization&gt;BOSTON&lt;/Localization&gt;
          &lt;Employees&gt;
             &lt;Employee&gt;
                &lt;LastName&gt;TURNER&lt;/LastName&gt;
                &lt;Job&gt;SALESMAN&lt;/Job&gt;
                &lt;Manager&gt;7698&lt;/Manager&gt;
                &lt;HireDate&gt;1981-09-08&lt;/HireDate&gt;
                &lt;Salary&gt;1500&lt;/Salary&gt;
                &lt;Commerce&gt;0&lt;/Commerce&gt;
             &lt;/Employee&gt;
          &lt;/Employees&gt;
       &lt;/Department&gt;
    &lt;/Departments&gt;</font>
    </p>
    <p>
    Is there any Business Components support to obtain this ? What about primary and foreign keys values (there is no in XML file). How to place this XML data in appropriate tables ?
    </p>
    <p>
    Kuba 
    </p>

    Pl post details of exact OS and database versions, along with a sample of the XML file and description of the tables. What have you tried so far ?
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/ldr_control_file.htm#i1005614
    HTH
    Srini

  • How to load  a dat file  data into CRM Application

    Hi,
    My sourcre file is .DAT File and I want load data in that .DAT file in CRM Application.
    Is it Possible? if yes then how.
    As this is urgent requirement please respond soon
    Thanks in Advance
    Raghu
    Edited by: 869619 on Aug 10, 2011 1:39 AM

    Hi Cesar,
    I don't know if you have found a solution, but attached is a DLL built in VC that will read the text out of a file into a TestStand variable. The attached sequence file \SequenceFile1.seq contains a step type that is set to call the DLL responsible for reading the file. It reads the file specified under Step.FilePath and stores the data in Step.ReadData. Please let me know if this works for you. I have attached the source as well.
    Regards,
    Bob
    Attachments:
    ReadFile.zip ‏3628 KB

  • How to loading the opening stock balance into Infocube 0IC_C03

    Dear Expers,
    I have referenced SDN a expert's documentation, but I canu2019t go on at page 10 .
    Check: How Tou2026 [Handle Inventory Management Scenarios in BW|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]
    (1)original text:
    Loading the opening stock balance (InfoSource 2LIS_03_BX) into InfoCube
    0IC_C03. In the InfoPackage, choose the upload mode u201CCreate opening balanceu201D
    (see screenshot).
    Question:
    How to find option that upload mode u201CCreate opening balanceu201D?
    i'm  use to customize infopackage.  i  can not use default infopackage, when i click the defualt infopackage, will error prompt: Data target '0DF_C07' removed from list of loadable targets; not loadable
    (2) I actived BI Contnet (0IC_C03), I seen that the data flow  as following:
    Datasource(2LIS_03_BX)->transformation->Infosource(2LIS_03_BX_TR)-> transformation->Infocube(0IC_C03)
    Datasource(2LIS_03_BF)->transformation->Infosource(2LIS_03_ BF TR)-> transformation->Infocube(0ICC03)
    Datasource(2LIS_03_UM)->transformation->Infosource(2LIS_03_UM TR)-> transformation->Infocube(0ICC03)
    Quesiton: I donu2019t  know whatu2019s version, neither like BW 7.X nor like BW 3.X,
    Why have infosource in BW 7.X, how to use infosource load data to target?
    Currently, I canu2019t create transfer rule and upate rule for this datasource & infosource.
    Do  I  need to create a  customize ODS?
    Thank you very much , if you will answer me above two questions.
    Best Regards
    Steve

    >
    stevezhuang wrote:
    > Dear Expers,
    >
    > I have referenced SDN a expert's documentation, but I canu2019t go on at page 10 .
    >
    > Check: How Tou2026 [Handle Inventory Management Scenarios in BW|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]
    >
    > (1)original text:
    > Loading the opening stock balance (InfoSource 2LIS_03_BX) into InfoCube
    > 0IC_C03. In the InfoPackage, choose the upload mode u201CCreate opening balanceu201D
    > (see screenshot).
    >
    > Question:
    > How to find option that upload mode u201CCreate opening balanceu201D?
    >  i'm  use to customize infopackage.  i  can not use default infopackage, when i click the defualt infopackage, will error prompt: Data target '0DF_C07' removed from list of loadable targets; not loadable
    >
    >
    >
    > (2) I actived BI Contnet (0IC_C03), I seen that the data flow  as following:
    > Datasource(2LIS_03_BX)->transformation->Infosource(2LIS_03_BX_TR)-> transformation->Infocube(0IC_C03)
    >
    > Datasource(2LIS_03_BF)->transformation->Infosource(2LIS_03_ BF TR)-> transformation->Infocube(0ICC03)
    >
    > Datasource(2LIS_03_UM)->transformation->Infosource(2LIS_03_UM TR)-> transformation->Infocube(0ICC03)
    >
    > Quesiton: I donu2019t  know whatu2019s version, neither like BW 7.X nor like BW 3.X,
    > Why have infosource in BW 7.X, how to use infosource load data to target?
    > Currently, I canu2019t create transfer rule and upate rule for this datasource & infosource.
    > Do  I  need to create a  customize ODS?
    >
    >
    > Thank you very much , if you will answer me above two questions.
    >
    >
    > Best Regards
    > Steve
    You don't need to worry about 0DF_C07 as it was defence cube not activated during your Business Content Activaiton.
    YOu can create your own infopackage for 2LIS_03_BX and there will be option generate intial status.
    This loading will create your Opening Balance.
    you need to compress this with NO Marker UPDATE option unchecked(as you will have to update hte marker).
    After this load movements 2LIS_03_BF and reval 2LIS_03_UM. Compress this with NO MARKER UPDATE option checked.
    Regards,
    RK

  • How to load and replace random swfs into same loader on stage?

    Hi...this is very simple, but, for some reason escapes me: using AS3 how can a swf load another swf to replace itself in the same loader on the stage, while simultaneously calling a randomizing function in the first frame of the main timeline, to randomize the next swf?
    At the end of each swf (called "koan_#.swf") there is the following old AS2 code...it was used to randomly select and then play a swf from koan array:
    _root.index++
    if(_root.index>_root.koan.length-1){
    _root.index=0;
    _root.koan.shuffle();
    _root.koan_loader_mc.loadMovie(_root.koan[_root.index]);
    This code on the first frame of the main timeline loads a random koan swf properly, but, after the koan plays I would like to load a new random koan swf.
    function shuffle(a:Array):Array {
    var len:Number = a.length-1;
    for (var ivar:Number = len; ivar>=0; ivar--) {
      var p:Number = Math.floor(Math.random()*(ivar+1));
      var t = a[ivar];
      a[ivar] = a[p];
      a[p] = t;
    return a;
    var index:uint = 0;
    var koan_loader:Loader = new Loader();
    var koan:Array =["swfs/koans/koan_1.swf","swfs/koans/koan_2.swf", "swfs/koans/koan_3.swf", "swfs/koans/koan_4.swf", "swfs/koans/koan_5.swf", "swfs/koans/koan_6.swf", "swfs/koans/koan_7.swf", "swfs/koans/koan_8.swf", "swfs/koans/koan_9.swf", "swfs/koans/koan_10.swf", "swfs/koans/koan_11.swf", "swfs/koans/koan_12.swf"];
    koan = shuffle(koan);
    koan_loader.load(new URLRequest(koan[index]));
    MovieClip(this).koan_loader_mc.addChild(koan_loader);
    Thank you very much.  I've tried multiple variations of updated AS2 code but am at my wits end. 

    Alright, the bloody forums won't attach the file for some reason, so here is the code:
    Copy and paste this code into a text file and save it as InterfaceEvent.as
    package {
         import flash.events.Event;
         public class InterfaceEvent extends Event {
              public static const KOAN_FINISHED:String = "koanFinished";
              public function InterfaceEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, index:int = -1, item:Object = null) {
                   super(type, bubbles, cancelable);
                   this.index = index;
                   this.item = item;
              public var index:int = -1;
              public var item:Object = null;
              override public function clone():Event {
                   return new InterfaceEvent(this.type, this.bubbles, this.cancelable, this.index, this.item);

  • JCS: how to load users with csv file into Identity Console

    In my Java Cloud Service: When I go to Identity Console I have a function "Load users" under "Manage Users".
    How should this CSV file look like?
    How can I add roles to the users?
    I loaded yesterday a file and I still get the message "Maximum number of simultaneous uploads per identity domain exceeded. No more uploads will be accepted at this time. Select UTF-8 encoded CSV file you wish to upload. Maximum file size is 256 KB."
    When will this file be process? Can I cancel this process? How do I get notified about a result?
    kind regards
    Robert

    see http://docs.oracle.com/cloud/131/trial_paid_subscriptions/CSGSG/cloud-manage-user-accounts.htm#BCFDAIJA  Adding a Batch of User Accounts
    file has to have a header:
    First Name,Last Name,Email,User Login

  • How to load data from one Infobject into another in the same system??

    Hello All,
       i need to load hierarchy data (already existing in 1 Infobject) into another newly created Infobject in the same BW system.Is there a way to do it without involving flat files??
    Thanks soo much in advance
    Regards,
    Priya

    hi
    say there are two infoobjects X  and Y.
    X is existing infoobject and Y in new one.
    go to infosurce-search for X-create export datasource - map the rules and load the data.
    This is one way.
    Other way is u can use X as a reference object of Y so that both of them have same structure and both objects will share common database tables in BW which are exsting for X.
    Hope this helps.
    Kindly assign the points if it helps.

Maybe you are looking for

  • BW report images

    Hi guys, I've created some BW report iViews using the iView template (BW 2.x/3.x Web Application iViews) tht will extract from our BW system that has already been configured in the Portal's system landscape. It is able to successfully retrieve the in

  • File Sharing in XP on the 650N

    I know this is beat to death in some form or another based on the searches I've come across but my problem is still different. My operating system is Windows XP Pro fully updated. All PC's on this network are wireless. I just changed over from a dlin

  • Problem with auditioning samples in Ultrabeat?

    Im having some trouble with auditioning drum hits in Ultrabeat. When I go to listen a sample, the sample plays but all i can hear is a high pitched squeak instead of the drum hit I want to audition. Can anyone explain this?

  • Homesharing - 1 computer not 3

    Homesharing thinks I have 3 computers registered to my account but I only have 1. They are all the same - my hard drive was wiped twice for repair. How do I rectify this?

  • Unlimited Render of HDV footage painfully slow

    i am currently working with a 10 min HDV 1080i50 sequence, on a 2 x 2.8 Quad Core Mac Pro running 10 GB of RAM. Within Final Cut Pro i need to render "Unlimited" and "Full" segments. The "Full" segments rendered at normal speed, but the"Unlimited" se