jCardSim is an implementation of the Java Card API. It fully emulates NXP-chip JavaCard. It features virtual JavaCard terminal emulation, rapid application prototyping, easy writing of unit tests (five lines of code), and easy creation of verification tests (Visa/Mastercard).

URL:jcardsim - Java Card Runtime Environment Simulator - Google Project Hosting