<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.javaworld.com/community" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Core Java</title>
 <link>http://www.javaworld.com/community/corejava</link>
 <description>For developers using Java Standard Edition.</description>
 <language>en</language>
<item>
 <title>Exception in thread &quot;main&quot; java.lang.IndexOutOfBoundsException:</title>
 <link>http://www.javaworld.com/community/node/13304</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;import java.io.*;&lt;br /&gt;
import java.util.ArrayList;&lt;br /&gt;
import java.util.*;&lt;br /&gt;
import java.io.IOException;&lt;br /&gt;
import java.lang.*;&lt;br /&gt;
import java.io.RandomAccessFile;&lt;/p&gt;
&lt;p&gt;public class ArrayListClass {&lt;/p&gt;
&lt;p&gt;    public static void main(String[] args) {&lt;/p&gt;
&lt;p&gt;     ArrayList integerArrayList = new ArrayList();&lt;br /&gt;
     ArrayList integerArrayList2 = new ArrayList();&lt;br /&gt;
     ArrayList integerArrayList3 = new ArrayList();&lt;br /&gt;
     ArrayList byteArrayList = new ArrayList(); &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/13304&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2582">Exception in thread</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Thu, 07 Mar 2013 16:16:43 -0500</pubDate>
 <dc:creator>John00000000</dc:creator>
 <guid isPermaLink="false">13304 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>How to use Emma code coverage in jdk1.7?</title>
 <link>http://www.javaworld.com/community/node/12041</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Recently i moved jdk1.6 to jdk1.7.Emma code coverage tool working fine in jdk1.6.but It did not working in jdk1.7.It throws following error.&lt;/p&gt;
&lt;p&gt;emma:&lt;br /&gt;
[emmajava] EMMA: no coverage data collected at runtime [all reports will be empty]&lt;br /&gt;
[emmajava] [EMMA v2.0, build 5312]&lt;br /&gt;
[emmajava] emmarun: [MAIN_METHOD_NOT_FOUND] application class does not have a runnable public main() method&lt;br /&gt;
[emmajava] Exception in thread &quot;main&quot; com.vladium.emma.EMMARuntimeException: [MAIN_METHOD_NOT_FOUND] application class does not have a runnable public main() method &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/12041&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/826">Java Platform APIs</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Thu, 14 Feb 2013 04:06:54 -0500</pubDate>
 <dc:creator>ILLA</dc:creator>
 <guid isPermaLink="false">12041 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Server Side Developers</title>
 <link>http://www.javaworld.com/community/node/11456</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Lately I have been seeing several of my clients look for Java Developers that have &quot;Server-Side/Core Java&quot; development experience.  I was under the impression that meant they wanted people who have worked with Servlets and JSP.  Apparently I was wrong.  Can someone out there school me a little on what I should be looking for in someone that has server side development expertise?  Thanks!  Dominic&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Wed, 13 Feb 2013 15:35:25 -0500</pubDate>
 <dc:creator>dmottilloMDT</dc:creator>
 <guid isPermaLink="false">11456 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Why logger as singleton</title>
 <link>http://www.javaworld.com/community/node/8656</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Could there be any issue other than performance if my logger is not singleton.&lt;br /&gt;
In case of cahce objects it makes sense to have it as singleton as we may need to refresh the cache at times but why should we have logger as singleton.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/825">Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/856">Design Techniques</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Thu, 31 Jan 2013 02:36:03 -0500</pubDate>
 <dc:creator>JavaLearner</dc:creator>
 <guid isPermaLink="false">8656 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Times 5 Calculator </title>
 <link>http://www.javaworld.com/community/node/8650</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;This Is my first program and is basic and I know that I hope you still it.&lt;br /&gt;
My Bio: I am 12 and love to develop and have ben doing different langues off and on for the past 4 years or so.&lt;/p&gt;
&lt;p&gt;Download:http://www.mediafire.com/?03b9jdl902vjy4f&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/824">Client-side Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/881">Current stuff</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2480">program</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Thu, 24 Jan 2013 06:01:41 -0500</pubDate>
 <dc:creator>ThomasFike</dc:creator>
 <guid isPermaLink="false">8650 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>AJAX in jsp with Database</title>
 <link>http://www.javaworld.com/community/node/8644</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;hi friends,&lt;br /&gt;
   I am doing project in jsp with database. in my jsp page one textbox is there. when ever use enter the customer name it will display the related names like autocomplete textbox (like google search bar). in this i want use ajax .  but its wondering i donot know how to use i referred number of websites. plz..... help me some body. i have &quot;ajaxanywhere.jar file&quot;. but i donot know how to use plz.... provide solution with ajaxanywhere.jar file or any another way.&lt;/p&gt;
&lt;p&gt;thanks in advance&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/882">Community Update</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/494">jsp</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Sun, 20 Jan 2013 09:00:46 -0500</pubDate>
 <dc:creator>g9848921789@gmail.com</dc:creator>
 <guid isPermaLink="false">8644 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>How to write a automation code in Java ?</title>
 <link>http://www.javaworld.com/community/node/8617</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;I have been writing a automation code for testing the API provided by company. Initially, there were few number of APIs but when our features and enhancement grows, API also grows. &lt;/p&gt;
&lt;p&gt;Now my automation code looks complex and messy. I need to revamp my automation.&lt;/p&gt;
&lt;p&gt;Brief intro to my automation: &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/8617&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/856">Design Techniques</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/836">Enterprise Best Practices</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/831">Java and XML</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/884">Java Tip</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/861">Java Tips</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/846">Software Development Methodologies</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/855">Testing and Debugging</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Mon, 07 Jan 2013 09:01:16 -0500</pubDate>
 <dc:creator>iKrrish</dc:creator>
 <guid isPermaLink="false">8617 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Objects and reference variables of different types</title>
 <link>http://www.javaworld.com/community/node/8578</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;//for example only&lt;br /&gt;class A&lt;br /&gt;{}&lt;br /&gt;class B extends A&lt;br /&gt;{&lt;br /&gt; public static void main (String [] args)&lt;br /&gt; { &lt;br /&gt;&amp;nbsp; A a1 = new A(); &lt;br /&gt;&amp;nbsp; A a2 = new B();&amp;nbsp; //my doubt lies here&lt;br /&gt;&amp;nbsp; System.out.println(a1);&lt;br /&gt;&amp;nbsp; System.out.println(a2);&lt;br /&gt; }&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;When it is declared as &quot;A a1 = new A();&quot;, object is created to class A and &#039;a1&#039; refers to the newly created object. &lt;/p&gt;
&lt;p&gt;But, when it is declared as &quot;A a2 = new B();&quot;, what does it imply? I am confused why should a class B object be referred by reference variable of A ? &lt;/p&gt;
&lt;p&gt;I request to help me making this concept clear, please.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2462">java beginner</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2464">objects</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2463">reference variables</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Wed, 12 Dec 2012 23:54:47 -0500</pubDate>
 <dc:creator>vabbs</dc:creator>
 <guid isPermaLink="false">8578 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Printing date in java, format : 21st November 2012</title>
 <link>http://www.javaworld.com/community/node/8538</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;You are required to write a Java class, called Date, that can be used to represent dates.&lt;br /&gt;
The date object should be represented as three integers for day, month and year. The year must be stored in full, example, 2004 and not 04.&lt;br /&gt;
Provide appropriate constructors, get() and set() methods for day, month, year.  getYear() should return the year in full ( 1998, 2004 etc. ) and getMonth() should return a String representing the name of the month. Finally, you should provide a toString() method that returns a String representation of the date in full, for example,&lt;br /&gt;
22nd December, 1999 &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/8538&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/discussion&quot; class=&quot;og_links&quot;&gt;Community Discussion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/881">Current stuff</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/825">Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/856">Design Techniques</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/826">Java Platform APIs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/865">JavaWorld Archives</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/828">Swing/GUI Programming</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/827">Threads/Concurrency</category>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <pubDate>Mon, 26 Nov 2012 13:14:21 -0500</pubDate>
 <dc:creator>ganesh_rdy</dc:creator>
 <guid isPermaLink="false">8538 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Any good resources for the Java concurrency API?</title>
 <link>http://www.javaworld.com/community/node/8472</link>
 <description>&lt;!--paging_filter--&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/801">concurrency</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1218">threads</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/827">Threads/Concurrency</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Tue, 02 Oct 2012 10:29:13 -0400</pubDate>
 <dc:creator>ganapathy.c</dc:creator>
 <guid isPermaLink="false">8472 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Error 500: java.lang.NullPointerException</title>
 <link>http://www.javaworld.com/community/node/8435</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hello I am working on this servlet, it is a Context.java servlet in the /lib folder of my project, which I inherited from another developer. We have been making a lot of changes to the .xsl and .xml, however, it appears to be throwing an exception right here:&lt;/p&gt;
&lt;p&gt;void getDisplayLifeReviewForHome() {&lt;br /&gt;
    	System.err.println (&quot;Can&#039;t Find Display Life Review for Home !!! &quot; );&lt;/p&gt;
&lt;p&gt;	}&lt;/p&gt;
&lt;p&gt;    void getDisplayLifeReviewForUser() {&lt;br /&gt;
    	System.err.println (&quot;Can&#039;t Find Display Life Review for User !!! &quot; );&lt;/p&gt;
&lt;p&gt;	} &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/8435&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/discussion&quot; class=&quot;og_links&quot;&gt;Community Discussion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/856">Design Techniques</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/858">Java 101</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/831">Java and XML</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/859">Java Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/839">Java IDEs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/861">Java Tips</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/862">Java Traps</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1607">NullPointerException</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/846">Software Development Methodologies</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/864">Under the Hood</category>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <pubDate>Wed, 15 Aug 2012 14:30:56 -0400</pubDate>
 <dc:creator>midani</dc:creator>
 <guid isPermaLink="false">8435 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>JAVA insert chinese character</title>
 <link>http://www.javaworld.com/community/node/8428</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;When I use below statement to insert chinese character.  It is store &#039;????&#039; into database.  &lt;/p&gt;
&lt;p&gt;try{&lt;br /&gt;
 		ps=conn.prepareStatement(&quot;insert into Arn_Web_LabourRpt_Details &quot; +&lt;br /&gt;
 		&quot; (RequestId, InsLineNo, Description, Location, OrderNo, LabourNo, JobDate,&quot; +&lt;br /&gt;
	        &quot; Leader, ReportNo, Product, OK, Rejected, MDNo, Address, PerferenceLabour, ActualLabour, ConfirmationStatus,&quot; +&lt;br /&gt;
                &quot; LastUpdateDate,LastModify,ProjectName) &quot; +&lt;br /&gt;
                &quot; values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,getdate(),?,?)&quot;);&lt;br /&gt;
ps.setInt(1,RequestId);&lt;br /&gt;
ps.setInt(2, this.getInsLineNo()); &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/8428&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Sun, 05 Aug 2012 21:44:05 -0400</pubDate>
 <dc:creator>snufkin</dc:creator>
 <guid isPermaLink="false">8428 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>error in execution of class</title>
 <link>http://www.javaworld.com/community/node/8427</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;The syntax of class execution is :&lt;br /&gt;
java classname&lt;br /&gt;
why there is an error when I execute class with its extension i.e.&lt;br /&gt;
java classname.class&lt;br /&gt;
error- no main class found&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Tue, 31 Jul 2012 15:26:23 -0400</pubDate>
 <dc:creator>kk</dc:creator>
 <guid isPermaLink="false">8427 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>why only dynamic allocation?</title>
 <link>http://www.javaworld.com/community/node/8426</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Java has evolved from c++.C++ has got both dynamic and static memory allocation i.e. objects can be made without using new keyword in c++.My query is why static object creation removed in java and only oject creation using new is there?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Tue, 31 Jul 2012 15:22:18 -0400</pubDate>
 <dc:creator>kk</dc:creator>
 <guid isPermaLink="false">8426 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Singleton Design Pattern. All flavours explained.</title>
 <link>http://www.javaworld.com/community/node/8425</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi!&lt;br /&gt;
This design pattern is used for controlling the number of instances of a class (to one in general). This is maybe the first, the most used and the easiest design pattern out there. &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/8425&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/824">Client-side Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/825">Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/856">Design Techniques</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/859">Java Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/861">Java Tips</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/827">Threads/Concurrency</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Sun, 29 Jul 2012 09:18:22 -0400</pubDate>
 <dc:creator>CentralAdvisor</dc:creator>
 <guid isPermaLink="false">8425 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Print Excel File using Printer</title>
 <link>http://www.javaworld.com/community/node/8414</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi,&lt;br /&gt;
  I am in tricky situation. I need to print an excel without open that file.&lt;br /&gt;
How to achieve this. &lt;/p&gt;
&lt;p&gt;by,&lt;br /&gt;
Manikandan.S&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Tue, 26 Jun 2012 01:40:14 -0400</pubDate>
 <dc:creator>S.Manikandan</dc:creator>
 <guid isPermaLink="false">8414 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>At commands</title>
 <link>http://www.javaworld.com/community/node/8409</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;can we make a code in core java for usb data transfer in which At commands is also using??&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Tue, 12 Jun 2012 14:10:53 -0400</pubDate>
 <dc:creator>diksha</dc:creator>
 <guid isPermaLink="false">8409 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Creating a new PrintService  with IP address of the Printer</title>
 <link>http://www.javaworld.com/community/node/8403</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Generally a PrintService will be looked up like in the below snippet &lt;/p&gt;
&lt;p&gt;PrintService defaultPrintService = PrintServiceLookup.lookupDefaultPrintService();&lt;br /&gt;
DocPrintJob printerJob = defaultPrintService.createPrintJob();&lt;/p&gt;
&lt;p&gt;But is there a way to create a new PrintService by specifying the ip address of the printer &lt;/p&gt;
&lt;p&gt;for eg: &lt;/p&gt;
&lt;p&gt;String myPrinter = &quot;10.101.111.11\\Eighth Floor Ricoh Printer&quot;; &lt;/p&gt;
&lt;p&gt;PrintService myPrntSrvc = create a service with myPrinter&lt;/p&gt;
&lt;p&gt;printJob.setPrintService(myPrntSrvc);&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/enterprise&quot; class=&quot;og_links&quot;&gt;Enterprise Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/830">Enterprise Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2426">PrintService</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <pubDate>Tue, 05 Jun 2012 07:27:50 -0400</pubDate>
 <dc:creator>joancloud</dc:creator>
 <guid isPermaLink="false">8403 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Saving JFrame to Image File</title>
 <link>http://www.javaworld.com/community/node/8401</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I would like to save an (invisible) JFrame into an image file (jpeg).In other words, I only want to save the drawing to an image file without displaying it to the users.&lt;/p&gt;
&lt;p&gt;I tried:&lt;/p&gt;
&lt;p&gt;BufferedImage image = new BufferedImage(frame.getWidth(), frame.getHeight(),&lt;br /&gt;
               BufferedImage.TYPE_INT_RGB);&lt;br /&gt;
Graphics2D graphics2D = image.createGraphics();&lt;br /&gt;
frame.panel.paint(graphics2D);&lt;br /&gt;
ImageIO.write(image,&quot;png&quot;, new File(&quot;image.png&quot;));&lt;/p&gt;
&lt;p&gt;But this only works with a visible frame (frame.setVisible(true))&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;br /&gt;
Thanks a lot.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Wed, 30 May 2012 16:54:36 -0400</pubDate>
 <dc:creator>compumaster</dc:creator>
 <guid isPermaLink="false">8401 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Array of Char&#039;s</title>
 <link>http://www.javaworld.com/community/node/8395</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi All,&lt;br /&gt;
I am having difficulty to understand the difference between:&lt;/p&gt;
&lt;p&gt;char [] myOriginalArray = {&#039;a&#039;, &#039;b&#039;, &#039;c&#039;, &#039;d&#039;, &#039;e&#039;, &#039;f&#039;, &#039;g&#039;, &#039;h&#039;, &#039;i&#039;};&lt;br /&gt;
and&lt;/p&gt;
&lt;p&gt;char [] myOriginalArray;&lt;/p&gt;
&lt;p&gt;       myOriginalArray = {&#039;a&#039;, &#039;b&#039;, &#039;c&#039;, &#039;d&#039;, &#039;e&#039;, &#039;f&#039;, &#039;g&#039;, &#039;h&#039;, &#039;i&#039;};&lt;/p&gt;
&lt;p&gt;Why eclipse wont compile the second but will compile the first one.........&lt;br /&gt;
both are exactly the same to me.&lt;br /&gt;
any thought????&lt;/p&gt;
&lt;p&gt;Tariq&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2425">Array of Char&amp;#039;s</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Thu, 24 May 2012 09:04:10 -0400</pubDate>
 <dc:creator>tariq</dc:creator>
 <guid isPermaLink="false">8395 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Email validation</title>
 <link>http://www.javaworld.com/community/node/8378</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;Can anyone guide in working on this project.When a user creates an email on a website,it should redirect to  his/her email id for validation.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Sabitha&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2417">Email A/c validation</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Fri, 04 May 2012 14:11:57 -0400</pubDate>
 <dc:creator>sabitha</dc:creator>
 <guid isPermaLink="false">8378 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Touch on dynamically generated images</title>
 <link>http://www.javaworld.com/community/node/8377</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I have dynamically created a grid of 8x8 image views . Now how can i handle the touch events on it. Though i am able to handle the touch on more than one image view when made from XIB but here when i dynamically created those image view, touch is not working on it. &lt;/p&gt;
&lt;p&gt;Please help me in this.&lt;br /&gt;
Waiting for the reply.&lt;br /&gt;
&lt;a href=&quot;http://www.mobilecoolrooms.com&quot; title=&quot;http://www.mobilecoolrooms.com&quot; rel=&quot;nofollow&quot;&gt;http://www.mobilecoolrooms.com&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/825">Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/856">Design Techniques</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2416">mobile coolroom hire</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2415">mobile coolrooms</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Fri, 04 May 2012 03:00:12 -0400</pubDate>
 <dc:creator>razib_mahamud</dc:creator>
 <guid isPermaLink="false">8377 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Can someone help us with getting Google Page Ranks.</title>
 <link>http://www.javaworld.com/community/node/8369</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Can someone help us with getting Google Page Ranks.&lt;/p&gt;
&lt;p&gt;We use to run code to get a few thousand Google Page Ranks each day.&lt;/p&gt;
&lt;p&gt;But now Google stops our application by asking us to input the image code, trying to make sure we are not a bot.&lt;/p&gt;
&lt;p&gt;We know other companies are still collecting Google Page Rank but we can&#039;t get ours working.&lt;/p&gt;
&lt;p&gt;Can someone show us the way to read the image?&lt;/p&gt;
&lt;p&gt;Or suggest a work around so we can once again collect our Google Page Ranks?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Billy&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/881">Current stuff</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2412">Java Google</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Fri, 13 Apr 2012 17:51:39 -0400</pubDate>
 <dc:creator>petersonlee.cc@gmail.com</dc:creator>
 <guid isPermaLink="false">8369 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Design class structure</title>
 <link>http://www.javaworld.com/community/node/8366</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi,&lt;br /&gt;
  I have less experience in java designing. In one of the interviews I have been asked a question which is like ,Design/provide a java solution for the expression &#039;(a+b)*(a-b)-c&#039; ?&lt;/p&gt;
&lt;p&gt;I went explaining that we could create classes like Operators,Operands and Expression and saying that the class Expression would be having Operators and Operands and child expression.&lt;/p&gt;
&lt;p&gt;Any suggestion how to visualize the real time problem in terms of java.For example for the above question whether to make the class abstract/or have an interface and so on?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/825">Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Thu, 05 Apr 2012 22:00:47 -0400</pubDate>
 <dc:creator>javaworld-user1</dc:creator>
 <guid isPermaLink="false">8366 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Interfaces</title>
 <link>http://www.javaworld.com/community/node/8365</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;What is the an Interface in java?&lt;br /&gt;
What is the best way to understand an Interface in Java?&lt;/p&gt;
&lt;p&gt;Input From all the members are welcome.............&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/discussion&quot; class=&quot;og_links&quot;&gt;Community Discussion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2411">Java Basics</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <pubDate>Thu, 05 Apr 2012 14:13:55 -0400</pubDate>
 <dc:creator>tariq</dc:creator>
 <guid isPermaLink="false">8365 at http://www.javaworld.com/community</guid>
</item>
</channel>
</rss>
