File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes j2ee,java Q's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "j2ee,java Q Watch "j2ee,java Q New topic
Author

j2ee,java Q's

Mahesh Pinnamaneni
Ranch Hand

Joined: Jul 02, 2004
Posts: 100
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.

regards,
Mahesh P
kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
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


SCJP1.4,SCBCD,SCEA,CNA
Failures are practice shoots for success.
kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
I think there is a tool JReport available for report
james edwin
Ranch Hand

Joined: Nov 22, 2001
Posts: 393
>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 .


Regards,


Regards,
James
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: j2ee,java Q's