As sachin's error message suggests, the bean needs to be in a jar to run ejbc. Here's a link to a weblogic 51 example. They use scripts to build the Enterprise JavaBean examples and the page describes what the script does and that includes making the jar and running ejbc.
http://www.weblogic.com/docs51/examples/ejb/building.html With 6.0 (we didn't have sp1) stubs and skeletons supposed to be generated automatically, but we had to use ejbc on the jar.
[This message has been edited by Carol Enderlin (edited April 18, 2001).]