*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes MDB can be public or private? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "MDB can be public or private?" Watch "MDB can be public or private?" New topic
Author

MDB can be public or private?

Priti Sharma
Greenhorn

Joined: Oct 15, 2008
Posts: 15
Hello
Please tell me, message driven bean can be public or private? Also the same question for session bean, can session bean be public or private?
Please help
Thanks!!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

The class must be defined as public, must not be final, and must not be abstract.


[My Blog]
All roads lead to JavaRanch
Priti Sharma
Greenhorn

Joined: Oct 15, 2008
Posts: 15
Thank you very much
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: MDB can be public or private?
 
Similar Threads
question about using localthread in hibernate?
MK Notes and EJB in Action doubts
Acessing a managed bean from another managed bean
Session Bean Methods Call
conversational state of SFSB