This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 170672 - Ability to specify that card manager is on a remote host
Summary: Ability to specify that card manager is on a remote host
Status: RESOLVED FIXED
Alias: None
Product: javacard
Classification: Unclassified
Component: Java Card (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks: 170636
  Show dependency tree
 
Reported: 2009-08-19 18:40 UTC by _ tboudreau
Modified: 2009-08-31 20:20 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2009-08-19 18:40:58 UTC
See bottom of http://wiki.netbeans.org/JavaCardTODOs - a JavaCard project may be deployed to a remote host.  This calls for
 - Option to specify that a specific card is remote and store this with as a boolean in the card definition
 - In-IDE options to detect this condition and not start cjcre.exe (the local emulator) in this case

This brings up a number of issues:
 - What is the "platform" for a remote card/emulator?  Do we have another flavor of platform that is "remote" with URL properties or something?
    - Should the user be able to set up a local Java Card Platform, then specify remote URLs and that it is remote, and just do it that way?  Some services of the 
local RI implementation are probably still needed.
 - What should card subnodes requested in issue 170670 do to query for running stuff on the remote platform - poll?  Don't support it?
Comment 1 _ tboudreau 2009-08-27 20:17:21 UTC
Fixed in changeset 855a5433ccb2

Added Card.isRemote(), checkbox to RI device customizer

Note this may create some problems wrt start and stop card actions (which are generic to all cards).  Currently they are
only enabled if !card.isRemote();  however for a non-RI server, it is possible to have a "remote" server which can
somehow be started/stopped.  So probably we really need Card.canStart() and Card.canStop(), and make isRemote() specific
to the RI implementation.

Again, can't stress enough that to have something that is not toy Java Card support, we *must* get implementations of
JavacardPlatform and Card working over at least one platform that is not the RI, ASAP.
Comment 2 Quality Engineering 2009-08-31 20:20:59 UTC
Integrated into 'main-golden', will be available in build *200908311509* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/855a5433ccb2
User: Tim Boudreau <tboudreau@netbeans.org>
Log: #170672 - Add support for remote card manager to device customizer