hai dudes, hope these Q's r clear and ans were appreciated. plz answer these Q's and clear my mind. 1) Why do we need both Home and Remote Interfaces for a client to contact.Why can't we combine methods of Remote Interface into Home Interface. 2)Why does Stateless Session bean not store its state even though it has ejbActivate and ejbPassivate ? 3)If my browser does not support Cookie,and my server sends a cookie instance What will happen ? 4)What is the capacity the doGet can send to the server ? 5)Is there any tool in java that can create reports ?
Thanks alot for spending ur valuable time with me.
Hi Both stateless session and stateful session bean implements sessionbean interface which in turn extends enterprisebean interface.That interface has ejbActivate and ejbPassivate so we have to write those methods even for stateful session beans.A requirement for implmenting interface Thanks kundan
Failures are practice shoots for success.
>What is the capacity the doGet can send to the server ? Well as such there is no such limit on sending the data in doGet from the server side.but limit is set by the browser it's like 255 characters or 256 characters.
>Why does Stateless Session bean not store its state even though it has ejbActivate and ejbPassivate ? ejbactivate and ejbPassivate are callback methods,which are called by container,only in the case of Stateful Bean,We don't call these manually in our code.Incase of stateless bean these method are not having much Significant .
PI day is 3.14 (march 14th) and is also einstein's birthday. And this is merely a tiny ad: