You can use the
ejb deployer tool to generate the jar file which would be deployed.The jar file contains all the class files and descriptors.Its easier to use the deployer tool since it would generate the container and create the jar file for you.Also it would create the deployment descriptor.So only thing you need is class files of your bean.
If you dont use the deployer tool then you have to use DOS commands to generate the container and create the jar file.You also have to write the deployment descriptor(.xml files).The commands and the process to do it can be found in the docs that come with weblogic.
Once jar file is generated,it should be deployed in weblogic server either by editing the weblogic.properties file or by using weblogic console(hot deployment).
After it is successfully deployed you can use the methods of the bean.