some comments from my mock 1 -
Take all the mocks with the
test taking strategy that K&B have givein in
the scjp1.4 book ! this really helps you keep your cool and still go through the exam.. ! comfortably !
-is this correct ? - if multiple filters are associated with the same resource, they are executed in the
order in they are defined
-this was a surprise..i mean its not explicitly pointed out in HFSJ : only <c:when> has a "test" attribute
c<c:choose> and <c
therwise> dont have any such attribute
-this was again a surprise - the <taglib> does have a attribute called "id"
-i am not sure on this
<env-entry>
<env-entry-name>flag<env-entry-name>
<env-entry-type>jaa.lang.Boolean</env-entry-type>
<env-entry-value>true</env-entry-value>
</env-entry>
is it fine if we use TRUE ...as this was the other option in the list. got confused
a bit..and selected TRUE ;-) and went wrong...the answer is 'true'
. but here is what the jdk specs say -
the constructor : Boolean(
String s)
Allocates a Boolean object representing the value true if the string argument is not null and is equal,
ignoring case, to the string "true".
-your webapp has one
servlet for each use case. the service methods have grown too big and these servelts
have become difficult to maintiain. Also there is lots of code repeated accross each servlet.
Which design
pattern will you use ?
I said - Front Controller and MVC ( since the question is more related to the PRESENTATION tier )
but the exam engine says - Business Delegate,Front Controller
Please help me with this.
I wnt wrong on 18 questions. but i can type in all those mistakes here.
thanks