wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes query on methods of stateless Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "query on methods of stateless" Watch "query on methods of stateless" New topic
Author

query on methods of stateless

lrk naidu
Greenhorn

Joined: Feb 04, 2005
Posts: 6
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

Joined: Feb 15, 2002
Posts: 22
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.
 
subject: query on methods of stateless