General discussion

Locked

PuneJava Blog

By satish.talim ·
Tags: Off Topic
blog root

This conversation is currently closed to new comments.

48 total posts (Page 1 of 5)   01 | 02 | 03 | 04 | 05   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

100 Best Practices to Improve performance in Java

by satish.talim In reply to PuneJava Blog

<div xmlns="http://www.w3.org/1999/xhtml">
<div style="font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; text-align: justify;">Some of the best ways, put together in one place. A must read for medium to experienced <b>J2EE</b> programmers. A good example is for <b>EJB</b> - <a href="http://www.precisejava.com/javaperf/j2ee/EJB.htm#EJB147">Message-driven Bean Life cycle</a>.<br />
<br />
<b>
<a href="http://www.precisejava.com/">The link</a>
</b>.<hr style="color:silver;" />
<small>
<span class="technoratitag">Technorati Tags: <a href="http://technorati.com/tag/100+Best+Practices+to+Improve+performance+in+Java" rel="tag">100 Best Practices to Improve performance in Java</a>
<a href="http://technorati.com/tag/PJPerformance" rel="tag" />
<a href="http://technorati.com/tag/Blogs" rel="tag" />
<a href="http://technorati.com/tag/PuneJava" rel="tag" />
<a href="http://technorati.com/tag/PuneBloggers" rel="tag" />
<a href="http://technorati.com/tag/PuneBlogs" rel="tag" />
<a href="http://technorati.com/tag/Blogosphere" rel="tag" />
<a href="http://technorati.com/tag/Media" rel="tag" />
<a href="http://technorati.com/tag/Tip" rel="tag" />
<a href="http://technorati.com/tag/RSS" rel="tag" />
<a href="http://technorati.com/tag/Marketing" rel="tag" />
<a href="http://technorati.com/tag/News" rel="tag" />
<a href="http://technorati.com/tag/IndianGuru" rel="tag" />
<a href="http://technorati.com/tag/Blogging" rel="tag" />
<a href="http://technorati.com/tag/Internet" rel="tag" />
<a href="http://technorati.com/tag/Blog" rel="tag" />
<a href="http://technorati.com/tag/Java" rel="tag" />
<a href="http://technorati.com/tag/J2EE" rel="tag" />
<a href="http://technorati.com/tag/Technical+Support" rel="tag" />
<a href="http://technorati.com/tag/Free+Software" rel="tag" />
<a href="http://technorati.com/tag/Help" rel="tag" />
<a href="http://technorati.com/tag/Pune" rel="tag" />
<a href="http://technorati.com/tag/SatishTalim" rel="tag" />
<a href="http://technorati.com/tag/Satish+Talim" rel="tag" />
<a href="http://technorati.com/tag/Weblog" rel="tag" />
<a href="http://technorati.com/tag/Weblogs" rel="tag" />
<br />
<a href="http://technorati.com/search/punejava.blogspot.com%2F2005%2F09%2F100-best-practices-to-improve.html">Blogs linking to this article</a>
</span>
</small>
</div>
</div><p><div class="blogdisclaim"><a href="http://punejava.blogspot.com/2005/09/100-best-practices-to-improve.html">This post originally appeared on an external website</a></div>

Collapse -

2005 ONJava Reader Survey

by satish.talim In reply to PuneJava Blog

<div xmlns="http://www.w3.org/1999/xhtml">
<div style="font-family: arial, sans-serif; line-height:14px; font-size: 11px; text-align: justify;">
<b>
<a href="http://www.onjava.com/pub/a/onjava/2005/09/07/2005-onjava-survey-advancer.html">Announcing the 2005 ONJava Reader Survey</a>
</b> by Chris Adamson -- The 2005 ONJava Reader Survey is underway. This is your opportunity to steer the site by helping them understand what you use, what you're interested in, and where you think <b>Java</b> is going.<hr style="color:silver;" />
<span class="technoratitag">
<b>Technorati Tags: <a href="http://technorati.com/tag/2005+ONJava+Reader+Survey" rel="tag">2005 ONJava Reader Survey</a>
<a href="http://technorati.com/tag/PJNews" rel="tag" />
<a href="http://technorati.com/tag/Blogs" rel="tag" />
<a href="http://technorati.com/tag/PuneJava" rel="tag" />
<a href="http://technorati.com/tag/PuneBloggers" rel="tag" />
<a href="http://technorati.com/tag/PuneBlogs" rel="tag" />
<a href="http://technorati.com/tag/Blogosphere" rel="tag" />
<a href="http://technorati.com/tag/Media" rel="tag" />
<a href="http://technorati.com/tag/Tip" rel="tag" />
<a href="http://technorati.com/tag/RSS" rel="tag" />
<a href="http://technorati.com/tag/Marketing" rel="tag" />
<a href="http://technorati.com/tag/News" rel="tag" />
<a href="http://technorati.com/tag/IndianGuru" rel="tag" />
<a href="http://technorati.com/tag/Blogging" rel="tag" />
<a href="http://technorati.com/tag/Internet" rel="tag" />
<a href="http://technorati.com/tag/Blog" rel="tag" />
<a href="http://technorati.com/tag/Java" rel="tag" />
<a href="http://technorati.com/tag/J2EE" rel="tag" />
<a href="http://technorati.com/tag/Technical+Support" rel="tag" />
<a href="http://technorati.com/tag/Free+Software" rel="tag" />
<a href="http://technorati.com/tag/Help" rel="tag" />
<a href="http://technorati.com/tag/Pune" rel="tag" />
<a href="http://technorati.com/tag/SatishTalim" rel="tag" />
<a href="http://technorati.com/tag/Satish+Talim" rel="tag" />
<a href="http://technorati.com/tag/Weblog" rel="tag" />
<a href="http://technorati.com/tag/Weblogs" rel="tag" />
<br />
<a href="http://technorati.com/search/punejava.blogspot.com%2F2005%2F09%2F2005-onjava-reader-survey.html">Blogs linking to this article</a>
</b>
</span>
</div>
</div><p><div class="blogdisclaim"><a href="http://punejava.blogspot.com/2005/09/2005-onjava-reader-survey.html">This post originally appeared on an external website</a></div>

Collapse -

Enhanced for loop in J2SE 5.0

by satish.talim In reply to PuneJava Blog

<div xmlns="http://www.w3.org/1999/xhtml">
<div style="font-family: verdana, arial, sans-serif; line-height:12px; font-size: 11px; text-align: justify;">The <b>enhanced for</b> makes it easier to iterate over all the elements in an array or other kinds of collections. Look at this simple example:<pre class="javacode">public class EnFor<br />{<br /> public static void main(String[] args)<br /> {<br /> String[] cities =<br /> {"Pune", "Mumbai", "Bangalore", "Hyderabad"};<br />
<br /> for (String name : cities)<br /> {<br /> System.out.println(name);<br /> }<br /> }<br />}</pre>If we analyse the <em>for</em> code, then the following happens:<br />(a) a String variable called <em>name</em> is created and set to null. The variable that you declare must be compatible with the elements in the array.<br />(b) Next, the first value in the <em>cities</em> array is assigned to <em>name</em>.<br />(c) The body of the loop is executed.<br />(d) The next value in the <em>cities</em> array is assigned to <em>name</em>. Remember, with each iteration, a different element in the array will be assigned to <em>name</em>.<br />(e) This is repeated as long as there are elements in the array.<br />
<br />
<b>Note:</b> The <b>:</b> in the for, means "IN". Also, what follows the <b>:</b> must be a reference to an array or other collection.<hr style="color:silver;" />
<span class="technoratitag">
<b>Technorati Tags: <a href="http://technorati.com/tag/Enhanced+for+loop+in+J2SE+5.0" rel="tag">Enhanced for loop in J2SE 5.0</a>
<a href="http://technorati.com/tag/PJFundamentals" rel="tag" />
<a href="http://technorati.com/tag/Blogs" rel="tag" />
<a href="http://technorati.com/tag/PuneJava" rel="tag" />
<a href="http://technorati.com/tag/PuneBloggers" rel="tag" />
<a href="http://technorati.com/tag/PuneBlogs" rel="tag" />
<a href="http://technorati.com/tag/Blogosphere" rel="tag" />
<a href="http://technorati.com/tag/Media" rel="tag" />
<a href="http://technorati.com/tag/Tip" rel="tag" />
<a href="http://technorati.com/tag/RSS" rel="tag" />
<a href="http://technorati.com/tag/Marketing" rel="tag" />
<a href="http://technorati.com/tag/News" rel="tag" />
<a href="http://technorati.com/tag/IndianGuru" rel="tag" />
<a href="http://technorati.com/tag/Blogging" rel="tag" />
<a href="http://technorati.com/tag/Internet" rel="tag" />
<a href="http://technorati.com/tag/Blog" rel="tag" />
<a href="http://technorati.com/tag/Java" rel="tag" />
<a href="http://technorati.com/tag/J2EE" rel="tag" />
<a href="http://technorati.com/tag/J2SE" rel="tag" />
<a href="http://technorati.com/tag/Technical+Support" rel="tag" />
<a href="http://technorati.com/tag/Free+Software" rel="tag" />
<a href="http://technorati.com/tag/Help" rel="tag" />
<a href="http://technorati.com/tag/Pune" rel="tag" />
<a href="http://technorati.com/tag/SatishTalim" rel="tag" />
<a href="http://technorati.com/tag/Satish+Talim" rel="tag" />
<a href="http://technorati.com/tag/Weblog" rel="tag" />
<a href="http://technorati.com/tag/Weblogs" rel="tag" />
<br />
<a href="http://technorati.com/search/punejava.blogspot.com%2F2005%2F09%2Fenhanced-for-loop-in-j2se-50.html">Blogs linking to this article</a>
</b>
</span>
</div>
</div><p><div class="blogdisclaim"><a href="http://punejava.blogspot.com/2005/09/enhanced-for-loop-in-j2se-50.html">This post originally appeared on an external website</a></div>

Collapse -

Earn Money with Java from Home

by satish.talim In reply to PuneJava Blog

<div xmlns="http://www.w3.org/1999/xhtml">
<div style="font-family: verdana, arial, sans-serif; line-height:12px; font-size: 11px; text-align: justify;">Looking to earn some extra income, from the comfort of your home? <b>
<a href="http://www.rentacoder.com/RentACoder/SoftwareCoders/Help.asp?txtTitle=How+Does+It+Work+for+Coders%3F" target="_blank">RentACoder</a>
</b> helps you earn this extra income using your hard-won <b>Java</b> technical skills. It lets you locate and bid on coding projects and questions from around the world! By completing a free registration, you can publicize your skills on the online resume system and receive emails as new bid requests come in.<br />
<br />After you register, I suggest you read the <b>
<a href="http://www.rentacoder.com/RentACoder/SoftwareCoders/Articles/default.asp" target="_blank">Articles for Coders</a>
</b> to understand how things work at <b>RentACoder</b>.<br />
<br />
<hr style="color:silver;" />
<span class="technoratitag">
<b>Technorati Tags: <a href="http://technorati.com/tag/Earn+Money+with+Java+from+Home" rel="tag">Earn Money with Java from Home</a>, <a href="http://technorati.com/tag/RentACoder" rel="tag">RentACoder</a>
<a href="http://technorati.com/tag/PJResources" rel="tag" />
<a href="http://technorati.com/tag/Blogs" rel="tag" />
<a href="http://technorati.com/tag/PuneJava" rel="tag" />
<a href="http://technorati.com/tag/PuneBloggers" rel="tag" />
<a href="http://technorati.com/tag/PuneBlogs" rel="tag" />
<a href="http://technorati.com/tag/Blogosphere" rel="tag" />
<a href="http://technorati.com/tag/Media" rel="tag" />
<a href="http://technorati.com/tag/Tip" rel="tag" />
<a href="http://technorati.com/tag/RSS" rel="tag" />
<a href="http://technorati.com/tag/Marketing" rel="tag" />
<a href="http://technorati.com/tag/News" rel="tag" />
<a href="http://technorati.com/tag/IndianGuru" rel="tag" />
<a href="http://technorati.com/tag/Blogging" rel="tag" />
<a href="http://technorati.com/tag/Internet" rel="tag" />
<a href="http://technorati.com/tag/Blog" rel="tag" />
<a href="http://technorati.com/tag/Java" rel="tag" />
<a href="http://technorati.com/tag/J2EE" rel="tag" />
<a href="http://technorati.com/tag/J2SE" rel="tag" />
<a href="http://technorati.com/tag/Technical+Support" rel="tag" />
<a href="http://technorati.com/tag/Free+Software" rel="tag" />
<a href="http://technorati.com/tag/Help" rel="tag" />
<a href="http://technorati.com/tag/Pune" rel="tag" />
<a href="http://technorati.com/tag/SatishTalim" rel="tag" />
<a href="http://technorati.com/tag/Satish+Talim" rel="tag" />
<a href="http://technorati.com/tag/Weblog" rel="tag" />
<a href="http://technorati.com/tag/Weblogs" rel="tag" />
<br />
<a href="http://technorati.com/search/punejava.blogspot.com%2F2005%2F09%2Fearn-money-with-java-from-home.html">Blogs linking to this article</a>
</b>
</span>
</div>
</div><p><div class="blogdisclaim"><a href="http://punejava.blogspot.com/2005/09/earn-money-with-java-from-home.html">This post originally appeared on an external website</a></div>

Collapse -

Head First Blog

by satish.talim In reply to PuneJava Blog

<div xmlns="http://www.w3.org/1999/xhtml">
<div style="font-family: verdana, arial, sans-serif; line-height:12px; font-size: 11px; text-align: justify;">If you are an ardent fan of the 'Head First' series of <b>Java</b> books, then you will find <b>Kathy Sierra</b>, <b>Bert Bates</b> and <b>Eric Freeman's</b> blog <b>
<a href="http://headrush.typepad.com/creating_passionate_users/" target="_blank">Creating Passionate Users</a>
</b> a 'must read'. Do definitely read their blog entry <b>
<a href="http://headrush.typepad.com/creating_passionate_users/2005/08/sample_java_exa.html#comment-9335541" target="_blank">Sample Java Exam Questions</a>
</b> where you will find 11 mock exam questions from their upcoming update to their <b>SCJP</b> study guide (for the <b>Java</b> 5 version of the exam).<hr style="color:silver;" />
<span class="technoratitag">
<b>Technorati Tags: <a href="http://technorati.com/tag/Head+First+Blog" rel="tag">Head First Blog</a>
<a href="http://technorati.com/tag/PJResources" rel="tag" />
<a href="http://technorati.com/tag/Blogs" rel="tag" />
<a href="http://technorati.com/tag/PuneJava" rel="tag" />
<a href="http://technorati.com/tag/PuneBloggers" rel="tag" />
<a href="http://technorati.com/tag/PuneBlogs" rel="tag" />
<a href="http://technorati.com/tag/Blogosphere" rel="tag" />
<a href="http://technorati.com/tag/Media" rel="tag" />
<a href="http://technorati.com/tag/Tip" rel="tag" />
<a href="http://technorati.com/tag/RSS" rel="tag" />
<a href="http://technorati.com/tag/Marketing" rel="tag" />
<a href="http://technorati.com/tag/News" rel="tag" />
<a href="http://technorati.com/tag/IndianGuru" rel="tag" />
<a href="http://technorati.com/tag/Blogging" rel="tag" />
<a href="http://technorati.com/tag/Internet" rel="tag" />
<a href="http://technorati.com/tag/Blog" rel="tag" />
<a href="http://technorati.com/tag/Java" rel="tag" />
<a href="http://technorati.com/tag/J2EE" rel="tag" />
<a href="http://technorati.com/tag/J2SE" rel="tag" />
<a href="http://technorati.com/tag/Technical+Support" rel="tag" />
<a href="http://technorati.com/tag/Free+Software" rel="tag" />
<a href="http://technorati.com/tag/Help" rel="tag" />
<a href="http://technorati.com/tag/Pune" rel="tag" />
<a href="http://technorati.com/tag/SatishTalim" rel="tag" />
<a href="http://technorati.com/tag/Satish+Talim" rel="tag" />
<a href="http://technorati.com/tag/Weblog" rel="tag" />
<a href="http://technorati.com/tag/Weblogs" rel="tag" />
<br />
<a href="http://technorati.com/search/punejava.blogspot.com%2F2005%2F09%2Fhead-first-blog.html">Blogs linking to this article</a>
</b>
</span>
</div>
</div><p><div class="blogdisclaim"><a href="http://punejava.blogspot.com/2005/09/head-first-blog.html">This post originally appeared on an external website</a></div>

Collapse -

Head First Blog

by Dalicoder In reply to Head First Blog

<p>I had read a couple of chapters of their books online (exerpts from their site) and LOVED them!  I have purchased three of their books (Java, Design Patterns, and Servlets/JSPs).  I'm reading them all at the same time!  Great stuff!  Thanks for pointing out their blog.</p>
<p> </p>
<p>--Dave</p>

Collapse -

Static imports in J2SE 5.0

by satish.talim In reply to PuneJava Blog

<div xmlns="http://www.w3.org/1999/xhtml">
<div style="font-family: verdana, arial, sans-serif; line-height:12px; font-size: 11px; text-align: justify;">Do you hate to type <b>Java</b> code? Static imports helps you save some typing. If you are using a static class or a static variable, you can import them and save some typing. The simple example below, should clarify this concept: <pre class="javacode">import static java.lang.Math.*;<br />import static java.lang.System.out;<br />
<br />public class MyMath5<br />{<br /> public static void main(String[] args)<br /> {<br /> // returns a double between 0.0 thro' (but not<br /> // including) 1.0<br /> double r1 = random();<br /> int r2 = (int) (random() * 5);<br /> out.println("r1 = " + r1);<br /> out.println("r2 = " + r2);<br />
<br /> // Returns the absolute value of the argument<br /> int x = abs(-240);<br /> double d = abs(240.45);<br /> out.println("x = " + x);<br /> out.println("d = " + d);<br />
<br /> // Returns an int or long (depending on whether<br /> // the argument is foat or double)<br /> // rounded to the nearest integer value<br /> int p = round(-24.8f);<br /> long q = round(24.45);<br /> out.println("p = " + p);<br /> out.println("q = " + q);<br />
<br /> // Returns a value that is minimum of two values<br /> int c = min(243, 240);<br /> double dd = min(90876.5, 90876.49);<br /> out.println("c = " + c);<br /> out.println("dd = " + dd);<br />
<br /> // Returns a value that is maximum of two values<br /> int e = max(243, 240);<br /> double f = max(90876.5, 90876.49);<br /> out.println("e = " + e);<br /> out.println("f = " + f);<br /> }<br />}<br />
</pre>
<hr style="color:silver;" />
<span class="technoratitag">
<b>Technorati Tags: <a href="http://technorati.com/tag/Static+imports+in+J2SE 5.0" rel="tag">Static imports in J2SE 5.0</a>
<a href="http://technorati.com/tag/PJFundamentals" rel="tag" />
<a href="http://technorati.com/tag/Blogs" rel="tag" />
<a href="http://technorati.com/tag/PuneJava" rel="tag" />
<a href="http://technorati.com/tag/PuneBloggers" rel="tag" />
<a href="http://technorati.com/tag/PuneBlogs" rel="tag" />
<a href="http://technorati.com/tag/Blogosphere" rel="tag" />
<a href="http://technorati.com/tag/Media" rel="tag" />
<a href="http://technorati.com/tag/Tip" rel="tag" />
<a href="http://technorati.com/tag/RSS" rel="tag" />
<a href="http://technorati.com/tag/Marketing" rel="tag" />
<a href="http://technorati.com/tag/News" rel="tag" />
<a href="http://technorati.com/tag/IndianGuru" rel="tag" />
<a href="http://technorati.com/tag/Blogging" rel="tag" />
<a href="http://technorati.com/tag/Internet" rel="tag" />
<a href="http://technorati.com/tag/Blog" rel="tag" />
<a href="http://technorati.com/tag/Java" rel="tag" />
<a href="http://technorati.com/tag/J2EE" rel="tag" />
<a href="http://technorati.com/tag/J2SE" rel="tag" />
<a href="http://technorati.com/tag/Technical+Support" rel="tag" />
<a href="http://technorati.com/tag/Free+Software" rel="tag" />
<a href="http://technorati.com/tag/Help" rel="tag" />
<a href="http://technorati.com/tag/Pune" rel="tag" />
<a href="http://technorati.com/tag/SatishTalim" rel="tag" />
<a href="http://technorati.com/tag/Satish+Talim" rel="tag" />
<a href="http://technorati.com/tag/Weblog" rel="tag" />
<a href="http://technorati.com/tag/Weblogs" rel="tag" />
<br />
<a href="http://technorati.com/search/punejava.blogspot.com%2F2005%2F09%2Fstatic-imports-in-j2se-50.html">Blogs linking to this article</a>
</b>
</span>
</div>
</div><p><div class="blogdisclaim"><a href="http://punejava.blogspot.com/2005/09/static-imports-in-j2se-50.html">This post originally appeared on an external website</a></div>

Collapse -

Box with J2SE 5.0

by satish.talim In reply to PuneJava Blog

<div xmlns="http://www.w3.org/1999/xhtml">Wondering what Boxing's got to do with Java? And I didn't mean Laila Ali, the first woman to win a World Boxing Council title, either! You wouldn't like to mess with her, would you?

So, what is Boxing in Java? Boxing refers to the automatic conversion from a primitive to its corresponding wrapper type: Boolean, Byte, Short, Character, Integer, Long, Float or Double. Since this happens</div><p><div class="blogdisclaim"><a href="http://punejava.blogspot.com/2005/09/box-with-j2se-50.html">This post originally appeared on an external website</a></div>

Collapse -

J2EE Programming (with Passion!) Online Course

by satish.talim In reply to PuneJava Blog

<div xmlns="http://www.w3.org/1999/xhtml">If you have been waiting for an opportunity to learn J2EE in a structured way without shelling out a lot of money on books and classes, this might be just what you were looking for. Sun Microsystems employee Sang Shin in his spare time, offers this advanced J2EE class, for free.Technorati Tags: J2EE Programming (with Passion!) Online Course
Blogs linking to this article</div><p><div class="blogdisclaim"><a href="http://punejava.blogspot.com/2005/10/j2ee-programming-with-passion-online.html">This post originally appeared on an external website</a></div>

Collapse -

What is Spring

by satish.talim In reply to PuneJava Blog

<div xmlns="http://www.w3.org/1999/xhtml">What Is Spring, Part 2 by Justin Gehtland, Bruce A. Tate -- In part one of this two-part excerpt from Spring: A Developer's Notebook, authors Bruce Tate and Justin Gehtland showed you how to automate a simple application and enable it for Spring. Today, the authors will cover how to use Spring to help you develop a simple, clean, web-based user interface.Technorati Tags: Spring, What is</div><p><div class="blogdisclaim"><a href="http://punejava.blogspot.com/2005/10/what-is-spring.html">This post originally appeared on an external website</a></div>

Back to After Hours Forum
48 total posts (Page 1 of 5)   01 | 02 | 03 | 04 | 05   Next

Related Discussions

Related Forums