Google+ Java Geek Zone

Tuesday, 3 November 2015

On 04:06 by Unknown in ,    No comments
Plugin Name Description Update URL Website EclEmma EclEmma is a free Java code coverage tool for Eclipse PMD PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports Java, JavaScript,...

Wednesday, 28 October 2015

On 07:01 by Unknown in , , , ,    2 comments
We all know in java ArrayList does not have limit unlike Array where we can only add fixed number of elements. ArrayList allows dynamically adding and removing the elements in this list. So question comes HOW? By default initial capacity of an array is defined with constant DEFAULT_CAPACITY private...

Monday, 26 October 2015

On 06:03 by Unknown in , , ,    No comments
In most of the interviews of Java, We are often checked with the in depth knowledge of Collection APIs and its capabilities. One of the very famous interview questions is: Why Set does not allow duplicate value? Now, don’t tell me you were also asked the same We all know Set theory in mathematics that all elements in Set are always unique. The same has been applied to the Set API. Let’s try to...

Friday, 23 October 2015

On 08:27 by Unknown in , , ,    No comments
Below are few Eclipse shortcuts which can make your life easier/faster to work with it. 1. Manage Files and Projects Ctrl+N Create new project using the Wizard Ctrl+Alt+N Create new project, file, class, etc. Alt+f, then . Open project, file, etc. Ctrl+Shift+R Open Resource (file, folder or project) Alt+Enter Show and access...
On 01:42 by Unknown in , , ,    No comments
Often we write the code and import the classes in the import section of the class file. Code never stays unchanged for lifetime as change is the only constant thing in programming. Many times, after code refactoring or bug fixed, Eclipse IDE will show a yellow underline for all unused imports...

Friday, 1 August 2014

On 03:49 by Unknown in , ,    1 comment
Hi Friends, Are you facing issue in Eclipse while searting tomcat in debugging mode? Some times Eclipse tries to start tomcat in debugging mode and it gives below mentioned error message. “Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires...
On 03:34 by Unknown in , ,    1 comment
If your code is using Servlet.getRealPath() and Weblogic Server[WLS] returns null . You might be thinking that it's one more weblogic server bug but it's not a bug. It depends on how you deploy your application. If the application was deployed using exploded mode, getRealPath returns occured, valid...