Forums Register Login

Constructors

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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?
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 741 times.
Similar Threads
Part 1: 91%
Design Pattern: Confusing Questions !! Please help in answering....
Passed
EJB - depth of detail required
Lifecycle of EJB Objects
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:54:51.