To deploy an EAR file to NetWeaver >= 7.1:
Command:
java -Dserver.parser.inqmy=true -Dproxy=DC -classpath <cp> com.sap.engine.deployment.DMClient user:pw@server:P4port <path/to/ear/file>
the classpath needs the JARs you find in the j2ee/deployment directory