tag:blogger.com,1999:blog-33670335994359162722024-02-02T11:47:31.735+05:30Cracking OCPJP 7 (Oracle Certified Professional Java Programmer II exam)This blog is intended to provide information regarding Oracle Certified Professional Java Programmer II exam i.e. 1Z0-804 (or in short OCPJP 7).Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-3367033599435916272.post-38457576465308639542013-12-29T10:51:00.000+05:302013-12-29T11:31:42.119+05:30Our screencast about programmer certification<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;">In order to facilitate OCPJP aspirants, we created a screencast to provide information about Oracle Java Programmer certification. In this screencast, we discuss why a programmer certification is required, what different certifications are available, some tips about exam preparation and resources to prepare for OCPJP 7 certification exam.</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;">We hope that the readers will find the attempt useful and informative.</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<h2 class="item-title">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;">Screencast: Cracking Oracle Java Programmer Certification - Part I</span></span></h2>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"> <iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/BTNmWGZPYh0?feature=player_embedded' frameborder='0'></iframe></span></span></div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<h2 class="item-title">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;">Screencast: Cracking Oracle Java Programmer Certification - Part II</span></span></h2>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/4dGPZB15fWU?feature=player_embedded' frameborder='0'></iframe></span></span></div>
<h2 class="item-title">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;">Screencast: Cracking Oracle Java Programmer Certification - Part III</span></span></h2>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/Phzi94k2rJ8?feature=player_embedded' frameborder='0'></iframe></span></div>
<h2 class="item-title">
<span style="font-family: "Trebuchet MS",sans-serif;">
<span style="font-size: small;"> </span></span></h2>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-40246455370286480222013-12-26T22:37:00.000+05:302013-12-29T11:31:55.377+05:30Untangle your confusion about programmer certification<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;">Newbies in Java hear about programmer certification organized by Oracle and aspire them. However, many a times, they are not clear first, whether to go for certification, and second, which certification to target. This confusion becomes a puzzle when the newbie learns that (s)he can go for programmer certification version 6 and version 7. Here, we would like to help you to resolve the confusion.</span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;">For programmer certification (at associate and professional level), Oracle offers OCAJP 7 (Oracle Certified Associate Java Programmer) and OCPJP (Oracle Certified Professional Java Programmer) certification. There are currently three popular exams associated with OCPJP:</span><br />
<ul style="text-align: left;">
<li><span style="font-family: "Trebuchet MS",sans-serif;"><b>OCPJP 6 :</b> Oracle Certified Professional Java Programmer for SE 6 (1Z0-851)</span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><b>OCPJP 7 : </b>Oracle Certified Professional Java Programmer for SE 7 (1Z0-804)</span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><b>OCPJP 7 upgrade: </b>Oracle Certified Professional Java Programmer for SE 7 upgrade exam (1Z0-805)</span></li>
</ul>
<span style="font-family: "Trebuchet MS",sans-serif;">So, which one is appropriate for you? We prepared the following self-explanatory chart to help you; we hope it would be helpful for you in making your decision.</span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJeEAZ59js5_X9x9WK_3B0ng6_5n3Vcn_Ln8Gx0rKBJm5w54Qkd4ldOvqzQGt-sBBiqT-Cv3KTEMaO76UyUV2D83opdSZO4FCZ6-NuySvg_dJJ67iT5WXrF-djkagvwYpPP91P81Y3k00/s1600/flowChart_OCPJP.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJeEAZ59js5_X9x9WK_3B0ng6_5n3Vcn_Ln8Gx0rKBJm5w54Qkd4ldOvqzQGt-sBBiqT-Cv3KTEMaO76UyUV2D83opdSZO4FCZ6-NuySvg_dJJ67iT5WXrF-djkagvwYpPP91P81Y3k00/s640/flowChart_OCPJP.png" width="480" /></a></span></div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;">(1) <a href="https://docs.google.com/file/d/0B1F7qKQdP2WxandTR2ZfdlJabmM/edit?usp=sharing" target="_blank">A certification primer</a></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;">(2) <a href="http://ocpjp7.blogspot.in/2013/03/scjpocpjp-6-or-7.html" target="_blank">SCJP/OCPJP 6 or 7?</a></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-3723035281931805502013-11-24T19:35:00.000+05:302013-12-29T11:32:10.124+05:30A comprehensive guide for OCPJP 7 exam preparation<div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><br />
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves>false</w:TrackMoves>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style>
<![endif]-->
<br />
<div align="center" class="MsoNormal" style="background: none repeat scroll 0% 0% white; line-height: 13.5pt; margin-bottom: 0.0001pt; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><a href="http://amzn.to/154zLvU" target="_blank"><span style="color: #4d469c; text-decoration: none;"></span></a><span style="color: #444444;"></span></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><a href="http://OCPJP 7 book" target="_blank"><img alt="OCPJP 7 book" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBy5h_HZ_yLr8_aIbunNnkCJet3GBDgtNpVfR_tGbQ_2s8ecPWrO7wPXSAhbB93aLu15JhROk5yqAOzAs4Lh03RgvnMsdR2tyWzuSx68xYG8ibOgp3vI3UxdN2wjFHM7qP7QOARN3bsEQ/s320/9781430247647.jpg" title="OCPJP 7 book" width="242" /></a></span></span></div>
<div align="center" class="MsoNormal" style="background: none repeat scroll 0% 0% white; line-height: 13.5pt; margin-bottom: 0.0001pt; text-align: center;">
<br /></div>
<div class="MsoNormal" style="background: none repeat scroll 0% 0% white; line-height: 13.5pt; margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="background: none repeat scroll 0% 0% white; line-height: 13.5pt; margin-bottom: 0.0001pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><i><span style="color: #444444;"><a href="http://amzn.to/154zLvU" target="_blank"><span style="color: #4d469c; text-decoration: none;">Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and
1Z0-805</span></a></span></i><span style="color: #444444;"> is a concise, comprehensive, step-by-step, and
one-stop guide for the Oracle Certified Professional Java SE 7 Programmer Exam.
(Publisher:</span><span style="color: #444444;"> </span><span style="color: #444444;"><a href="http://www.apress.com/9781430247647" target="_blank"><span style="color: #4d469c; text-decoration: none;">Apress</span></a>)</span><span style="color: #444444;"></span></span></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="color: #0b5394;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="background: none repeat scroll 0% 0% white; line-height: 115%;">Why an OCPJP 7 aspirant should
refer our book? Here is the answer:</span><span style="line-height: 115%;"><br style="word-spacing: 0px;" />
<span style="background: none repeat scroll 0% 0% white;"><span style="float: none; word-spacing: 0px;">- Our book is the <b>first and only book available right now</b>
for OCPJP 7 exam preparation. It covers all the exam topics for OCPJP 7 with
required depth.</span></span><br style="word-spacing: 0px;" />
<span style="background: none repeat scroll 0% 0% white;"><span style="float: none; word-spacing: 0px;">- First chapter <b>(FAQs chapter)</b> of the book clears very
basic questions that one may have related with the exam.<span class="apple-converted-space"> </span></span></span><br style="word-spacing: 0px;" />
<span style="background: none repeat scroll 0% 0% white;"><span style="float: none; word-spacing: 0px;">- Second chapter
sports <b>a pre-test</b> which can be used
to know the prep</span><span class="textexposedshow"><span style="word-spacing: 0px;">aration level
initially and where one needs to put more effort.</span><span class="apple-converted-space"> </span><br />
<span class="textexposedshow">- Each topic is explained using <b>examples</b> with many <b>corner-cases covered</b>.</span><br />
<span class="textexposedshow">- After each chapter, a set of questions are
presented to quickly test what one just learnt.</span><span class="apple-converted-space"> </span><br />
<span class="textexposedshow">- <b>"Points
to remember"</b> is a very interesting section that lists corner cases and
tricky elements with respect to the topic.</span><span class="apple-converted-space"> </span><br />
<span class="textexposedshow">- The book comes with <b>two full-size mock-tests</b> (90 questions each) which gauge
preparedness of the aspirant for the actual exam.</span></span></span></span></span></span></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span class="textexposedshow"><span style="background: none repeat scroll 0% 0% white; color: #333333; line-height: 115%;">If
you are new to Java certification, please refer <a href="http://ocpjp7.blogspot.in/2013/11/oracle-java-certification-exam.html" target="_blank">this post</a>. We offer a set of
downloadable resources <a href="http://ocpjp7.blogspot.in/p/resources.html" target="_blank">here</a>. You can report a possible mistake from <a href="http://ocpjp7.blogspot.in/p/errata.html" target="_blank">this erratapage</a>.</span></span></span></span></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-53801715971849110282013-11-23T10:34:00.003+05:302013-12-29T11:32:27.199+05:30Oracle Java Certification Exam Preparation (for OCPJP 7 Exam) <div dir="ltr" style="text-align: left;" trbidi="on">
<div style="font-size: 18px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="letter-spacing: 0.0px;"><b>Why Oracle Java Certification? </b></span></span></div>
<div style="font-size: 12px; min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Let us start with the question - why get certified? </span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">The reason is to differentiate yourself. The key to getting a job, hike, or promotion is to show that you deserve it! </span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Getting certified is one of the means to show that you have relevant knowledge and skills:</span></span></span></div>
<ul>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Show that you have some document proof that you have relevant skills or knowledge</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Show that you are different from others (competing with you) that you have some specialized skills or knowledge </span></span></span></li>
</ul>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Getting certified also has other benefits as well: </span></span></span></div>
<ul>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Preparing for a certification exam gives you focus on learning relevant and important topics; the certification exam date gives you a deadline so you will take learning seriously </span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">The process of preparing for the exam and actually passing the exam gives you confidence necessary for getting a job or asking for a promotion or a raise</span></span></span></li>
</ul>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Now you may ask, why Java certification? </span></span></span></div>
<ul>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">One obvious reason is that Java is one of the most popular programming languages on this planet. As on 17th March 2013, according to TIOBE index - the language popularity index most people refer to - listed Java as the most popular language in the world ahead of languages like C, Objective-C, C++, and C#. This popularity of Java translates to the need for more Java programmers in the IT industry. </span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Java certifications are one of the most popular IT certifications, so potential employers or your managers will recognize this certification.</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">There is always need for high-quality Java developers and having this certification shows that you are one of those qualified Java developers </span></span></span></li>
</ul>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Next, we’ll briefly discuss about the Oracle’s certification path. At a very high-level, there are four levels of certifications: Associate, Professional, Expert, and Master levels. </span></span></span></div>
<ul>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>Oracle Certified Associate: </b>This certification shows that you have fundamental skills necessary for an IT career; it provides a strong foundation for further exams.</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>Oracle Certified Professional: </b>This certification shows that you have professional skills and technical expertise to develop enterprise software. </span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>Oracle Certified Expert:</b> This certification shows that you have specialized levels of skills and knowledge.</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>Oracle Certified Master:</b> This certification shows that you have mastery or expert level of skills and knowledge. </span></span></span></li>
</ul>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">There are three Oracle Java exams for Java SE 7 at beginner to intermediate level.</span></span></span></div>
<ul><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;">
</span></span>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>Java SE 7 Programmer I:</b> The is a beginner level exam - if you pass it you get Oracle Certified Associate Java SE 7 Programmer (OCAJP 7) certification. There are no pre-requisites for taking this exam. </span></span></span></li>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;">
</span></span>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>Java SE 7 Programmer II and Upgrade to Java SE 7 Programmer: </b>These two are intermediate level exams - if you pass either of these exams, you will get Oracle Certified Professional, Java SE 7 Programmer (OCPJP 7) certification. If you have older Java certifications such as SCJP 5, then you can go for Upgrade to Java SE 7 Programmer; otherwise, you need to take Java SE 7 Programmer II exam. For Java SE 7 Programmer II exam, the prerequisite is that you should have passed the OCAJP 7 exam. </span></span></span></li>
</ul>
<div style="font-size: 18px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="letter-spacing: 0.0px;"><b>Oracle Certified Professional Java Programmer 7 (OCPJP 7) Overview</b></span></span></div>
<div style="font-size: 12px; min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>Exam topics</b></span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">There are 12 exam topics for Java SE 7 Programmer II certification - </span></span></span></div>
<ul>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Java Class Design</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Advanced Class Design</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Object-Oriented Design Principles</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Generics and Collections</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">String Processing</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Exceptions and Assertions</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Java I/O Fundamentals</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Java File I/O (NIO.2)</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Building Database Applications with JDBC</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Threads</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Concurrency</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Localization</span></span></span></li>
</ul>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">However, the Upgrade to Java SE 7 Programmer has only six exam topics: </span></span></span></div>
<ul>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Language Enhancements</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Design Patterns</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Java File I/O (NIO.2)</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Building Database Applications with JDBC</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Concurrency</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Localization</span></span></span></li>
</ul>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">In other words, the Upgrade to Java SE 7 Programmer assumes that you know topics such as class design because you have passed one of the earlier exams. So, the focus of the Upgrade exam is only on additional topics or Java 7 topics. </span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>Getting familiar with OCPJP 7 exam </b></span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">The exam has only multiple-choice questions. You will get 4 to 7 options for each question; but most questions will have four options. Note that many questions will have more than one answer to be selected - the question will clearly tell you how many options you need to select. <span class="Apple-tab-span" style="white-space: pre;"> </span></span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">The exam questions intend to test your ability to solve real-world problems. You can expect most questions to be programming-based questions. For example, given a program or code segment, the question could be to predict the behavior by selecting the expected output from the given list of options. You will also get a few conceptual questions. These questions will test your knowledge and will not have any programs in it. Examples: What are different kinds of drivers in JDBC? What are different kinds of liveness problems with threads? </span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Most questions will check your knowledge of language features and their usage. They will test if you understand language features and can apply them in practical situations. But note that most questions will not be on obvious aspects of Java language features. Rather, the questions will be on nitty-gritty details or corner cases, or unusual aspects of the language. For example, you don’t just need to understand the generics feature in Java but also need to understand problems due to type-erasure in generics. </span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Many questions will test your knowledge of library features and their usage. They will test if you are familiar with Java APIs and know how to use them in practical situations. You can be sure that questions will be on nitty-gritty details or corner cases, or unusual aspects of the library. For example: What does the remove() method of Deque do? (Answer: It removes the front or first element from the underlying deque instance - not the back or last element).</span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">To summarize, the exam tests your understanding of the Java language and library and your ability to apply it for problem solving. However, note that it does not test your memory skills. Still there are few topics where you may need to remember key things. Some examples: </span></span></span></div>
<ul>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Letters used for creating custom date and time formats (i.e., "string patterns") for use with SimpleDateFormat class</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Characters used for forming pattern strings in regular expressions</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Format specifiers and their meaning for use in format() method in String and in printf()</span></span></span></li>
</ul>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">If you have done programming with time formats, regular expressions, format specifiers etc. you’ll know them; but if you are relatively new to these topics, then you need to refresh them before appearing for the exam. </span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Also note that exam questions need not be exactly from the exam objectives! Any topics related to the exam objectives can come in the exam. For example, serialization and use of transient keyword is not explicitly mentioned in the OCPJP exam topic. But this topic can come in the actual exam because it is related to reading and writing streams, and one of the streams is ObjectStreams and it relates to serialization!</span></span></span></div>
<div style="font-size: 12px; min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div style="font-size: 18px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="letter-spacing: 0.0px;"><b>How to Prepare for the Exam </b></span></span></div>
<div style="font-size: 12px; min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Now let us discuss about preparing for the exam. </span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">The best way to prepare for the exam is to write lots and lots of small programs and learn from your mistakes! If possible, try taking up some small toy projects in the topics you’re new or not familiar with. This is especially important if you don’t code in Java in your regular job. </span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">However, it is also important to read and learn more about the language features and the library. There are some excellent resources out there in the internet freely available for you to read. </span></span></span></div>
<ul>
<li style="color: #0c25a6; margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="color: black; letter-spacing: 0px;">One is Oracle’s online Java tutorial: <a href="http://docs.oracle.com/javase/tutorial/"><span style="letter-spacing: 0px;">http://docs.oracle.com/javase/tutorial/</span></a>; <a href="http://docs.oracle.com/javase/tutorial/extra/certification/javase-7-programmer2.html"><span style="letter-spacing: 0px;">http://docs.oracle.com/javase/tutorial/extra/certification/javase-7-programmer2.html</span></a> </span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Another one is the rich Java API documentation:<a href="http://docs.oracle.com/javase/7/docs/api/"><span style="color: #0c25a6; letter-spacing: 0px;">http://docs.oracle.com/javase/7/docs/api/</span></a>. Most Java programmers don’t read - they just code; but for exam preparation, and to master Java, it is important to read as well. </span></span></span></li>
</ul>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>Some tips for exam preparation </b></span></span></span></div>
<ul>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">When preparing for the exam, focus especially on the new features introduced in Java 7. </span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Take a close look at the exam objectives and grade yourself from, say 1 to 10, with 10 being the highest. Prepare all the topics for which you've rated yourself as 8 or below.</span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Plan for taking your exam well in advance: look out for scheduling the exam when you’ll be free for at least a few weeks for exam preparation; avoid last minute rush to prepare for the exam. </span></span></span></li>
</ul>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>How to register for the exam?</b></span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">You have three options:</span></span></span></div>
<ul>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">You can register and pay at the Pearson VUE website (this is the option most exam takers choose). </span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">You can buy exam voucher from Oracle and then register yourself in Pearson VUE website. </span></span></span></li>
<li style="margin: 0px;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">You can register and pay in the Oracle Testing Center (OTC). </span></span></span></li>
</ul>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;"><b>Before we end </b></span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">Do checkout our<a href="http://amzn.to/154zLvU" target="_blank"> OCPJP 7 book</a> which is the only book available in the market for exam preparation. </span></span></span></div>
<div style="min-height: 13px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span></div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><br /></span></span>
<br />
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"><span style="letter-spacing: 0px;">That’s all, and wishing you all the best for cracking the OCPJP 7 exam with ease. </span></span></span></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com2tag:blogger.com,1999:blog-3367033599435916272.post-78199359670422822172013-11-21T09:44:00.001+05:302013-12-29T11:32:46.304+05:30Dice.com 2013 Job Survey results: Java/J2EE developers topmost in demand!<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;">You can read the whole report here: <a href="http://media.dice.com/report/january-2013-repeat-priorities/">http://media.dice.com/report/january-2013-repeat-priorities/</a></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;">Extract from this report:</span><br />
<blockquote class="tr_bq">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #444444; font-size: 13px; line-height: 19px;">What’s not new is the continuing demand for developers – the closer to the application, the stronger the job market. <b>Atop the priorities list for the second consecutive year: Hiring Java/J2EE developers. More than one in five of the 77,000 jobs posted on Dice contained some mention of the need for java know-how. </b>The bottom line: If you’re looking to hire veteran Java-fluent talent, expect plenty of competition for the human equivalent of the iPad Mini, this year’s “tech gadget everyone has to have.”</span></span></blockquote>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyxbYLO4V2MlpUOn5KuL-OiMXuIzgQuprRwaE58s60ItFf3P9RCqW5ws9o3vaIyqVuHVXW9Llu6vMngOQIILmvuQw0WlS9UvVz3U3bO6d4XKNJaVANNHekZiME7-R7ofCiXuEnlm7giDY/s1600/Dice.com+survey+results.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="260" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyxbYLO4V2MlpUOn5KuL-OiMXuIzgQuprRwaE58s60ItFf3P9RCqW5ws9o3vaIyqVuHVXW9Llu6vMngOQIILmvuQw0WlS9UvVz3U3bO6d4XKNJaVANNHekZiME7-R7ofCiXuEnlm7giDY/s1600/Dice.com+survey+results.bmp" width="320" /></a></span></div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;">Bottom-line: Getting certified in Java could be one of the ways to differentiate yourself in the high-demand market for Java developers!</span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-15829038844384474432013-11-05T17:20:00.001+05:302013-12-29T11:32:58.305+05:30Winners of our contest<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">We announced a contest two weeks back where we invited our readers to write reviews and win free printed copies of our book (see the<a href="http://ocpjp7.blogspot.in/2013/10/participate-in-contest-and-win-free.html" target="_blank"> relevant post</a>). The contest got over on 3rd Nov 2013. Overall it attracted decent participation. Based on the reviews, we are happy to announce three winners of the contest:</span></span><br />
<ul style="text-align: left;">
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><span class="Apple-style-span" style="border-collapse: collapse;">Tomas Petras Rupsys (from </span><span class="Apple-style-span" style="border-collapse: collapse;">Lithuania)</span></span></span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span" style="border-collapse: collapse;">Carl Clemens (from USA)</span></span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span" style="border-collapse: collapse;">Ujwala (from India)</span></span></li>
</ul>
<span style="font-family: "Trebuchet MS",sans-serif;"><b>Congratulations to winners!!</b></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span"><br /></span></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><span class="Apple-style-span" style="border-collapse: collapse;">We are in the process of sending them printed copies of our book; they will receive the book in a few days. </span><span class="Apple-style-span" style="border-collapse: collapse;">Thanks to all the participants who had participated in the contest. </span></span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span"><br /></span></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span">Cheers!!</span></span></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-46317190380224604122013-10-28T10:16:00.000+05:302013-12-29T11:33:09.916+05:30Where to get OCPJP 7 mock exams?<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">One of the most frequently asked questions on OCPJP 7 - IZ0-804 exam preparation is this: Where can I get mock exams, preferably with exam simulator?</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">Of course, there are 300+ questions in our <a href="http://amzn.to/154zLvU" target="_blank">OCPJP 7 book </a>(including 2 full-length mock tests). Hence, the book is the source that we would like to recommend.</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">We found that there are many resources where you can get (mostly commercial) mock tests and use simulators to try them out. Please note that there are numerous free mock exams available in the internet, but when we checked, all of them were SCJP 5/6 mock exams; they are yet to support OCPJP 7 exams. </span><span class="Apple-style-span">For a detailed list of SCJP mock exams, check <a href="http://www.coderanch.com/how-to/java/ScjpMockTests" target="_blank">this link in coderanch</a> (where else :-)) </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">For OCPJP 7, we found that there is no single place where a list is maintained. Hence, we have started collecting a list; here is an initial list to start with:</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><b><span class="Apple-style-span">Free: </span></b></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">(To our surprise, we did not find any completely free OCPJP 7 mock exams. If you find any, please let us know, and we'll update this list)</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<br />
<ul style="text-align: left;">
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>Oracle </b>has <a href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=303&p_certName=SQ1Z0_804" target="_blank">10 sample questions</a> (free access)</span></span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>TechFAQ360</b> has <a href="http://www.techfaq360.com/reguser.do?m=reg&catId=40" target="_blank">a free mock test</a> (registration required).</span></span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>Enthuware</b> has <a href="http://www.enthuware.com/index.php/mock-exams/oracle-certified-professional/ocpjp-7-questions" target="_blank">free trial questions</a> (registration required). </span></span></li>
</ul>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><b><span class="Apple-style-span">Commercial: </span></b></span><br />
<ul style="text-align: left;">
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b><a href="https://www.selftestsoftware.com/certtestprep/practice-test/oracle/1z0-804.kap" target="_blank">Kaplan SelfTest </a></b>(Oracle authorized): 170 questions, price starts from $69 </span></span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b><a href="http://www.transcender.com/practice-exam/oracle/1z0-804.kap" target="_blank">Transcender </a></b>(Oracle authorized): 190 questions, price starts from $109 </span></span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>WhizLabs: </b><a href="http://www.whizlabs.com/ocpjp/ocpjp-7-mock-exam.html" target="_blank">OCPJP 7 exam simulator</a> (700 questions - 5 full-length mock exams) -- Rs. 1500 (10% discount usually available) </span></span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>EPractizeLabs: </b><a href="http://www.epractizelabs.com/" target="_blank">OCPJP 7 online training</a> -- $399 (50% discount) => $199 (announcement - training not released yet). OCPJP 7 study guide + mock exam questions -- $30 (720 questions) </span></span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>Enthuware: </b>$9.95 for <a href="http://www.enthuware.com/index.php/mock-exams/oracle-certified-professional/ocpjp-7-questions" target="_blank">question bank</a> with around 500 questions. </span></span></li>
<li><span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b><a href="http://www.techfaq360.com/scjp7IIsuccesskit.jsp" target="_blank">TechFAQ360</a>, <a href="http://www.javacertifications.net/javacert/ocpjp7in.jsp" target="_blank">JavaCert</a>, <a href="http://www.certchamp.com/ocpjpin.jsp" target="_blank">CertChamp</a></b>: (4 mock tests + lots of sample questions) (strangely, the descriptions of the exam appeared to be the same so clubbed these three together!) </span></span></li>
</ul>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">Are we missing out any? If so, please post it as a comment here or contact us.</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>Disclaimer: </b>We are sharing these links in our blog because many of our readers are interested in knowing about the available mock tests. We have NO personal experience or contacts whatsoever with any of these mock exam providers; so we have no recommendations. </span></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-34944550476122495122013-10-27T09:14:00.000+05:302013-12-29T11:33:23.172+05:30Connect with us<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">We would like to be connected with our readers. Initially, we created this blog to serve the intent. To further improve communication between our readers and us, we have created a Facebook page, and a Linkedin group along with our personal twitter accounts. <b>We invite our readers to connect with us</b> via all of these social mediums so that we get connected and share information mutually.</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>Twitter:</b> <a href="https://twitter.com/GSamarthyam" target="_blank">@GSamarthyam</a> <a href="https://twitter.com/Sharma__Tushar" target="_blank">@Sharma__Tushar</a></span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>Facebook page:</b> <a href="https://www.facebook.com/OCPJP7?ref=stream" target="_blank">OCPJP 7</a></span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>Linkedin group:</b> <a href="http://in.linkedin.com/groups/OCPJP-7-5139523" target="_blank">OCPJP</a></span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-65023601362197647722013-10-20T13:59:00.000+05:302013-12-29T11:33:35.525+05:30Participate in the contest and win free copies of our book<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">Here is the excellent opportunity for all our readers to win <b>free printed copies </b>of our book. All you have to do is write review for our book on Amazon (.com or any of the country-specific Amazon site) and you stand a chance to win a free copy of our book.</span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkzlnPXJkYVODlrpiFm1BgqOODPH6SVACCqxyNGY0aUtLHKjX1agQfnUKYGd917igH5ZZIwlhBnJg3nRBsCfxZ7XvBa5mflaYG9BcptwCE1luKEPfBoRS5xC2wED-519t9iC9GByCfm8s/s1600/contest.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="294" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkzlnPXJkYVODlrpiFm1BgqOODPH6SVACCqxyNGY0aUtLHKjX1agQfnUKYGd917igH5ZZIwlhBnJg3nRBsCfxZ7XvBa5mflaYG9BcptwCE1luKEPfBoRS5xC2wED-519t9iC9GByCfm8s/s1600/contest.PNG" width="320" /></a></span></div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">Readers can participate in this contest by writing a review of our book on any of the Amazon site. Once the review is online, you need to send a mail to us (</span><a href="mailto:ocpjp7@gmail.com" style="background-color: white; color: #4d469c; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">ocpjp7@gmail.com</a><span class="Apple-style-span">) to complete the participation. After the contest period, we will choose four best reviews (in terms of details, good things about the book, things that could have been improved, etc.) and we will mail printed books to the winners. To increase your chances to win a book, write a detailed informative review for our book.</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">There are total <b>four printed books to grab</b>. Readers from all over the world (except India) have a chance to win two copies of our book. Readers from India also have a chance to win two copies. </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">So what you are waiting for? The<b> contest period is 20th Oct 2013 to 3rd Nov 2013</b>. Hurry!!</span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-29399912376590983222013-10-06T14:40:00.001+05:302013-12-29T11:33:50.588+05:30Amazon.in offers our book in just Rs 599<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">Great news for all OCPJP 7 aspirants residing in India. Our book <a href="http://www.amazon.in/gp/product/8132212282/ref=as_li_ss_tl?ie=UTF8&camp=3626&creative=24822&creativeASIN=8132212282&linkCode=as2&tag=croc0c-21">Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805-A Comprehensive OCPJP 7 Certification Guide</a><img alt="" border="0" height="1" src="http://ir-in.amazon-adsystem.com/e/ir?t=croc0c-21&l=as2&o=31&a=8132212282" style="border: none !important; margin: 0px !important;" width="1" /> is available at Amazon.in in just Rs 599. This is the excellent opportunity to buy the printed book in a very cost-effective way. </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b><br /></b></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><b>Please note that the book sold by Amazon.in is the revised version (in which first set of errata is fixed).</b></span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"><a href="http://www.amazon.in/gp/product/8132212282/ref=as_li_ss_tl?ie=UTF8&camp=3626&creative=24822&creativeASIN=8132212282&linkCode=as2&tag=croc0c-21" target="_blank"><span class="Apple-style-span"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjutRT14AzQGAQTYCJ0IacPBX2-wEwt4fWqzHWklwOQSA_vN1xTkgFCwovfQ-clUkRWHNOCjc4rX_EnCC4lACjUnfHoM68u1yZ-jPjYZZaH4s5RJQCA9SF66Y-8juAFKsXIx7w2dmWBFbI/s320/OCPJP7.jpg" width="259" /></span></a></span></div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span class="Apple-style-span">Flipkart also sells the book; however, the cost-effective print is out of stock on the shopping portal.</span></span><br />
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-6833413317248326122013-09-20T09:57:00.000+05:302013-12-29T11:34:07.302+05:30Productive Programming with Groovy<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #555555; font-size: 12px; line-height: 16px;">Are you a Java programmer having wrist pain typing a lot (yes, I have!)? Does your mind keep swinging from loving to hating Java? Do you want to become more productive without leaving your world of Java? If so, this presentation is for you. I have been experimenting with Groovy for the last three months and I'm loving it - I am not going back to programming in plan old Java anymore. </span><span style="background-color: white; color: #555555; font-size: 12px; line-height: 16px;">I'm attaching the <a href="https://docs.google.com/file/d/0B1F7qKQdP2WxUzZXRm95LXBNWFE/edit?usp=sharing" target="_blank">full source code (as a .zip file)</a> so that you can try them out on your own. Have fun! </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #555555; font-size: 12px; line-height: 16px;"><br /></span></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #555555; font-size: 12px; line-height: 16px;"><br /></span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><iframe allowfullscreen="" frameborder="0" height="356" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/26370105" style="border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;" webkitallowfullscreen="" width="427"> </iframe></span> <br />
<div style="margin-bottom: 5px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b> <a href="https://www.slideshare.net/sgganesh/productive-programming-with-groovy-an-introduction" target="_blank" title="Productive programming with groovy - an introduction">Productive programming with groovy - an introduction</a> </b> from <b><a href="http://www.slideshare.net/sgganesh" target="_blank">Ganesh SG</a></b></span> </div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-18172406325550918042013-09-13T11:29:00.000+05:302013-12-29T11:34:24.729+05:30How much do you know about smells in design?<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #333333; font-size: 13px; line-height: 17px;">Do you know that there are more than 500 design smells documented in literature or reported by designers? Do you know that all smells could be viewed as violation of underlying design principles? Do you need a ready catalog of design smells that is grounded on research and relevant for practice? </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br style="background-color: white; color: #333333; font-size: 13px; line-height: 17px;" /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #333333; font-size: 13px; line-height: 17px;">Interested? Check the results of our research work on design smells and how the results can help you in practice. </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br style="background-color: white; color: #333333; font-size: 13px; line-height: 17px;" /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #333333; font-size: 13px; line-height: 17px;">This presentation summarizes research behind our design smells work: </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><a href="http://www.linkedin.com/redirect?url=http%3A%2F%2Fwww%2Eslideshare%2Enet%2Fsgganesh%2Fprinciple-based-classification-of-design-smells&urlhash=nEuV&_t=tracking_anet" rel="nofollow" style="background-color: white; border: 0px none; color: #006699; font-size: 13px; line-height: 17px; margin: 0px; outline: 0px none; padding: 0px; text-decoration: none; vertical-align: baseline;" target="blank">http://www.slideshare.net/sgganesh/principle-based-classification-of-design-smells</a></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><iframe allowfullscreen="" frameborder="0" height="356" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/25158413" style="border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;" webkitallowfullscreen="" width="427"> </iframe></span> <br />
<div style="margin-bottom: 5px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b> <a href="https://www.slideshare.net/sgganesh/principle-based-classification-of-design-smells" target="_blank" title="Principle based classification of design smells">Principle based classification of design smells</a> </b> from <b><a href="http://www.slideshare.net/sgganesh" target="_blank">Ganesh SG</a></b></span> </div>
<span style="font-family: "Trebuchet MS",sans-serif;">Our original paper is here: <a href="http://www.linkedin.com/redirect?url=http%3A%2F%2Fwww%2Ejot%2Efm%2Fissues%2Fissue_2013_06%2Farticle1%2Epdf&urlhash=PIcN&_t=tracking_anet" rel="nofollow" style="background-color: white; border: 0px none; color: #006699; font-size: 13px; line-height: 17px; margin: 0px; outline: 0px none; padding: 0px; text-decoration: none; vertical-align: baseline;" target="blank">http://www.jot.fm/issues/issue_2013_06/article1.pdf</a><span style="background-color: white; color: #333333; font-size: 13px; line-height: 17px;"> </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br style="background-color: white; color: #333333; font-size: 13px; line-height: 17px;" /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #333333; font-size: 13px; line-height: 17px;">This presentation is practical - it follows an example driven approach for design smells: </span></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><a href="http://www.linkedin.com/redirect?url=http%3A%2F%2Fwww%2Eslideshare%2Enet%2Fsgganesh%2Frefactoring-for-design-smells&urlhash=qOWL&_t=tracking_anet" rel="nofollow" style="background-color: white; border: 0px none; color: #006699; font-size: 13px; line-height: 17px; margin: 0px; outline: 0px none; padding: 0px; text-decoration: none; vertical-align: baseline;" target="blank">http://www.slideshare.net/sgganesh/refactoring-for-design-smells</a></span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br style="background-color: white; color: #333333; font-size: 13px; line-height: 17px;" /></span>
<span style="font-family: "Trebuchet MS",sans-serif;"><iframe allowfullscreen="" frameborder="0" height="356" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/25235622" style="border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;" webkitallowfullscreen="" width="427"> </iframe></span> <br />
<div style="margin-bottom: 5px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b> <a href="https://www.slideshare.net/sgganesh/refactoring-for-design-smells" target="_blank" title="Refactoring for design smells">Refactoring for design smells</a> </b> from <b><a href="http://www.slideshare.net/sgganesh" target="_blank">Ganesh SG</a></b></span> </div>
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #333333; font-size: 13px; line-height: 17px;">Hope you enjoy reading them! And yes, please do share your thoughts.</span></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-15238675497984922192013-09-13T10:12:00.001+05:302013-12-29T11:34:45.644+05:30Latest release of the book fixes reported errors in the book! <div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><span style="line-height: 18px;">We took up the task of writing the book in an incredibly tight schedule. We wanted the book to be out as soon as the beta exam becomes the final exam, and we missed that deadline only by a month or so. Given the fact that both of us (Tushar and myself) have a full-time demanding job, hyperactive kids in our respective homes, and short deadlines, we're extremely happy that our book came out to the market as the first book on OCPJP 7 exam preparation. </span><br style="line-height: 18px;" /><br style="line-height: 18px;" /><span style="line-height: 18px;">With the tight schedule, we couldn't get much time for reviews and rigorous checks, and quite a few mistakes slipped into the production version of the book - that is the major criticism of our book. We are thankful to our readers who were supportive of us as well as reported bugs. Now, </span><b style="line-height: 18px;">all the known mistakes are fixed in the book and the updated version is available in ebook form and Print-On-Demand books</b><span style="line-height: 18px;">; for the print version, for the further reprints, this updated version will be available. We thank the Apress team for helping us in updating the book and making it available for all the resellers. </span></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><span style="line-height: 18px;"><br /></span></span><span style="background-color: white;"><span style="line-height: 18px;">Our hearty thanks to the all the readers who were patient with us and helped us by reporting the errors in the </span><a class="snap_shots" href="http://ocpjp7.blogspot.in/p/errata.html" rel="nofollow" style="color: #2f2f5b; line-height: 18px;" target="_new">errata</a><span style="line-height: 18px;"> page for the book in this blog. We've copied the image from the book acknowledgement section of the book (if we have missed anyone in this list, we are sorry for that and please do let us know): </span></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><br style="line-height: 18px;" /></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZcsd6UpDhte-fvu17xoYxcpH_2aitXo1O5QCW_NRbffDfMJ8ZWsno6XOBoOGsW2ZSo2j6b802XTcUOcl4uXMotig3SnwXHYEElbPmL3RU9JOkS8oDnGT6oTmnWYrJRdyc7MxjFY8IxHw/s1600/Acknowledgements.JPG" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="30" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZcsd6UpDhte-fvu17xoYxcpH_2aitXo1O5QCW_NRbffDfMJ8ZWsno6XOBoOGsW2ZSo2j6b802XTcUOcl4uXMotig3SnwXHYEElbPmL3RU9JOkS8oDnGT6oTmnWYrJRdyc7MxjFY8IxHw/s640/Acknowledgements.JPG" width="400" /></a></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;">Note that the book in its current form is quite comprehensive, covers almost all topics in required depth, and uses an example-driven approach which makes the concepts easier to understand. Given the fact that this is the only book (to our knowledge) to *prepare* for OCPJP 7 exam available in the market, we hope that this updated version is very helpful to our readers. </span></span></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-43710771308532756082013-09-09T10:59:00.000+05:302013-12-29T11:35:01.262+05:30Revised cost for OCPJP 7 exam<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;">Good news for all OCPJP 7 aspirants. Oracle has brought down the exam cost for OCPJP 7 exam. The revised exam cost (for 1Z0-804) is $245 (thus, you save $55). Here is the link to the <a href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:1Z0-804&p_org_id=&lang=" target="_blank">Oracle site</a>.</span><br />
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">It is applicable for OCPJP upgrade exam i.e. 1Z0-805 too. Check out <a href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:1Z0-805&p_org_id=&lang=" target="_blank">this link</a> for details.</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">Cheers :)</span></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-7483582875715127412013-08-20T11:24:00.003+05:302013-12-29T11:35:33.014+05:30Participate in CodeRanch discussion and win a copy of OCPJP7 book! <div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #222222;">Forwarding the mail from Java Ranch Moose (slight editing to save space):</span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #222222;"><br /></span></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #222222;">---------- Forwarded message ----------</span><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">From: </span><b class="gmail_sendername" style="background-color: white; color: #222222;">Java Ranch Moose</b><span style="background-color: white; color: #222222;"> </span><span dir="ltr" style="background-color: white; color: #222222;"><mmoose@javaranch.com></span><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">Date: Tue, Aug 20, 2013 at 9:37 AM</span><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">Subject: Book Promo: "Oracle Certified Professional Java SE 7 Programmer Exams" & A Choice of "Agile and PMP Certification" Products</span><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">To: Java Ranch Moose <mmoose@javaranch.com></span><br style="background-color: white; color: #222222;" /><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">We are thrilled to have S G Ganesh & Tushar Sharma on the ranch to promote</span><br /><span style="background-color: white; color: #222222;">the book "Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804</span><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">and 1Z0-805: A Comprehensive OCPJP 7 Certification Guide".</span><br style="background-color: white; color: #222222;" /><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">The promotion will be held in the Programmer Certification (SCJP/OCPJP)</span><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">forum which can be found here:</span><br style="background-color: white; color: #222222;" /><br style="background-color: white; color: #222222;" /><a href="http://www.coderanch.com/forums/f-24/java-programmer-SCJP" style="background-color: white; color: #1155cc;" target="_blank">http://www.coderanch.com/<wbr></wbr>forums/f-24/java-programmer-<wbr></wbr>SCJP</a><br style="background-color: white; color: #222222;" /><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">Participate in this week's giveaway by asking S G Ganesh & Tushar Sharma</span><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">a question or two and you may win a copy of the book!</span><br style="background-color: white; color: #222222;" /><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">The giveaway starts on Tuesday, August 20th 2013.</span><br /><span style="background-color: white; color: #222222;">The drawing will be held on Friday, August 23rd 2013.</span><br style="background-color: white; color: #222222;" /><br style="background-color: white; color: #222222;" /><span style="background-color: white; color: #222222;">For more info or if you're plumb tired of getting this info, visit:</span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><a href="http://www.coderanch.com/how-to/java/BookPromotions" style="background-color: white;" target="_blank">http://www.coderanch.com/how-<wbr></wbr><span style="color: #1155cc;">to/java/BookPromotions</span></a></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #222222;">---------- End Forwarded message ----------</span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #222222;"><br /></span></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222;">Congratulations to all the four winners :-) </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222;">From </span><a href="https://www.coderanch.com/how-to/java/BookPromotionsWinnersPage">https://www.coderanch.com/how-to/java/BookPromotionsWinnersPage</a></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222;"><br /></span></span></span>
<br />
<table border="1" cellpadding="3" cellspacing="0" style="background-color: #faf7f1; color: black;"><tbody>
<tr><td><span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">August 20</span></span></td><td><span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><img height="90" src="http://ecx.images-amazon.com/images/I/513%2Bnox%2B1YL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA300_SH20_OU01_.jpg" style="border: 0px none;" width="70" /></span></span></td><td><span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><a href="http://www.amazon.com/gp/product/1430247649?tag=jranch-20" rel="nofollow" style="color: navy;">Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805: A Comprehensive OCPJP 7 Certification Guide</a></span></span></td><td><span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">S G Ganesh & Tushar Sharma</span></span></td><td><span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Apress</span></span></td><td><span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Alam Ameghino, Fakih Karademir, S Gaurav, Mphatheleni Ernest Matidze</span></span></td></tr>
</tbody></table>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #222222;"><br /></span></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; color: #222222;"><br /></span></span></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com2tag:blogger.com,1999:blog-3367033599435916272.post-6670856853115590092013-08-04T15:25:00.001+05:302013-12-29T11:35:51.567+05:30Updated exam topics for OCPJP 7<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;">Recently, Oracle has updated the exam topics for OCPJP 7 exam. The intention is to clarify the scope of the exam.</span><br />
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">You can download the exam topics from <a href="https://docs.google.com/file/d/0B1F7qKQdP2WxYmhCdkhSZVQxdjQ/edit?usp=sharing" target="_blank">here</a>.</span></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com1tag:blogger.com,1999:blog-3367033599435916272.post-52202576266809661492013-07-30T15:24:00.000+05:302013-12-29T11:36:49.273+05:30Understanding IllegalThreadStateException, IllegalMonitorStateException and thread states<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;"><i>There was a question on IllegalMonitorStateException and thread states in CodeRanch (http://www.coderanch.com/t/616837/java-programmer-SCJP/certification/state). Since it is a general topic of interest to most OCPJP7 aspirants, I'm posting the expanded version of the answer I gave as blog entry here. </i></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;"><i><br /></i></span></span></span>
<br />
<h3 style="text-align: left;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;">Basic thread states </span></span></span></h3>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; line-height: 18px;">A thread has various states during its lifetime. Three basic thread states to understand are – new, runnable and terminated. We will discuss more thread states a bit later. </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><br style="line-height: 18px;" /><span style="line-height: 18px;">A program can access the state of the thread using Thread.State enumeration. The Thread class has the getState() instance method which returns the current state of the thread. Here is an example: </span></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;">class BasicThreadStates extends Thread { </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> public static void main(String []s) throws Exception { </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> Thread t = new Thread(new BasicThreadStates()); </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> System.out.println("Just after creating thread; \n" + </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> " The thread state is: " + t.getState()); </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> t.start(); </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> System.out.println("Just after calling t.start(); \n" + </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> " The thread state is: " + t.getState()); </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> t.join(); </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> System.out.println("Just after main calling t.join(); \n" + </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> " The thread state is: " + t.getState()); </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"> } </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;">} </span></span></span><br />
<div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white; line-height: 18px;"><br /></span></span></span></div>
<div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><span style="line-height: 18px;">This program prints:</span><span style="line-height: 18px;"> </span></span></span></span></div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><br style="line-height: 18px;" /></span></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Just after creating thread; </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> The thread state is: NEW </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Just after calling t.start(); </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> The thread state is: RUNNABLE </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Just after main calling t.join(); </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> The thread state is: TERMINATED </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><span style="line-height: 18px;">Just after the creation of the thread and just before calling the start() method on that thread, the thread is in the new state. After calling the start() method, the thread is ready to run or is in the running state (which we cannot determine); so it is in runnable state. From the main() method, we are calling t.join(). The main() method waits for the thread t to die. So once the statement t.join() successfully gets executed by main() thread, it means that the thread t has died or terminated. So, the thread is in the terminated state now. </span><br style="line-height: 18px;" /><br style="line-height: 18px;" /><span style="line-height: 18px;">A word of advice: be careful about accessing the thread states using the getState() method. Why? By the time you acquire information on a thread state and print it, the state could have changed! I know the last statements could be confusing. To understand the problem with getting thread state information using the getState() method, consider the previous example. In one sample run of the same program, it printed the following: </span></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;">Just after creating thread; </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;"> The thread state is: NEW </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;">Just after calling t.start(); </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;"><span style="color: red;"><i> The thread state is: TERMINATED </i></span></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;">Just after main calling t.join(); </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;"> The thread state is: TERMINATED </span></span></span><br />
<div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><span style="line-height: 18px;">Note the red italicized part of the output, the statement after printing “Just after calling t.start();”. In the initial output, we got the thread state (as expected) as RUNNABLE state. However, in another execution of the same program without any change, it printed the state as TERMINATED. Why? In this case, the thread is dead before we could get a chance to check it and print its status! [Note that we have not implemented the run() method in the BasicThreadStates class, so the default implementation of the run() method does nothing, and terminates quickly.] </span></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><span style="line-height: 18px;"><br /></span></span></span></span>
<br />
<h3>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;">More thread states </span></span></span></h3>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><span style="line-height: 18px;">A thread can also be in blocked, waiting, timed_waiting states—which we’ll discuss now. I've attached a figure with this post which shows how and when the state transitions typically happen for these six states. You can use Thread.State enumeration which has the list of possible thread states. Here is a simple program that prints the value of the states in this enumeration: </span></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><span style="line-height: 18px;"><br /></span></span></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;">class ThreadStatesEnumeration { </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;"> public static void main(String []s) { </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;"> for(Thread.State state : Thread.State.values()){ </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;"> System.out.println(state); </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;"> } </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;"> } </span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;">} </span></span></span><br />
<div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="background-color: white;"><span style="line-height: 18px;">It prints: </span></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">NEW </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">RUNNABLE </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">BLOCKED </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">WAITING </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">TIMED_WAITING </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">TERMINATED </span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<br />
<div class="BodyTextFirst">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Now let us discuss exceptions. </span></span></div>
<div class="BodyTextFirst">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<h3 style="text-align: left;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="line-height: 18px;">IllegalThreadStateException </span></span></span></h3>
<div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Here is a program that throws IllegalThreadStateException</span></span></div>
<div class="BodyTextFirst">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">class ThreadStateProblem {</span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> public
static void main(String []s) {<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> Thread
thread = new Thread();<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> thread.start();<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> thread.start();<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> }<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">}<o:p></o:p></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">The program fails with this stack
trace: <o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Exception in thread "main"
java.lang.IllegalThreadStateException<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> at
java.lang.Thread.start(Unknown Source)<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> at
ThreadStateProblem.main(ThreadStateProblem.java:6)<o:p></o:p></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Here, we are trying to start a
thread that has already started. When we call <span class="CodeInline">start()</span>, the
thread moves to “new” state. There is no proper state transition from “new”
state if we call <span class="CodeInline">start()</span><span class="CodeInline"><span style="border: medium none;"><span style="border: medium none;"> </span></span></span>again; so
the JVM throws <span class="CodeInline">IllegalThreadStateException</span>. </span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<h3 style="text-align: left;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">IllegalMonitorStateException</span></span></h3>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="text-indent: 0in;">Here is a program that results in a IllegalMonitorStateException: </span></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">class ThreadStateProblem extends Thread {<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> public void
run() {<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> try
{<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> wait(1000);<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> }<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> catch(InterruptedException
ie) {<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> //
its okay to ignore this exception since we’re not <o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> //
interrupting exceptions in this code <o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> ie.printStackTrace();
<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> }<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> }<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> <o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> public
static void main(String []s) {<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> new
ThreadStateProblem().start(); <o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> }<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">} <o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">This program crashes like this:</span></span><br />
<div class="MsoBodyText">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Exception in thread "Thread-0"
java.lang.IllegalMonitorStateException<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> at
java.lang.Object.wait(Native Method)<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> at
ThreadStateProblem.run(ThreadStateProblem.java:4)<o:p></o:p></span></span></div>
<div class="MsoBodyText">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">The <span class="CodeInline">wait(int)</span>
method (with or without timeout value) should be called only after acquiring a
lock: a wait() call adds the thread to the waiting queue of the acquired lock.
If we don’t do that, there is no proper transition from the <i>running</i> state to <i>timed_waiting</i> (or <i>waiting</i>
state in case timeout value in not given) can happen. So, the program crashes by
throwing <span class="CodeInline">IllegalMonitorStateException</span>
exception. <o:p></o:p></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">The correct fix is to acquire the lock
before calling <span class="CodeInline">wait</span><span class="CodeInline">()</span>. In this
case, we can declare the <span class="CodeInline">run() </span>method <span class="CodeInline">synchronized</span>:
<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">synchronized public void run() {<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> try {<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> wait(1000);<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> }<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> catch(InterruptedException
ie) {<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> //
its okay to ignore this exception since we’re not <o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> //
interrupting exceptions in this code <o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> ie.printStackTrace(); <o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> }<o:p></o:p></span></span></div>
<div class="Code">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">}<o:p></o:p></span></span></div>
<div class="MsoBodyText">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Since the <span class="CodeInline">run() </span>method
is <span class="CodeInline">synchronized</span>,
the <span class="CodeInline">wait</span><span class="CodeInline">()</span>
will add itself to the <span class="CodeInline">this</span> object reference lock. Since
there is no one calling the <span class="CodeInline">notify()</span>/<span class="CodeInline">notifyAll()</span>
method, after timeout of 1 second (1000 milliseconds) is over, it will return
from the <span class="CodeInline">run() </span>method. So, the <span class="CodeInline">wait(1000);</span>
statement behaves almost like <span class="CodeInline">sleep(1000)</span> statement; the difference
is that calling <span class="CodeInline">wait</span><span class="CodeInline">()</span> releases
the lock on this object when it waits while <span class="CodeInline">sleep</span><span class="CodeInline">()</span>
call will not release the lock when it sleeps. <o:p></o:p></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">So, the key observation is that: <b>We must call <span class="CodeInline"><span style="border: medium none;">wait</span></span> and <span class="CodeInline"><span style="border: medium none;">notif</span></span><span class="CodeInline"><span style="border: medium none;">y</span></span>/<span class="CodeInline"><span style="border: medium none;">notifyAll</span></span> <i>only</i> after acquiring the relevant lock. </b></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><b><br /></b></span></span></div>
<h3 style="text-align: left;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Difference between these exceptions </span></span></h3>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="text-indent: 0in;">If you already did not recognize, IllegalThreadStateException is different from IllegalMonitorStateException. </span></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Here is the description of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalThreadStateException.html" target="_blank">IllegalThreadStateException from JavaDoc</a>: "<span style="background-color: white; color: #353833;">Thrown to indicate that a thread is not in an appropriate state for the requested operation. See, for example, the </span><code style="background-color: white; color: #353833;">suspend</code><span style="background-color: white; color: #353833;"> and </span><code style="background-color: white; color: #353833;">resume</code><span style="background-color: white; color: #353833;"> methods in class </span><code style="background-color: white; color: #353833;">Thread</code><span style="background-color: white; color: #353833;">." </span></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Here is the description of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalMonitorStateException.html" target="_blank"><span class="CodeInline">IllegalMonitorStateException</span> from JavaDoc</a>: "<span style="background-color: white; color: #353833; text-indent: 0in;">Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor." </span></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">In both the cases, we need to be careful about thread states. In case of <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalThreadStateException.html" target="_blank">IllegalThreadStateException</a>, it is about attempted illegal transition in thread states (and is nothing to do with locks). Whereas with <span class="CodeInline"><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalMonitorStateException.html" target="_blank">IllegalMonitorStateException</a>, it is about holding a lock - it occurs when attempting to call methods such as wait or notify on an object that does not hold the lock. </span></span></span></div>
<div class="MsoBodyText" style="text-indent: 0in;">
</div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-88535759579549459452013-06-07T11:26:00.002+05:302013-12-29T11:37:14.413+05:30OCPJP7 book available from Amazon.in for Indian readers<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">If you're in India and looking for buying OCPJP 7 book, you have one more option now: you can buy it from Amazon.in (Yes, Amazon has an Indian website now!) <a href="http://www.amazon.in/dp/1430247649" target="_blank">here</a>.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><a href="http://ecx.images-amazon.com/images/I/513+nox+1YL._SL500_AA300_.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://ecx.images-amazon.com/images/I/513+nox+1YL._SL500_AA300_.jpg" /></a></span></span></div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>
<table class="product" style="background-color: white; border-collapse: collapse; border: 0px none; padding: 0px;"><tbody>
<tr id="actualPriceRow"><td class="priceBlockLabelPrice" id="actualPriceLabel" style="color: #666666; padding-right: 3px; padding-top: 0.5em; text-align: right; vertical-align: top; white-space: nowrap;"><span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Price:</span></span></td><td id="actualPriceContent"><span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span id="actualPriceValue"><span class="priceLarge" style="color: #990000; letter-spacing: -1px;"><span class="currencyINR" style="background-image: url("http://z-ecx.images-amazon.com/images/G/31/common/sprites/sprite-site-wide-2._V1_.png"); background-position: 0px -408px; background-repeat: no-repeat no-repeat; background-size: 320px 455px; display: inline-block; height: 14px; line-height: 14px; margin-bottom: 2px; margin-right: 0px; text-decoration: inherit; vertical-align: middle; width: 9px;"> </span>2,635.00 </span></span></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"></span></span></td></tr>
<tr><td><span style="font-size: small;"><br /></span></td><td><span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Inclusive of all taxes</span></span></td></tr>
</tbody></table>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"> and free shipping.</span></span><br />
<div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-70060437753944691942013-04-18T16:01:00.000+05:302013-04-18T16:01:21.943+05:30Indian readers can now buy OCPJP 7 book from Flipkart!<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
</div>
<span style="font-family: Trebuchet MS, sans-serif;">We have received many queries from Indian readers on how to get the book in India. </span><br />
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span>
<span style="font-family: Trebuchet MS, sans-serif;">If you're from India, you can now buy the imported edition of the book Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805 from <a href="http://www.flipkart.com/oracle-certified-professional-java-se-7-programmer-exams-1z0-804-1z0-805/p/itmdhm74zjy6dtjq?pid=9781430247647" target="_blank">flipkart</a>. Flipkart provides 17% discount - its <span style="background-color: white; color: #333333; font-style: inherit; font-variant: inherit; line-height: 16px; text-decoration: line-through; white-space: nowrap;">Rs. 2640 </span></span><span class="fk-font-finalprice fk-font-verybig pprice fk-bold" style="background-color: white; border: 0px; color: #274e13; font-family: 'Trebuchet MS', sans-serif; font-weight: bold; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Rs. 2191</span><span style="background-color: white; color: #274e13; font-family: 'Trebuchet MS', sans-serif; line-height: 16px;"> </span><span class="" style="background-color: white; border: 0px; color: #274e13; font-family: 'Trebuchet MS', sans-serif; line-height: 16px; margin: 0px; padding: 0px; vertical-align: baseline;">(17% Off). </span><br />
<span class="" style="background-color: white; border: 0px; color: #274e13; font-family: 'Trebuchet MS', sans-serif; line-height: 16px; margin: 0px; padding: 0px; vertical-align: baseline;">Alternatively, if you prefer to buy an e-book, you can get it from <a href="http://www.apress.com/9781430247647" target="_blank">apress site</a>: The price of ebook is $32.99, and if you're from India the apress site will automatically include $24.74 discount and the final price of the book is $8.25. </span><br />
<br />
<div>
<br /></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-5179127332981628932013-04-14T19:42:00.000+05:302013-12-29T11:37:44.938+05:30Top 5 myths and misconceptions about OCPJP 7 exam<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b style="mso-bidi-font-weight: normal;"><span style="background: white; color: #222222; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Myth #5: If I pass OCAJP 7 exam, I'll pass OCPJP 7 exam with ease - both are similar except for top-level exam topics!</span></b><span style="background: white; color: #222222; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"> </span><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><br /><br /><span style="background: white;">No, no, no. OCAJP 7 and OCPJP 7 are different beasts. OCAJP 7 is</span> <i><span style="background: white;">much</span></i> <span style="background: white;">easier than OCPJP 7 exam. Oracle wanted a large base to start with, and hence OCAJP covers only language fundamentals; just take a look at the</span> </span><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><a href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:1Z0-803&p_org_id=&lang=" target="_blank"><span style="color: #1155cc;">OCAJP 7 exam topics</span></a><span style="color: #222222;"> <span style="background: white;">to understand what we mean. However, OCPJP 7 is a more difficult exam which covers a wide range of exam topics (JDBC, Concurrency APIs, localization, design patterns, ...) as well as topics in depth (just take a look at generics and collections topic, for example). </span></span><o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Yes, some questions in OCAJP 7 could be as difficult as OCPJP 7 exam, but in general, OCPJP 7 requires much more preparation. Overall, it would be a <i>very bad idea</i> to appear for OCPJP 7 exam without any preparation, but it may be okay for OCAJP 7 if you've considerable programming experience in Java. <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><i style="mso-bidi-font-style: normal;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Bottom-line:</span></i><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"> Don’t measure both the exams with the same scale. If you've passed OCAJP 7 exam, don't look at OCPJP 7 exam as something similar - they are very different at their difficulty level. So, prepare more for OCPJP 7 exam even if you've cracked OCAJP 7 with ease. <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><br /></span><b style="mso-bidi-font-weight: normal;"><span style="background: white; color: #222222; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Myth #4: I have many years of work experience in Java, so I don't have to prepare for the exam. <o:p></o:p></span></b></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">No matter how much real-world programming experience you might have, there are two reasons why you should prepare for this exam to improve your chances of passing it: <o:p></o:p></span></span></div>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="background: white; color: #222222; line-height: normal; margin: 0in 0in 3.15pt; mso-list: l1 level1 lfo1; tab-stops: list .5in;"><span style="font-family: "Trebuchet MS",sans-serif;"><i><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">You may not have been exposed to certain topics on the exam</span></i><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">. Java is vast, and you might not have had occasion to work on every topic covered in the exam. For example, you may not be familiar with localization if you have never dealt the locale aspects of the applications you were engaged with. Or your work might not have required you to use JDBC. Or you’ve always worked on single-threaded programs, so multithreaded programming might be new to you. Moreover, OCPJP 7 emphasizes Java 7, and you might not have been exposed yet to such Java 7 topics as NIO.2, new concurrency APIs, and enhancements such as try-with-resource statements. <o:p></o:p></span></span></li>
<li class="MsoNormal" style="background: white; color: #222222; line-height: normal; margin: 0in 0in 3.15pt; mso-list: l1 level1 lfo1; tab-stops: list .5in;"><span style="font-family: "Trebuchet MS",sans-serif;"><i><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">You may not remember the unusual aspects or corner cases.</span></i><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"> No matter how experienced you are, there is always an element of surprise involved when you program. The OCPJP 7 exam tests not just your knowledge and skills in respect of regular features, but also your understanding of unusual aspects or corner cases, such as the behavior of multithreaded code and the use of generics when both overloading and overriding are involved. So you have to bone up on pathological cases that you rarely encounter in your work.<o:p></o:p></span></span></li>
</ul>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><i style="mso-bidi-font-style: normal;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Bottom-line:</span></i><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"> Work experience in Java is good, but you'll still need to prepare. A grounded and practical approach would be to take mock-exams in our <a href="http://www.amazon.com/Certified-Professional-Programmer-1Z0-804-1Z0-805/dp/1430247649" target="_blank"><span style="color: #1155cc;">book</span></a> - if you pass the mock exams, you're likely to pass the real exam - at least this approach will save you $300! <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><br /></span><b style="mso-bidi-font-weight: normal;"><span style="background: white; color: #222222; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Myth #3: OCPJP 7 exam questions will be equally distributed among the exam topics. <o:p></o:p></span></b></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">If you look at the list of exam topics for OCPJP 7 exam (see this<a href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:1Z0-804&p_org_id=&lang=" target="_blank"><span style="color: #1155cc;"> link</span></a>), you'll find 12 top-level exam topics. Somehow, there is a misconception that you'll get 7 to 8 questions (i.e., 90 questions / 12 exam topics = 7.5 questions) per exam topic. However, based on experiences in taking exam, this is not true. Specifically: <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoListParagraphCxSpFirst" style="background: white; line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">You're sure to get questions on fundamentals, i.e., questions from OCAJP 7 exam topics, so, this distribution doesn't hold. <o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">You may get more questions on a specific topic (such as generics and collections) when compared to other topics. <o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpLast" style="background: white; line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">You may not even get <i>any</i> questions on a topic. For example, many takers of exam have reported that they did not get any questions in topics such as Concurrency or JDBC. <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><i style="mso-bidi-font-style: normal;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Bottom-line:</span></i><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"> Prepare well for all the exam topics and don't be surprised if you get a large number of questions from one exam topic and very few (or even no) questions on some exam topics. <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><br /></span><b style="mso-bidi-font-weight: normal;"><span style="background: white; color: #222222; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Myth #2: OCPJP 7 exam questions will be exactly from the exam topics.</span></b><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"> <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><br />Yes, Oracle has listed exam topics (both topics and sub-topics) for the OCPJP 7 exam (see this<a href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:1Z0-804&p_org_id=&lang=" target="_blank"><span style="color: #1155cc;"> link</span></a>). The questions from the exam will be <i>mainly</i> from these high-level exam topics. However, exam questions are not constrained to be exclusively from the topics on the exam syllabus:<o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoListParagraphCxSpFirst" style="background: white; line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">You might, for example, get questions on Java fundamentals (a topic in OCAJP syllabus) concerning the basics of exception handling and using wrapper types. Or consider the exam topic "Test equality between Strings and other objects using == and equals ()" listed under "Using operators and decision constructs" in OCPJP 7 exam - you may get questions on this exam topic. <o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">You might also get questions on topics related to those on the exam syllabus but not specified in it. For example, serialization and use of the transient keyword are not explicitly mentioned in the OCPJP exam syllabus, but they can come up in the actual exam because they are related to reading and writing streams—and one of these is ObjectStreams, which relates to serialization!<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background: white; line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Consider this exam topic "Format strings using the formatting parameters: %b, %c, %d, %f, and %s in format strings." under "String processing" in OCPJP 7. This list of formatting parameters is only an indication and you may get questions on flags such as ‘-’, ‘^’, or ‘0’ or use of escape character % and use %% to print %. <o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpLast" style="background: white; line-height: normal; margin: 0in 0in 0pt 0.5in; mso-add-space: auto; mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-size: 7pt; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"> </span></span></span><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Some of the Java 7 topics are not explicitly mentioned anywhere in the exam topics. For example, consider two sub-topics in "Upgrade to Java SE 7" top-level exam topic "Language enhancements": "Develop code that uses String objects in switch statement", "Develop code that uses binary literals and numeric literals with underscores". In our experience, we have got questions from these two exam topics which are not at all mentioned in main OCPJP 7 exam (IZO-804)! <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><i style="mso-bidi-font-style: normal;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Bottom-line:</span></i><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"> It would be a folly to strictly adhere to the exam topics listed by Oracle for the exam. Grounded on our practical experience in the exam, it's a good strategy to be familiar and prepare for all the top-level topics given in the exam syllabus, including Java 7 language features. <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 12pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b style="mso-bidi-font-weight: normal;"><span style="background: white; color: #222222; font-size: 12pt; mso-bidi-font-family: Calibri; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Myth #1: OCPJP 7 = (Older version of OCPJP or SCJP) + Java 7.</span></b><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><br /><br />The top in our list of myths and misconceptions is something that is surprisingly common among OCPJP aspirants. This is the misconception that most of you may disagree with us. But never mind, we'll tell you the truth! <br /><br />Those who are familiar with older versions of the OCPJP (such as OCPJP 6) exam or SCJP exam (such as SCJP 5) exam think that OCPJP 7 is nothing but the same old exam plus coverage of features introduced in Java 7. It is simply not true. In two major ways OCPJP 7 and its older avatars are different: OCPJP 7 is both broader and deeper than its older versions. Let's dig deeper on these two aspects.<br /><br /><b>OCPJP 7 has broader scope</b>: This is easy to explain. The OCPJP 7 exam covers more topics than the OCPJP 6 and 5 exams and their Sun predecessors, including JDBC, localization, NIO.2, and concurrency APIs. Yes, OCPJP 7 also covers new features of Java SE 7, including try-with-resources statements, new APIs in JDBC, string-based switches, and binary literals; but that is only one of the differences between OCPJP 7 and its older versions. Here is the list of exam topics in OCPJP 6 and OCPJP 7: <o:p></o:p></span></span></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184;"><tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;"><td style="background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-alt: solid windowtext .25pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 189.15pt;" valign="top" width="252"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">OCPJP 6 exam topics</span></b><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Declarations, Initialization and Scoping <o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Flow Control<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">API Contents<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Concurrency<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">OO Concepts<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Collections / Generics<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"> Fundamentals<o:p></o:p></span></span></div>
</td><td style="background-color: transparent; border-bottom: windowtext 1pt solid; border-left: #f0f0f0; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-alt: solid windowtext .25pt; mso-border-left-alt: solid windowtext .25pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 243pt;" valign="top" width="324"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">OCPJP 7 exam topics</span></b><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Java Class Design<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Advanced Class Design<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Object-Oriented Design Principles<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Generics and Collections<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">String Processing<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Exceptions and Assertions<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Java I/O Fundamentals<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Java File I/O (NIO.2)<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Building Database Applications with JDBC<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Threads<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Concurrency<o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Localization<o:p></o:p></span></span></div>
</td></tr>
</tbody></table>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">A considerable number of "language fundamental" topics are now moved to OCAJP 7, which is a prerequisite for OCPJP 7 exam. <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">OCPJP 7 has more in-depth coverage of exam topics</span></b><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">: This part is harder to explain. One of the objectives of Oracle when they revised the exam to OCPJP 7 is to make sure that fewer candidates pass the exam. With this in mind, when compared to OCPJP 7, the questions in OCPJP 7 are more difficult, there are more number of questions need to be attended within the same time period of 2.5 hours, and there is a slight increase in the percentage required to pass the exam (see table): <o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184;"><tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;"><td style="background-color: transparent; border-bottom: #f0f0f0; border-left: windowtext 1pt solid; border-right: #f0f0f0; border-top: windowtext 1pt solid; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 98.25pt;" valign="top" width="131"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b style="mso-bidi-font-weight: normal;"><i><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Exam duration</span></i></b><b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><o:p></o:p></span></b></span></div>
</td><td style="background-color: transparent; border-bottom: #f0f0f0; border-left: #f0f0f0; border-right: #f0f0f0; border-top: windowtext 1pt solid; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 129.7pt;" valign="top" width="173"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">OCPJP 6 exam</span></b><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">2 hrs 30 minutes (150 mins)<o:p></o:p></span></span></div>
</td><td style="background-color: transparent; border-bottom: #f0f0f0; border-left: #f0f0f0; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-right-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 129.7pt;" valign="top" width="173"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">OCPJP 7 exam </span></b><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">2 hrs 30 minutes (150 mins)<o:p></o:p></span></span></div>
</td></tr>
<tr style="mso-yfti-irow: 1;"><td style="background-color: transparent; border-bottom: #f0f0f0; border-left: windowtext 1pt solid; border-right: #f0f0f0; border-top: #f0f0f0; mso-border-left-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 98.25pt;" valign="top" width="131"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b style="mso-bidi-font-weight: normal;"><i><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Number of questions</span></i></b><b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><o:p></o:p></span></b></span></div>
</td><td style="background-color: transparent; border-bottom: #f0f0f0; border-left: #f0f0f0; border-right: #f0f0f0; border-top: #f0f0f0; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 129.7pt;" valign="top" width="173"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">60 Questions<o:p></o:p></span></span></div>
</td><td style="background-color: transparent; border-bottom: #f0f0f0; border-left: #f0f0f0; border-right: windowtext 1pt solid; border-top: #f0f0f0; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 129.7pt;" valign="top" width="173"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">90 Questions<o:p></o:p></span></span></div>
</td></tr>
<tr style="mso-yfti-irow: 2; mso-yfti-lastrow: yes;"><td style="background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: #f0f0f0; border-top: #f0f0f0; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 98.25pt;" valign="top" width="131"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b style="mso-bidi-font-weight: normal;"><i><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">Pass percentage</span></i></b><b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';"><o:p></o:p></span></b></span></div>
</td><td style="background-color: transparent; border-bottom: windowtext 1pt solid; border-left: #f0f0f0; border-right: #f0f0f0; border-top: #f0f0f0; mso-border-bottom-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 129.7pt;" valign="top" width="173"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">61%<o:p></o:p></span></span></div>
</td><td style="background-color: transparent; border-bottom: windowtext 1pt solid; border-left: #f0f0f0; border-right: windowtext 1pt solid; border-top: #f0f0f0; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; width: 129.7pt;" valign="top" width="173"><div class="MsoNormal" style="line-height: normal; margin: 0in 0in 3.15pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">65%<o:p></o:p></span></span></div>
</td></tr>
</tbody></table>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin: 0in 0in 0pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><span style="color: #222222; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman';">The other minor differences between OCPJP 7 and its older versions is that all questions in OCPJP 7 are multiple choice questions. Older versions of the exam featured drag-and-drop and match-the-options style questions that are withdrawn in OCPJP 7 exam.<br /><br /><i style="mso-bidi-font-style: normal;">Bottom-line:</i> Don't look at OCPJP 7 as just incremental improvement of its older version(s), and take it more seriously to prepare well for the exam (unless you're ready to throw away $300 in the dustbin). <o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin: 0in 0in 10pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-2930161489314475942013-04-11T20:48:00.001+05:302013-12-29T11:38:27.170+05:30OCPJP 7 Quick Reference Card<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;">Here it comes...<a href="https://docs.google.com/file/d/0B1F7qKQdP2WxTGwtaUdtU0tESDQ/edit?usp=sharing" target="_blank">OCPJP 7 quick reference card</a> is now available for all OCPJP 7 aspirants. Download it, use it, and crack the exam. </span></div>
<div style="display: block; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; margin: 12px auto 6px;">
<span style="font-family: "Trebuchet MS",sans-serif;"><a href="http://www.scribd.com/doc/135363483/Ocpjp-7-Quick-Reference-Card" style="text-decoration: underline;" title="View Ocpjp 7 Quick Reference Card on Scribd">Ocpjp 7 Quick Reference Card</a></span> </div>
<span style="font-family: "Trebuchet MS",sans-serif;"><iframe class="scribd_iframe_embed" data-aspect-ratio="0.706896551724138" data-auto-height="false" frameborder="0" height="600" id="doc_90160" scrolling="no" src="http://www.scribd.com/embeds/135363483/content?start_page=1&view_mode=scroll&access_key=key-12vm49ne6oqo18njwyro" width="100%"></iframe></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com1tag:blogger.com,1999:blog-3367033599435916272.post-1676022684797095332013-03-31T23:21:00.001+05:302013-12-29T11:38:42.339+05:30SCJP/OCPJP 6 or 7?<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal" style="margin: 0in 0in 10pt;">
<span style="font-family: "Trebuchet MS",sans-serif;"><o:p> </o:p>"What to do? SCJP/OCPJP 6 or 7?" If you are struggling with this confusion then do not worry, you are not alone. It is one of the most common confusion for any SCJP/OCPJP aspirant. </span></div>
<div class="MsoNormal" style="margin: 0in 0in 10pt;">
<span style="font-family: "Trebuchet MS",sans-serif;">In our opinion, it is always better to learn the latest concepts. If you are a newbie in Java then our recommendation is that you go with OCPJP 7. This exam covers Java SE 7 features that will give you an edge over SCJP 6. Any potential employer will choose the most updated candidate provided the options.</span></div>
<div class="MsoNormal" style="margin: 0in 0in 10pt;">
<span style="font-family: "Trebuchet MS",sans-serif;">Even if you are an experienced Java programmer, in that case also we recommend you to go for OCPJP 7. During OCPJP 7 exam preparation, you will understand the most recent features in the language that will improve your employability. </span></div>
<div class="MsoNormal" style="margin: 0in 0in 10pt;">
<span style="font-family: "Trebuchet MS",sans-serif;">In fact, the OCPJP 7 exam is much more difficult to clear than its predecessor. This fact makes the OCPJP 7 exam more prestigious and more acceptable. Oracle clearly differentiated between the associate exam (OCAJP, the easier one) with OCPJP exam (definitely the difficult one) and hence the credibility earned by OCPJP 7 certification cannot be matched by the older certification.</span></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-74814672874189190902013-03-29T14:36:00.000+05:302013-12-29T11:39:07.044+05:30Source code for OCPJP 7 book available for download!<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<span style="font-family: "Trebuchet MS",sans-serif;">You can now <a href="http://www.apress.com/downloadable/download/sample/sample_id/1409/" target="_blank">download the source code for our book</a> "<a href="http://www.amazon.com/dp/1430247649/" target="_blank">Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805</a>" from Apress webpage for our book: <a href="http://www.apress.com/9781430247647" target="_blank">http://www.apress.com/9781430247647</a>. From this link, click the "Source code/Downloads" tab and press the link "Download now". No, you need not have purchased the book to download the source code - anyone can download. </span></div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0tag:blogger.com,1999:blog-3367033599435916272.post-79909785896089746982013-03-25T14:56:00.001+05:302013-12-29T11:31:10.472+05:30Indian edition of OCPJP 7 book<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;">Good news for Indian readers of our <a href="http://www.amazon.com/Certified-Professional-Programmer-1Z0-804-1Z0-805/dp/1430247649/ref=sr_1_1?s=books&ie=UTF8&qid=1354022739&sr=1-1" target="_blank">OCPJP 7 book</a>. The e-book is available on Apress in just $8.25 for Indian readers. Really great, right?</span><br />
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span>
<span style="font-family: "Trebuchet MS",sans-serif;">What you need to do is: go to <a href="http://www.apress.com/9781430247647" target="_blank">our book page at Apress site</a> and add a book to your cart by clicking on "Buy eBook". That's it. If you are in India then Apress site will add a discount and the final price will come down to $8.25. Take a look at the snapshot given below.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Trebuchet MS",sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4apNk1qmZJcGbWZeLmnXUwD0BZABQL5PYP1z8EZRK0_ZGwJuAxYi_ovBtdQ4eYM18y6zt_0qK6rLn0xNQDbqm_yBo5Wl7H3j_nvbacWMswCsdJgYL4B8qAQWpP9LgOuaX6i-fbYTyJrY/s1600/apress-indian-edition-OCPJP7.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="247" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4apNk1qmZJcGbWZeLmnXUwD0BZABQL5PYP1z8EZRK0_ZGwJuAxYi_ovBtdQ4eYM18y6zt_0qK6rLn0xNQDbqm_yBo5Wl7H3j_nvbacWMswCsdJgYL4B8qAQWpP9LgOuaX6i-fbYTyJrY/s1600/apress-indian-edition-OCPJP7.PNG" ssa="true" width="400" /></a></span></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com1tag:blogger.com,1999:blog-3367033599435916272.post-44864617429684296092013-03-24T12:14:00.000+05:302013-12-29T11:30:54.973+05:30How to prepare for the OCPJP 7 exam<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "Trebuchet MS",sans-serif;">One of the important questions you may have when you start preparing for the OCPJP 7 exam is how to go about preparing for the exam. In this post, we answer some of these questions in the form of an FAQ. We mainly focus on the OCPJP 7 exam (Oracle exam codes IZ0-804 and IZ0-805). Note that Chapter I in our OCPJP 7 <a href="http://www.amazon.com/Certified-Professional-Programmer-1Z0-804-1Z0-805/dp/1430247649" target="_blank">book</a> addresses many of these topics. </span><br />
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><b><br /></b></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">1. <b>How long should I prepare before appearing for the exam? </b></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><b><br /></b></span></div>
<div>
<div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><i>Short answer: </i>Depending on your level of knowledge and experience in OCPJP 7 topics, it may take from 1 month to 6+ months. </span></div>
</div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><i>Long answer:</i> Preparation time depends on your knowledge and experience in Java programming. If you have already cleared OCAJP 7 (Oracle Certified Associate Java Programmer 7) exam, or any of the older Java certifications such as SCJP, it usually takes 1 months to 6 months to prepare for the exam. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">Why does it take time to prepare for the OCPJP 7 exam? Because it is a reasonably difficult exam to crack! For instance, compared to SCJP 5 exam, OCPJP 7 exam is both "broader and deeper": OCPJP 7 covers more topics than SCJP 5 such as NIO.2 and java.util.concurrent utilities; questions asked in OCPJP 7 are more difficult than SCJP 5. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">If you have just cleared OCAJP 7 and plan to appear for OCPJP 7 exam, we would recommend you to spend at least 6 months to prepare for the exam (subject to individual preparation, experience, and available time). You need to spend quite a bit of time to prepare difficult topics such as generics, design patterns, multi-threading and concurrency utilities. </span></div>
</div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">Even if you are an experienced Java programmer, you may not have exposure to certain topics that are covered in OCPJP 7. For example, if you have never written any code for localization (aka internationalization), then you'll need to prepare on this topic before appearing for the exam. Another possibility is that you may not have exposure to Java 7 features such as try-with-resources statement, diamond syntax in generics, and switch based on strings. Java 7 also has API changes for JDBC, NIO, concurrency utilities, etc. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">Remember that OCPJP 7 exam covers corner cases, unusual aspects and tricky aspects in language features and APIs. So, you'll need to brush-up on difficult topics such as semantics of multi-threading and unusual aspects involved in generics. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">OCPJP 7 exam tests your knowledge and understanding of Java language and library and does not test how well you can memorize things. However, there are certain aspects in OCPJP 7 exam will require you to remember such as format strings (in printf), regular expression syntax, glob syntax (in NIO.2), and format strings for creating custom locales. These topics require preparation, and if you ignore our warning and go ahead to take the exam without any preparation, then you'll not be able to confidently answer many questions in OCPJP 7 exam. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">If you're ready to throw $300 in dustbin, then do appear for OCPJP 7 exam without any preparation whatsoever! Or a more sensible thing: transfer those dollars to our bank account and we'll gladly accept that ;-) </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><i>Bottom line: No matter how experienced you are in Java, it is unlikely that you'll crack the exam without any preparation! </i></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><b><br /></b></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><i>2. </i><b>How should go about preparing for the exam? </b></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">Of course, the first thing we would suggest is to buy our book and read it :-) </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">The second thing we suggest is to not to stop preparation with reading our book! Don't get us wrong - the book covers all the topics to the required breadth and depth, but OCPJP 7 is not an easy exam and there is more you need to do to be confident of clearing the exam. What the book provides you is <i>knowledge</i> needed to appear for the exam, but to crack the exam, you need to <i>understand and internalize</i> the concepts! How to achieve that? </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">The key to cracking OCPJP 7 exam is to code, code, and code! It is through hands-on programming that you'll really get to understand and <i>internalize</i> the concepts. For example, reading about differences between nested, inner, and anonymous classes is only the first step; more important thing is to really get an intuitive understanding on what these differences are and know the nitty-gritty details of the differences between these variants. The way to achieve it is through writing code. If you don't have good opportunities to learn Java as part of your work, you can try some toy projects. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">Also, there are always topics that you would feel you require more preparation. For example, if you have not done any JDBC programming before, you may want to read more about it. A very good resource for further reading is <a href="http://docs.oracle.com/javase/tutorial/" target="_blank">Oracle's Java tutorial</a>. Specifically, for OCPJP 7 preparation read the topics related to this exam in <a href="http://docs.oracle.com/javase/tutorial/extra/certification/javase-7-programmer2.html" target="_blank">Oracle's tutorial</a>.</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">It is important to focus on the exam topics especially if you are pressed for time. For this reason, reading general Java tutorial books or references is not a good idea for exam preparation when your exam dates are close by. Why? In general reading general Java tutorials or references is good, but Java is vast and there are just too many topics to read and learn. You're likely to get lost in ocean of details without getting into required depth in topics relevant to OCPJP 7. For example, java.util.concurrent utilities are not covered well in most Java books meant for general reading; however, OCPJP 7 requires you to have considerable knowledge in these utilities. Also, many topics that are covered in detail are simply irrelevant for OCPJP 7 exam, such as Swing or AWT programming, Network programming, JavaBeans, Security, RMI, and Reflection. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><i>3. </i><b>Which topics should I focus for effective OCPJP 7 exam preparation? </b></span></div>
</div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><b><br /></b></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">Focus especially on Java 7 features, focus on topics that are difficult in general for most OCPJP 7 exam takers, and focus on topics that are difficult to you. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">OCPJP 7 has special focus on Java 7 exam topics. As we have already mentioned, these are topics such as try-with-resources, precise rethrow, diamond syntax, binary literals, and switch for strings in addition to API changes in JDBC, NIO.2, etc. From our experience taking the exam, we found a larger share of questions from this topic (one <i>possibility </i>for disproportionate number of questions on Java 7 is that Oracle's question bank for IZ0-804 exam and IZ0-805 exam are shared!). Since you're likely to get a significant number of questions on Java 7 topics, better be prepared for it. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">In general, certain OCPJP 7 topics are difficult for most OCPJP 7 exam takers, such as design patterns, generics and concurrency utilities. So, we would recommend you to prepare well for these topics.</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">You may not have exposure to some specific topics in OCPJP 7, such as IO fundamentals and NIO.2, JDBC, localization, or multi-threading. Naturally, you have to prepare more for these topics. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">How do you know what specific topics to prepare for? </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">A qualitative (and naive approach that is likely to work) is to rate yourself on each exam topic in the scale of 0 to 10 where 0 stands for no knowledge, and 10 stands for very good knowledge. Order the topics in ascending order and now you have a prioritized list of topics to prepare. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">A quantitative (and more grounded approach that works for sure) is to take one or two sample tests, and create a prioritized list of topics based on the topics based on your score. This is the approach we have recommended in the pre-test (Chapter II) in our book. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"> </span></div>
<div>
<div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><i>4. </i><b>Do you have any insights gained for effective OCPJP 7 exam preparation? </b></span></div>
</div>
</div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><b><br /></b></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">Yes! During our exam preparation, taking the exam, and writing the book we had a few "Aha!" moments where we got some insights that could help you in effective preparation for cracking the OCPJP 7 exam!</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b>Our first insight </b>is about kind of exam questions in OCPJP 7 exam. Reflecting on our experience in taking the exam, we realized that specific OCPJP 7 exam topics had more conceptual questions, and few other specific exam topics had more programming-based questions. Immediately after taking our exams, we started working on preparing the mock tests. While trying to coming-up with questions, we found that it is easier to come up with conceptual questions for certain topics and natural to come up with programming questions for certain topics! </span></div>
<div style="text-align: left;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: "Trebuchet MS",sans-serif;">We'll illustrate this with two simple examples. For the exam sub-topics such as "Develop code that implements "is-a" and/or "has-a" relationship" and "Define the layout of the JDBC API", it is easier to ask or create conceptual questions. Now consider these two sub-topics: "<span style="background-color: white; line-height: 20px; text-align: -webkit-auto;">Use java.util.concurrent collections" and "</span><span style="background-color: white; line-height: 20px; text-align: -webkit-auto;">Search, parse, and replace strings by using regular expressions, using expression patterns for matching limited to: . (dot), * (star), + (plus), ?, \d, \D, \s, \S, \w, \W, \b. \B, [], ()." For these two topics, asking programming questions is easy! </span> <span style="background-color: white; line-height: 20px; text-align: -webkit-auto;"> </span></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">This experience was in sync with our experience taking the exam! In general, "Object-Oriented Design Principles" is the topic in which you're <i>likely</i> to get almost all questions to be conceptual questions, whereas "String Processing" is a topic where you're <i>likely</i> to get almost all the questions to be programming-based questions. As you can see, for top-level topics it is difficult to make such a distinction, but for sub-topics it is easy to make such differentiation. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">So what does this insight help you in exam preparation? When you look for a sub-topic, just think what kind of questions you're likely to get - and prepare based on that! </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: "Trebuchet MS",sans-serif;"><b>Our second insight</b> is about the distribution of the questions within and across exam topics. When we started, we somehow assumed that the questions will be equally distributed across all the exam topics (e.g., equally distributed among 12 topics in IZ0-804). However, when taking our exam we realized that there are more questions in certain topics than others topics! In other words, questions are <i>not</i> equally distributed among exam topics. If you look at Oracle's website for OCPJP exam, it is mentioned nowhere that exam questions will be equally distributed among the exam topics (if you saw, please let us know!). </span></div>
<div style="text-align: left;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: "Trebuchet MS",sans-serif;">When preparing mock tests, we realized that it is easier to create questions on topics such as regular expressions and collections, but difficult to create questions in topics such as design patterns, and sub-topics such as "<span style="background-color: white; line-height: 20px; text-align: -webkit-auto;">Watch a directory for changes by using WatchService" and "</span><span style="background-color: white; line-height: 20px; text-align: -webkit-auto;">Create custom exceptions". For example, we didn't get any questions on "custom exceptions" when we took the exam, but got quite a few programming-based questions on regular expressions, glob in NIO.2, custom date and time formats in locales. </span></span></div>
<div style="text-align: left;">
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: "Trebuchet MS",sans-serif;">So, what does this insight help you when you prepare for the exam? Just think what kind of questions can one create for an exam topic. If it is difficult for you to mentally create possible questions on an exam topic, it is <i>likely</i> that you may not get such questions in the exam! </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><b>Our third insight</b> is on ambiguous questions. When we prepared for the exam and created mock-test (Chapter II in our book), we somehow assumed that the questions in actual exam would be unambiguous, completely self-descriptive or self-contained. However, when we took the exam, it wasn't so: some questions were ambiguous, not so self-descriptive that we had to assume some context, or imagine some missing aspects that the person who had created the exam assumed. Surprising but true! Since we wanted our mock tests (appendix II and III in our book) to be as close to the exam taking experience as possible, we designed our mock tests the same way. Of course, the downside of the approach we have taken is that readers (i.e., you) may complain that we have not done a good job, but that's a conscious risk we took! </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">So, what does this insight help you when you prepare for the exam? Don't naively assume that the exam questions will be perfect, unambiguous, or completely free of the possibility for subjective interpretation. If you have that assumption before you go to take the exam, you may be frustrated when you don't find that "perfect exam" that you imagined. When you prepare for the exam with an understanding that questions may not be "perfect", that allows you for more effective exam preparation - you'll be prepared to do some guesswork during the actual exam! </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"> </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><b>Our last insight</b> is on writing sample code for exam preparation. During our exam preparation as well as writing the book, we used both Eclipse IDE as well as command-line for trying out sample programs. And we noticed something interesting: We got better understanding of certain language and API details when we used command-line than when using GUI! That's unusual, right, but why? </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">One reason is that when we made mistakes in the program code, it took more time for us to realize that there was a compiler error (since edit-compile-reedit takes longer when working in command-line). Eclipse would immediately identify the mistake and high-light warnings and errors, and so we would immediately fix them without giving considerable thought to it. Since exam preparation is more about understanding than productivity, we started using command-line more than IDE. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">Another reason why using command-line works better than using an IDE is this: without help from IDE in showing the methods, or the arguments, or the type of the arguments, we had to more carefully remember, look-up, or understand the API documentation. Eclipse makes us lazy about learning and remembering API method details. Understanding and remembering key API details is especially important from exam perspective. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">There are few more reasons, such as being more careful and attentive while writing code (since its more time consuming when we make mistakes) which we don't discuss here, and if you think about it, it is easy to understand why.</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">One last point: We found javac's -Xprint option to be especially useful. For example, we always get confused about exact differences between Comparator and Comparable, Runnable and Callable, etc. When in doubt we would quickly type them in console to recollect the differences. For example: </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">$ javac -Xprint java.lang.Comparable</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">package java.lang;</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">public interface Comparable<T> {</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"> int compareTo(T arg0);</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">}</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">$ javac -Xprint java.util.Comparator</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">package java.util;</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">public interface Comparator<T> {</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"> int compare(T arg0,</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"> T arg1);</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"> boolean equals(java.lang.Object arg0);</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">}</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">$</span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">That's quite handy instead of looking up in Eclipse or Java documentation, right? </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">Don't get us wrong: We are not against Eclipse or any other IDE. What we are just saying is that we found using <i>command-line especially useful from exam perspective</i>. So, if you're using only an IDE consider using command-line. </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;">So, what does this insight help you when you prepare for the exam? If you use command-line for trying out sample programs for exam preparation, you're likely to be more attentive during the exam, get better knowledge and understanding of APIs, which will improve your chances of cracking the exam! </span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><i>Got any questions? Feel free to post your question as a comment to this blog post. </i></span></div>
</div>
<div>
<span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></div>
</div>
Ganesh SG and Tushar Sharmahttp://www.blogger.com/profile/10702738083346404200noreply@blogger.com0