Hi, i came thro the following statemnt abt ejb, can anyone explain it..
"The enterprise bean implementation is not supposed to implement the bean's RemoteInterface directly, so that clients cannot by mistake bypass the container-generated EjbObject that wraps the BeanImplementation and does implement the RemoteInterface. Yet we would like to have some compile time confirmation that our implementation implements all of the business methods advertised in the RemoteInterface."
Yeah, that was one of the things that just didn't sit right about previous versions of EJB and that was fixed in EJB 3.0. In EJB 2.x you have to wait until the EJB compiler does the verification either at deployment or at EJB-compile time (if your server supports doing it in advance of deployment).