I have weblogic 5.1, but the sentence probably is equal. Try this:
1- Open your command prompt
2- Go to weblogic directory (ex.: c:\weblogic)
3- Run setEnv (this put the weblogic classpath in your dos session)
4- Run the sentence:
java weblogic.deploy -port portNumber -host hostIP deploy <password> <ejbName> <jarName>