Regards,<br />---------<br />Vaibhav<br />SCJP 1.4<br />SCWCD 1.4<br />---------
Originally posted by Vaibhav Potter:
(Does the real exam will have questions of Design Patterns other than the 6 discussed in HFSJ..?)
My post from ScwcdFaq:
Why am I seeing Design Patterns in mock exams that aren't in the objectives?
Mock exams, as well as the real exam, contain answer options other than the 6 Design Patterns from the objectives. Some are real and some are not. "Composite Delegate" is an option in HFSJ but was something we think Bert made up because he likes to play jokes. Patterns other than the Big 6 are never the correct answer on the real exam. Ever. Use this knowledge to your advantage.
The 6 you need to know are: * Transfer Object * MVC * Front Controller * Business Delegate * Service Locator * Intercepting Filter (sometimes just called Filter)
Also note that in previous versions of the exam, the following patterns were covered (and so you may see them more frequently in older mock exams): * Value Object - (now more commonly called Transfer Object) * Model-View-Controller - (aka MVC) * Data Access Object (DAO) * Business Delegate * Front Controller
A good workman is known by his tools.
Regards,<br />---------<br />Vaibhav<br />SCJP 1.4<br />SCWCD 1.4<br />---------
Question 4 : Identify the techniques that can be used to implement 'sessions' if the client browser does not support cookies. (Select 3 correct options. )
1) Using Http headers.
2) Using https protocol.
3) Hidden form fields.
4) URL rewriting
5) It cannot be done without cookie support.
Answer from JDiscuss : (1, 3, 4)
28/06/06 - SCJP - 69%, 05/06/07 - SCWCD - 92%, 28/02/08 - IBM DB2 v9 Fundamentals (Exam 730) - 87%, 18/11/08 - IBM DB2 v9 DBA (Exam 731) - 89%, 26/02/11 - SCBCD - 88%
Question 5 : You do not want multiple threads to be executing your servlet's methods because its methods are not thread safe. What is the right way to ensure this? (Select 2 correct options.)
1) Make its methods synchronized.
2) Make it implement MultiThreadModel.
3) Make it implement SingleThreadModel.
4) You don't need to do anything as the container automatically takes care of this.
Answer from JDiscuss : (1, 3)
28/06/06 - SCJP - 69%, 05/06/07 - SCWCD - 92%, 28/02/08 - IBM DB2 v9 Fundamentals (Exam 730) - 87%, 18/11/08 - IBM DB2 v9 DBA (Exam 731) - 89%, 26/02/11 - SCBCD - 88%
28/06/06 - SCJP - 69%, 05/06/07 - SCWCD - 92%, 28/02/08 - IBM DB2 v9 Fundamentals (Exam 730) - 87%, 18/11/08 - IBM DB2 v9 DBA (Exam 731) - 89%, 26/02/11 - SCBCD - 88%
Regards,<br />---------<br />Vaibhav<br />SCJP 1.4<br />SCWCD 1.4<br />---------
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |