File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

query on methods of stateless

 
lrk naidu
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
can i define the mehods directly in bean and i am not defining any methods in remote interface in the stateless sessionbean.

What will be the result?
Q)compile time of bean
Q)compile time of stub and skelton
 
Phani Kumar
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simple. The bean will compile and whatever methods you dont declare in your Remote will not be available to your clients. If you dont declare any methods in your remote, the bean wont be accessible at all remotely.
[ March 16, 2005: Message edited by: Phani Kumar ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic