I took the SCWCD today and cleared it with 95%( really relieved) .... :-) thanks to all for this great forum for helping me clear my doubts.
This is what I can tell you about the exam from my experience.
1. I used HFSJ and went through it twice. (this book is a must) 2. I used SCWCD study kit which cleared a lot of my doubts(i highly recommend it as a supplemetary book) for those who have no experiece with servlets/jsp 3. JWEbplus from Enthuware(this helped a lot) 4. There is plently of time on the real exam. No need to panic 5. Dont let the final exam of HFSJ discourage you. That is much tougher than the real exam. I scored only 68% on that. 6. Choices on the real exam are mostly direct.
Hi Nishant wonderful score!!! congrats. Nishant i have just started preparing for SCWCD. i wanted to ask you is HFSJ book enough to prepare , i do have some experience with servlets and JSP's. Congrats once again.
Regards, Saurabh [ October 24, 2005: Message edited by: S Chaubey ]
hi nishant did u get the same patterns of question in exam as given by bengt earlir post. or diffrent
bengt post ------------------------------------------ Questions: - 2 questions on dynamic-attributes. (this tutorial is more than enough: link to tutorial) - 5 or 6 on J2EE patterns - 1 on http form POST / GET methods mapped to doPost / doGet servlet methods - 3 questions with doService() overwritten - 1 or 2 with init() overwritten, including one that throws an especial type of Exception (UnavailableException) that the container can try again to init later. - 2 or 3 on jsp documents (xml) - 3 or 4 on <jsp:useBean ...> tag - the main concept they tested wore scope (default page) and the fact that the body does NOT run if a bean with the same name already exists in the declared scope - 2 on <jsp:import ...> - the concepts they tested wore scope and the fact that this is a run-time import - 5 or more on other <jsp: ...> tags - 3 on <c:set ...> two with var and one with target, all of them strait-forward if you have HF. - 2 on where dtds should go (deployment) - 3 on what is required when deploying using WAR files (on of them a little confusing, make sure you got it right). - 3 on <login ...> deployment descriptor and related tags. Main concept tested: that you are doing the authentication part of J2EE security, and types of authentication, it's security strength etc. - 5 or so on other security J2EE aspects and DD tags. - 4 or 5 testing if you know what object (request, ServletContext or response) can give you request dispatchers, among other related objects). - 4 or so on servlet and context init parameters, pretty strait-forward. - 3 or so on filters, strait-forward. - 1 or 2 on what happens with sessions after a explicit call on invalidate(), make sure you got it right. - 5 or so on simple tags, all of them easy, 2 of them big ones (somewhat confusing, still easy, I got 100% on tags). Concepts tested: if you know that the main method is doTag() (instead of doStartTag), if you know how to map attributes from TLD to methods (javabean convention), if you know how to access parent tags and 1 question tested if you know how parent tags can access child tags (remember, there is NO getChildXXX() methods, the child tag must register itself with the parent tag invoking getParent() - the HF book covers this gracefully, as always. Other question tested if you know how to iterate and count how deep the tag is. - 3 or 4 on listeners, very, very strait-forward. - 2 or 3 on <%@ taglib...> directive (there's not much to ask about it anyway). - 1 on exclusive tagfiles directives (make sure you know them, at least their names). - 8 or so on EL, strait-forward. - 1 on <el-ignored> DD tag (remember it's not <is-el-ignored>!!, don't confuse with the page directive isELIgnored attribute). - 3 on el functions, one testing if you know that the method has to be public static, other testing if you know how the signature on the dtd should be, and other on how to call the function using EL - 2 or 3 on how to encode URLs, and when to use encoding (button line is: always encode all URLs so in case there�s no cookies enabled, jsessionid request attribute gets on all URLs). - 1 question on <c:url... > tag, pretty easy - 1 or two questions on how to add a request/session etc parameter using request, request.getSession() etc - 2 questions testing if you know that request.getParameterValues() returns Enumeration, not a List or an array. - 2 questions testing if you know paramValues and headerValues EL implicit vars and how to access them (it�s not paramValues.1, it�s paramValues, and the first one is zero indexed).
Plus: - 3 or 4 easy drag and drop questions, one on listeners, other on <@ taglig ...> directive and other ones on DD tags. [ October 24, 2005: Message edited by: rakesh mittal ]
The design pattern questions are very much like those given in HFSJ. I got 5-6 questions is a row. In all the questions a sitauation is given and you are asked to identify the design pattern to be used to meet a given objective or overcome a given problem.