Blogspot - javarevisited.blogspot.com
General Information:
Latest News:
3 CDN URL to load jQuery into Web Page from Google, Microsoft 22 Aug 2013 | 05:56 pm
jQuery is one of the most popular and powerful JavaScript library, but in order to use it, you need to load into your webpage using standard HTML <script> tag. Based on whether your webpage is public ...
Why use SL4J over Log4J for logging in Java 20 Aug 2013 | 05:59 pm
Every Java programmers knows that logging is critical for any Java application, especially server side application, and many of them are already familiar with various logging libraries e.g. java.util....
How to Sort List in reverse Order in Java Collection Framework with Example 16 Aug 2013 | 06:37 pm
Java Collection Framework provides a convenient reverse comparator, to sort List of objects in reverse order. You can obtain reverse Comparator, by calling Collections.reverseOrder(), which by defaul...
How to fix java.net.SocketException: Too many files open Error in Tomcat, Weblogic Server 14 Aug 2013 | 07:13 pm
Not many Java programmers knows that socket connections are treated like files and they use file descriptor, which is a limited resource. Different operating system has different limits on number of f...
SQL Query to find all table names on database in MySQL and SQL Server Examples 14 Aug 2013 | 05:41 pm
How do you find names of all tables in a database is a recent SQL interview questions asked to one of my friend. There are many ways to find all table names form any database like MySQL and SQL Serve...
Why Swing is not thread-safe in Java? Event Dispatcher thread, SwingWorker, Multithreading and Best Practices 12 Aug 2013 | 07:18 pm
Couple of my reader ask question, what does it mean by Swing is not thread-safe and How does it affect coding in Swing GUI application? This post is an effort to help those readers and several other p...
How to parse String to Float in Java | Convert Float to String in Java - 3 Examples 10 Aug 2013 | 06:23 pm
float and double are two data type which is used to store floating point values in Java and we often need to convert String to float in Java and sometime even a Float object or float primitive to Stri...
Difference between ON HOLD and ON ICE jobs in Autosys - Interview Question 8 Aug 2013 | 08:46 pm
Autosys is job management and scheduling tool and widely used in Investment banks on UNIX or Linux based environment. Autosys is used to start Java process, takes backup of log files, stop Java proces...
Difference between SubStr vs SubString method in JavaScript - Tutorial Example 6 Aug 2013 | 08:30 pm
JavaScript provides two similar looking String manipulation function, substr and substring, though both are used to get substring from an String, there is a subtle difference between substring and sub...
Difference between Clustered Index and Non Clustered Index in SQL Server - Database Interview Question 5 Aug 2013 | 08:16 pm
In SQL Server database there are mainly two types of indexes, Clustered index and Non Clustered index, and difference between Clustered and Non Clustered index is very important from SQL performance ...