• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

j2ee,java Q's

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
kundan varma
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think there is a tool JReport available for report
 
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
>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,
 
PI day is 3.14 (march 14th) and is also einstein's birthday. And this is merely a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic