File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

query on methods of stateless

lrk naidu

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

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 ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: query on methods of stateless
It's not a secret anymore!