Hi All!I am a new member. Can anybody tell me - Why do we use interfaces in EJB to access the bean class? Why can't we directly access it?
Thanks & Regards,<br />Chandan Ghosh<br />SCJP1.4
posted 11 years ago
Dear Chandan, No body is allowed to access the bean class directly except the container, because it intercepts every call to the been to step in and add its services, like security, transactions and persistence.
I suggest that you read a Tutorial or a book to get you started, you can try Sun's J2EE 1.4 Tutorial, or Head First EJB book. [ July 13, 2005: Message edited by: Nadeem Awad ]
Share Knowledge to gain it.<br /> <br />SCJP 1.2, SCDJWS 1.4, SCWCD 1.4, SCBCD 1.3, ICAD