aspose file tools*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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 ]
I agree. Here's the link:
subject: query on methods of stateless
Similar Threads
stateless session bean question
Accessing EJBObject reference in ejbCreate() and ejbRemove()
Is Specification not reasonable on this point?
ejbCreate in MDB
Subclassing rules for Session beans