my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android 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 ]
Don't get me started about those stupid light bulbs.
subject: query on methods of stateless
Similar Threads
Subclassing rules for Session beans
ejbCreate in MDB
stateless session bean question
Accessing EJBObject reference in ejbCreate() and ejbRemove()
Is Specification not reasonable on this point?