Talking between Java Card applets with shareable interfaces
Java Card applets live behind a firewall. One applet cannot simply new another applet, grab a reference and call a method. Cross-applet calls go through the one door the JCRE provides: a shareable interface.
That door has more rules than a method signature suggests. To pin them down I built a deliberately small case: a ticket-service applet owns a balance, a client applet buys tickets through the service, and an unauthorized applet tries the same call. Four classes in four packages, run on a contactless D600 card. I measured what could be measured; spec-only boundaries are called out separately.