![]() Purse myPurse = (Purse) jcRMI.getInitialReference() Ĭan anyone out there help me? Thanks in advance. However, when building the client host project PurseClient the compiler gives the following errors: ![]() So if you put your built jar in one directory, copy the lib folder to that directory, then launch it like so: java -jar my.jar. This allows me to import the Purse interface, at least in the IDE text editor, in my client host PurseClient with Netbeans will build the manifest in the main jar file such that it will look for the dependent jars in that lib directory which is relative to the location of the built jar. In the "Libraries" setting of the PurseClient project I have included the PurseApplet.cap file from the PurseApplet project. ![]() My client host application is a "Java Application" project called PurseClient: it defines the package purseclient and tries to access the Purse interface. Building this project generates a PurseApplet.cap file. My server applet is in a "Java Card Classic Applet" project called PurseApplet: it defines the package purseapplet and contains the Purse interface (in file Purse.java). I am following the articles An Introduction to Java Card Technology 2 and 3, see distributed client/server for bank account management with the use of an data. For starters, I am trying to get the Purse sample from JDK 2_2_2 to work in the NetBeans IDE. Java-RMI-client-server-with-Netbeans The goal of this mini project is to master the RMI technology and develop an application for it. ![]() I'm new to the Java World and have a Java Card development project.
0 Comments
Leave a Reply. |