eclipse-jcwde 2 update
Original Version can be downloaded from http://eclipse-jcde.sourceforge.net
Extended Version 2 can be downloaded from the link below.
NOTE: RENAME THE FILE FROM .PDF to .ZIP
JavaCard 3 Specifications (April 2008) can be downloaded from here
Source SVN will be added soon.
Added Enhancements and Fixes for version 2:
__________________________________________
Version Info. 2
Tools:
——-
The new “Java Card Applet” wizard is used to automate the creation process of a Java Card Applet, and to allow the developer to enter the applet’s AID to be stored in the project’s workspace. The AID is required for generating CAP files and APDU scripts, and for installing the applet on a simulator for testing.
Added support for Java Card RMI (Remote Method Invocation) and for Shareable Interfaces, optional generation of sample code for both features as well. Use this feature when making a new project.
TODO: Add a refactor method for RMI Code Generation Template.
Added “Set Package AID” to allow setting the AID of a selected package. The AID should be used later on while generating CAP files and APDU scripts and while installing the package on a simulator.
TODO: A more mature script editing interface. At the moment the cap conversion script is silently generated in the backend and hidden from the user.
Added “Convert” is a tool that wraps a command line tool provided by Sun Microsystems to allow converting a Java Card package into a CAP file. The tool also optionally generates a EXP file and a JCA file. The CAP file is a JAR-format file which contains the executable binary representation of the classes in a package. A EXP file is a Java Card export file that contains the public API linking information of classes in a package. A JCA file is a Java Card assembly file, which could be used to regenerate a CAP file.
“Generate Script” is a tool that wraps a command line tool provided by Sun Microsystems to allow generating Java Card package and applet installation APDU scripts. Extra APDU script lines have been automatically added to the script generated by Sun’s tool to make it more feasible for direct running on a simulator. The Generate Script popup menu item appears after right clicking a Java Card package, a Java Card applet or a CAP file.
TODO: Extend the form to show the applet firewall simulation. (GUI)
“Run Script” is a tool that wraps a command line tool provided by Sun Microsystems to allow sending the APDU commands of an APDU script file to a simulator.
Simulators used:
—————–
1. “CREF” is a JCRE reference implementation written in C-language provided by Sun Microsystems. It is a simulator that is much like a real Java Card technology-based implementation but it does not support running Java Card applications in debug mode. CREF is wrapped inside EclipseJCDE to automate the process of starting it, sending arguments to it according to the stored preferences and stopping it. The preferences are now stored in the project’s workspace and are used to construct the arguments that will be sent to the simulator while starting.
2. “JCWDE” or Java Card Workstation Development Environment is another simulator provided by Sun Microsystems. It supports running Java Card applications in debug mode. It is a java application that emulates the JCRE but lacks some of its features. JCWDE is wrapped inside this plugin to automate the process of starting it in normal or debug mode, sending arguments to it according to the stored preferences and stopping it.
Validations
————-
“Applet AID validation”: Checks every Java Card applet in a Java Card project for the existence of applet AID.
“Package AID validation”: Checks every package in a Java Card project for the existence of package AID.
Added “Duplicate AID validation”: Checks every Java Card project for the inexistence of duplicate AIDs.
TODO: Add Support and features from JC3
1
880



eclipse-jcde-2.zip




















