A stateless session bean do not need to have a constructor, so the answer
"It must have a constructor that takes no parameter." is also false.
About Question enthuware.oce-ejbd.v6.2.516 :
Moderators: Site Manager, fjwalraven
-
- Posts: 2
- Joined: Wed Jun 27, 2012 12:18 am
- Contact:
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.516 :
Every class must have a constructor. You either define it explicitly or the compiler will add a no arg constructor for you. So the option is correct.
If you like our products and services, please help us by posting your review here.
-
- Posts: 22
- Joined: Thu Jul 25, 2013 3:39 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.516 :
Hi,
The following answer (marked as correct)
According with the specification 4.9.2.
IMHO the answer need to be :It must have a public constructor that takes no parameter.
Best Regards,
Mihai
The following answer (marked as correct)
for the questionIt must have a constructor that takes no parameter.
is wrong.Which of the following statements are true for a stateless session bean?
According with the specification 4.9.2.
Code: Select all
The class must have a public constructor that takes no parameters. The container uses this constructor to create instances of the session bean class.
Best Regards,
Mihai
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.516 :
You are right. Fixed.
thank you for your feedback!
Paul.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 20 guests