Which interface called Component are you talking about? The only one in J2SE/JEE with that name is java.awt.Component, but that has nothing to do with EJB. [ September 28, 2007: Message edited by: Ulf Dittmer ]
Maybe I'm a bit dense, but there is no interface called Component in EJB (as I mentioned in my previous post). Can you describe in more detail what you're asking about, or post the fully qualified class name (including the package)? [ September 28, 2007: Message edited by: Ulf Dittmer ]
Why bean is not implementing the component interface?
Hi Priteshaaa the bean class is not required to implement the component interface (but you can do so..)as its not a marker interface(as it extends EJBObject which has methods decalred in it like remove(),getHandle() etc)so if you do so the you have to write the concrete implementation of that methods . So at the time deployment the deployer tells the container that here is the component & home interface of this bean ,the container would implement these interface by constructing an class called EJBObject & EJBHome which the client would use to intract with the bean.. Hope it clears..