File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Coding SuccessServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Coding SuccessServlet" Watch "Coding SuccessServlet" New topic

Coding SuccessServlet

Pallavi Roy
Ranch Hand

Joined: Jun 01, 2006
Posts: 37
Hi All,
I have written a servlet which tell my journey to SCWCD1.4.
I scored 89%.I have two years of experience in core java development.
But advanced java always fascinated me but my lack of experience hindered
people from offering me j2ee projects.
So i finally decided to crack SCWCD.

import hardwork;
import balanceWorkWithStudies;
(java package imports are mandatory don't skip them)

public class SuccessServlet extends HttpServlet {

public void init() throws ServletException {

Buy HeadFirst and Hanumanth Deshmukh SCWCD study guide;
Install Tomcat on your system;
Download the jstl,jsp,servlet specification;
Download the j2ee api;
Get a good copy to take down your notes;
Set a target for your self(int time(2-3 hours in a day,7-8 hours on weekends));

public void doPost(HttpServletResquest req,HttpServletResponse res) throws
ServletException,IOException {

A)Read Head First once and execute the code snippets to understand the code flow and take down you notes properly (Best narrative book ever written)
Now read Hanumanth Deshmukh it gives a right view into specification related details.

B)Give importance to these topics apart from all the objectives on :
(Things lited below are the favourite topics of exam authors)
dynamic attributes,filter mapping,return types of methods(rem getResource()),log and sendError methods,jstl optional attributes(rem scope of attributes),EL expressions,JSP document(rem jsp:root),
'/' plays a vital role when it comes to requestDispatcher,<taglib-location>,welcome-file.
tag files tag,variable,attribute directive and jsp:invoke,jsp oBody.
<body-content> values usage,
war files,empty operator in EL,<jsp:include> and <%@include%>,how exceptions are handled.

Follow java ranch forum closely you get very important information.

C)20 days before the exam read HeadFirst and SCWCD study kit again.
This time drill all the points in your mind.
Now start the mock exam go for a chapter wise assessment first
(preferable for this are Marcus Green,j2eeCertificate).
Enthuware mock exams or Jdiscuss are from same authors.
Whizlabs questions are also amazing.
(For all those confused which one to buy both get 100% score so you can buy either).Try to score minimum of 80-85% in these exams if its more even better.

Download Miklai Zaikin's notes and read it in the last week (what's registered once in your mind is done).
2 days before the exam take up the Head First exam.
Trust me it has the most beautiful questions to tickle your mind.
I scored 68% in this exam. (68+20+1% god's grace=89%).

Your Preparations done now go for it.

public void destroy() {

Clear the exam and get the score.
Thank god , pat your back.
Thank the authors of HeadFirst and encourage fellow ranchers to go for the exam.



God Bless you all.
Best Regards,

Break the ice - SCJP 1.4,<br />Where There's a will- SCWCD 1.4.<br />Back in action - Websphere Certified Portal 6 Application Developer
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

[My Blog]
All roads lead to JavaRanch
Sayak Banerjee
Ranch Hand

Joined: Nov 28, 2006
Posts: 292

Turn on, tune in, drop out.
Rohitt Vermaa
Ranch Hand

Joined: Oct 12, 2006
Posts: 232
<%="Congats. Great Score " %>
I am a lazy coder.

Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

Congrats and welcome to the Wall!

A good workman is known by his tools.
Sreeraj G Harilal
Ranch Hand

Joined: Apr 19, 2006
Posts: 310


SCJP 5.0<br />SCWCD 1.4<br />Preparing for <b>SCEA</b>.<br /><b>"I prefer an interesting vice to a virtue that bores."</b>
Pallavi Roy
Ranch Hand

Joined: Jun 01, 2006
Posts: 37
Hello Everybody,

Its good to do things differently.I want to thank you for your wishes.
I am really happy with the innovative response from Satou kurinosuke,
Sayak Banerjee(thanks for the 550/- offer) , Rohitt Vermaa and Sreeraj G H.

Thank you Marc Peabody for giving me a chance to be on the wall of fame.

Best Regards,
I agree. Here's the link:
subject: Coding SuccessServlet
It's not a secret anymore!