aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Constructors Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Constructors" Watch "Constructors" New topic
Author

Constructors

Claudio Malso
Ranch Hand

Joined: Nov 05, 2002
Posts: 50
I'm very confused in mock exams about constructor in EJB...
Could someone tell us when is a constructor required/prohibited in PKclass, Session, Entity etc ?
Thanxs,
Roger
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5781
AFAIK,
PK class must have a public no-arg default constructor.
SessionBean and entity bean class must have a public no-arg default constructor. This is used by the container to create bean instances.
Comments?


Open Group Certified Master IT Architect.
Sun Certified Architect(SCEA).
 
IntelliJ Java IDE
 
subject: Constructors
 
Threads others viewed
Can I overload a constructor with enum values?
main method
Constructor doubt - K&B Book
IS CONCTRUCTOR IS A METHOD
WA #1.....word association
developer file tools