JavaBean

Dear all,

I am a beginner of JavaBean. I would like to know how to start the JavaBean in the JSP Container. Because when i execute the *.class file, there is a error that

"Exception in thread "main" java.lang.NoClassDeffoundError : "

how can i execute the *.class when it is without the

"public main(String argv[])", thx

Rick Wong

[377 byte] By [rickhlwong] at [2007-9-26 4:43:15]
# 1
You cannot execute such class. And EJB has no sense outside of container. If you have delveloed EJB,you have to package it in ejb-jar file, and then deploy it in your ocntainer ( app server ) - consult docs of your server how to do this.
ko5tik at 2007-6-29 18:07:13 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Dear ko5tikI get the method la, thx a lot. Rick
rickhlwong at 2007-6-29 18:07:13 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...