That's why it is a bad idea to move your dependencies from the EAR and to the shared directory: by storing all the dependencies in the EAR, the server application can clear the undeploy / redeploy EAR and return the space that it uses in the JVM heap (for Sun JVMs, permgen). If you move some dependencies to a shared library, you risk that these dependencies will contain a hard link to any object defined in the EAR. This will mean that the EAR classes cannot be deleted and, ultimately, your application server will crash after the expiration of the space perments.
SSH , "VPN" Windows SMB, . SSH (, , SCP RSYNC), .
, . VPN , , , . : . , , .
, , " " - , JAR.