Getting the Transit Reference Application Sample

You can use the IDE to get a working Transit reference application sample from the Kenai Java Card 3 repository. The Transit reference application sample demonstrates the features of the Java Card API, Connected Edition and includes simple applets, libraries, and web applications running together as a complex reference application that demonstrates the interactions between various applications on the card using advanced features such as SIO and events. The Transit reference application illustrates scenarios of package masking and post-manufacture installation. Documentation for configuring and running the sample is also located in the Kenai repository.

  1. In the IDE menu, choose Team > Kenai > Login to Kenai.

  2. Note - If you do not have an existing account on Kenai you can create one from the Login to Kenai dialog box.


  3. Login to the Kenai project site.
  4. In the IDE menu, choose Team > Kenai > Get Sources from Kenai.
  5. In the Get Sources from Kenai dialog box, click the Browse button beside the Kenai Repository field and use search to locate the "Java Card - Everything You Need to Know" project.

    Note - There are two Java Card 3 platform repositories, one that uses Subversion version control and another that uses Mercurial version control.


  6. Select the desired "Java Card - Everything You Need to Know" project and then click the OK button.
  7. In the Get Sources from Kenai dialog box, click the Browse button beside the Folder to Get field, select the samples/transit folder in the Browse dialog box and then click the OK button.
  8. Accept the default Local Folder location or set your own preference.
  9. Click the Get From Kenai button.
  10. The IDE downloads the Transit sample projects from the Kenai site and opens a dialog box that lets you select the project or projects that you want to open.