Hi Anil, This test is also in the same good standards set by jdiscuss for their previous attempts.But I noticed that the majority of the questions cater to the DD & its elements.Can we have more variety ,please? Overall,a very GOOD exam.
Good job Paul Question 11: Context initContext = new InitalContext(); should read Context initContext = new InitialContext(); Connection con2 = ds1.getConnection(); should read Connection con2 = ds2.getConnection(); the second //use the connection to update database 1. should read //use the connection to update database 2. Question 15: None of the options are correct since the PortableRemoteObject.narrow() method is not used correctly. It should take the Class type to narrow the object reference (first argument) as a second argument.
My Linked In
Enthuware Software Support
posted 17 years ago
Thank you all for the feedback. Valentin, I have applied your corrections. Vedhas, It contains questions on only those topic because I have researched only those topics yet This is just something to start with. I'll add questions every week.
I think question number 13 is wrong as well. If you throw checked exceptions from an ejbCreate() method, the exception has to be declared in the throws clause of the corresponding create() method. In your example, you are throwing an exception that "extends directly from java.lang.Exception" so you need to declare this with the create() method. Thanks for the test!
I'm so happy! And I wish to make this tiny ad happy too:
Devious Experiments for a Truly Passive Greenhouse!