<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Find Answers For ... - Recent questions tagged java</title>
<link>https://find4answers.com/tag/java</link>
<description>Powered by Question2Answer</description>
<item>
<title>What is thread join in java?</title>
<link>https://find4answers.com/484/what-is-thread-join-in-java</link>
<description>&lt;p&gt;
	&lt;strong&gt;Why we need to use thread join. Why it is necessary..&lt;/strong&gt;&lt;/p&gt;</description>
<category>Java/J2EE</category>
<guid isPermaLink="true">https://find4answers.com/484/what-is-thread-join-in-java</guid>
<pubDate>Sun, 17 Nov 2013 05:33:56 +0000</pubDate>
</item>
<item>
<title>How old would you be if you didn’t know how old you are?</title>
<link>https://find4answers.com/437/how-old-would-you-be-if-you-didnt-know-how-old-you-are</link>
<description>How old would you be if you didn’t know how old you are?</description>
<category>Shopping</category>
<guid isPermaLink="true">https://find4answers.com/437/how-old-would-you-be-if-you-didnt-know-how-old-you-are</guid>
<pubDate>Wed, 06 Nov 2013 03:38:05 +0000</pubDate>
</item>
<item>
<title>How to know if a field is null or zero, since resultset.getLong() or getInt() method always returns zero</title>
<link>https://find4answers.com/351/field-since-resultset-getlong-getint-method-always-returns</link>
<description>&lt;p&gt;
	I have a field called site_visitors in a table whose data type is number.&lt;/p&gt;
&lt;p&gt;
	When i try to retrieve using below query, it returns zero though the field is empty.&lt;/p&gt;
&lt;blockquote&gt;
	&lt;p&gt;
		Long siteVisitors=rs.getLong(&quot;site_visitors&quot;);&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
	if I print,&lt;/p&gt;
&lt;blockquote&gt;
	&lt;p&gt;
		System.out.println(&quot;siteVisitors:&quot;+siteVisitors)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
	Outputs always 0.&lt;/p&gt;
&lt;p&gt;
	My question, how to know if siteVisitors is empty or zero in table ?&lt;/p&gt;</description>
<category>Java/J2EE</category>
<guid isPermaLink="true">https://find4answers.com/351/field-since-resultset-getlong-getint-method-always-returns</guid>
<pubDate>Wed, 07 Aug 2013 06:50:30 +0000</pubDate>
</item>
<item>
<title>Getting error &quot;Dangling meta character &#039;?&#039; near index 0 ? ^&quot; when i run my java program</title>
<link>https://find4answers.com/190/getting-error-dangling-meta-character-near-index-when-program</link>
<description>&lt;p&gt;
	Did you ever see the error message like this when you run your script&lt;br&gt;
	&lt;br&gt;
	&quot;&lt;strong&gt;Dangling meta character &#039;?&#039; near index 0&amp;nbsp;?&amp;nbsp;^&lt;/strong&gt;&quot;&lt;/p&gt;
&lt;p&gt;
	I am getting the above error, if anybody faced this and resolved earlier, please let me know how to fix this issue.&lt;/p&gt;</description>
<category>Java/J2EE</category>
<guid isPermaLink="true">https://find4answers.com/190/getting-error-dangling-meta-character-near-index-when-program</guid>
<pubDate>Tue, 27 Nov 2012 06:22:26 +0000</pubDate>
</item>
<item>
<title>can we change the logging level of log4j at runtime?</title>
<link>https://find4answers.com/83/can-we-change-the-logging-level-of-log4j-at-runtime</link>
<description>&lt;div class=&quot;post-text&quot;&gt;
	&lt;p&gt;
		i have an issue, i want to change the logging level of log4j at runtime, i have tried many things with log4j.properties file, i have also tried to written a code which after particular time again reads the properties file and again configure the logger.&lt;/p&gt;
	&lt;p&gt;
		but the problem is, i want to change the logging level to DEBUG for one API call, and then when that call is completed, the logger should again change to the previous value..&lt;/p&gt;
	&lt;p&gt;
		please help..&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Java/J2EE</category>
<guid isPermaLink="true">https://find4answers.com/83/can-we-change-the-logging-level-of-log4j-at-runtime</guid>
<pubDate>Wed, 18 Jul 2012 09:50:08 +0000</pubDate>
</item>
<item>
<title>HashMap vs Hashtable</title>
<link>https://find4answers.com/64/hashmap-vs-hashtable</link>
<description>&lt;pre&gt;
what is the difference between 
HashMap vs Hashtable Which is best to Use&lt;/pre&gt;</description>
<category>Java/J2EE</category>
<guid isPermaLink="true">https://find4answers.com/64/hashmap-vs-hashtable</guid>
<pubDate>Fri, 27 Apr 2012 08:35:06 +0000</pubDate>
</item>
<item>
<title>User authentication on a Jersey REST service</title>
<link>https://find4answers.com/59/user-authentication-on-a-jersey-rest-service</link>
<description>&lt;p&gt;
	I am currently developing a REST application, which is using the Jersey framework. I would like to know a way that I can control user authentication. I have search a lot of places, and the closest article I have found is this: &lt;a href=&quot;http://weblogs.java.net/blog/2008/03/07/authentication-jersey&quot; rel=&quot;nofollow&quot;&gt;http://weblogs.java.net/blog/2008/03/07/authentication-jersey&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
	However this article can only be used whith a GlassFish server and a attached database. Is there anyway that I can implement an interface in Jersey and use it as a filter before reaching the requested REST resource?&lt;/p&gt;
&lt;p&gt;
	I want to use basic authentication right now, but it should be flexible enough such that I can change that at a later time.&lt;/p&gt;
&lt;p&gt;
	Thanks in Advance Stefan.&lt;/p&gt;</description>
<category>Java/J2EE</category>
<guid isPermaLink="true">https://find4answers.com/59/user-authentication-on-a-jersey-rest-service</guid>
<pubDate>Fri, 06 Jan 2012 05:46:16 +0000</pubDate>
</item>
<item>
<title>What is stored on Stack and Heap ?</title>
<link>https://find4answers.com/7/what-is-stored-on-stack-and-heap</link>
<description>Hi all,&lt;br /&gt;
&lt;br /&gt;
Can anyone tell me what is stored on a stack and what is stored on a heap in a Java program?&lt;br /&gt;
&lt;br /&gt;
Thanks.</description>
<category>Programming</category>
<guid isPermaLink="true">https://find4answers.com/7/what-is-stored-on-stack-and-heap</guid>
<pubDate>Sat, 12 Nov 2011 17:05:29 +0000</pubDate>
</item>
</channel>
</rss>