Page 1 of 1

About Question enthuware.oce-ejbd.v6.2.518 :

Posted: Wed May 16, 2012 4:09 pm
by prakashyaji
Option 5: is not a program restriction. It's a ejb best practices guideline.
"Typically, if a bean is accessible remotely, it should be coarse grained"

Please confirm. Thanks!

regards,
Prakash Yaji

Re: About Question enthuware.oce-ejbd.v6.2.518 :

Posted: Wed May 16, 2012 8:06 pm
by admin
Yes, that is why it says "should" and not "must".

HTH,
Paul.

Re: About Question enthuware.oce-ejbd.v6.2.518 :

Posted: Wed May 16, 2012 11:41 pm
by prakashyaji
admin wrote:Yes, that is why it says "should" and not "must".

HTH,
Paul.
Thank you for your clarification!

Re: About Question enthuware.oce-ejbd.v6.2.518 :

Posted: Sun Mar 19, 2017 5:44 am
by leonardo
Just a small note. I found answer 1 this not entirely correct. For me it could also be part of the correct answers: "An enterprise bean must not use any static fields."
Infact from an Oracle article: "Nonfinal static class fields are disallowed because enterprise bean instances will behave differently depending on whether or not they are distributed."

Re: About Question enthuware.oce-ejbd.v6.2.518 :

Posted: Sun Mar 19, 2017 11:43 am
by admin
It disallows only non-final static fields. Final static fields are ok. The given statement is incorrect because it is talking about all static fields.