I have a project-signing PDF documents using smartcard. We know that a smartcard does not export your private key, so I have travel documents to be signed from the server to the client, and then the signature is made by an applet. So far so good, it worked. But I need the documents are signed without having to transfer them to the client. So I need that my applet remotely access the method that makes the signature passing the private key as a parameter. How do I get my applet to access a method of remotely SEAM? As an RMI.