Java book for experienced programmers (PHP)
<p>I searched on few questions earlier asked here but my context is not matching exactly to them.
I am working on LAMP from past few years. I recently learnt Java SL-314 Syllabus thinking my knowledge in PHP and other PLUS some knowledge in core Java from Oracle website can be helpful. 
I saw Java document is very poor compared to PHP. In PHP, one can get everything basic from the php.net site itself. For a simple thing like showing the resultset data to servlet or JSP from plain java code, I need to search a lot and still I cannot get past ArrayList etc. I was looking for a code in Java like this in PHP:</p>

<pre><code>while ($row = mysql_fetch_assoc($result)) {
    echo $row["userid"];
    echo $row["fullname"];
    echo $row["userstatus"];
}
</code></pre>

<p>I mean I want to use all fields the way I want. </p>

<p>I have a book, Java in Nutshell but that seems too theoretical. I need small book so that I can read it soon. I want to develop web app using Java. For getting help from core java, I want simple example codes to do all normal work I used to do in PHP. </p>

<p><strong>Please help me find simple Java book with example code which can help me do all normal stuff one do in PHP.</strong></p>
