7 Performance Tuning Tips in Java

7 Performance Tuning Tips in Java: Before start doing performance tuning/optimizations, first use any profiler to identify the areas for optimizations using profilers   Few Java Profilers: yourkit jProfiler Java Flight Recorder Eclipse Test & Performance Tools Platform Project   1. Use available data structures or algorithms: If you want to convert list to set or vice versa, instead of

» Read more

EMI Calculator using JSP, Servlet and Bootstrap

EMI Calculator using JSP, Servlet and Bootstrap: Designing a responsive website reduces the startups to invest separately on android and ios apps. Here we are writting a very simple web application for emi calculator using JSP, Servlet and bootstrap. We used bootstrap in this to integrate responsiveness with JSP pages.     Requirement: Download bootstrap CSS and JS files from

» Read more

Clone Shallow copy vs Deep Copy in Java With Examples

Clone Shallow copy vs Deep Copy in Java With Examples: Clone() method in java used for object duplication. We do not have any method/way other than clone() to make object duplication. Assignment operator(=) will assign the same reference, but it will not duplicate the objects. In java clone() is divided into two types namely shallow copy and deep copy.  

» Read more

Analyse your site SEO with OnPage.org Focus

Analyse your site SEO with onpage.org

Analyse¬†your site SEO with OnPage.org Focus: Recently I came across a tool/site named onPage.org Focus for best SEO practises and techniques. They will provide a lot of information’s about your site and important factors need to be considered for best SEO practices.   What is OnPage.org ? OnPage.org is a site/tool which provides a complete details about website’s SEO/optimization and

» Read more

All Types of Variables in Java

All Types of Variables in Java: In Java we have different names for variable types such as class variable, static variable, member variable, block variable, instance variable & local variable. Sometimes we will get the confusion between these variables.   All Types of Variables in Java:   Member Variable Class Variable Static Variable Instance Variable Block Variable Local Variable  

» Read more

Multiple Field Sorting using Comparator

Multiple Field Sorting using Comparator: Comparator is an interface used to perform custom sorting in java. Comparator can also be used to perform multiple field/sequences sorting in java. Inorder to use comparator to perform custom sorting, We need to create a class with Comparator interface implementation, then we need to override and provide the custom sorting logics in the compare(Object

» Read more

All Date Type Conversions in Java with Examples

All Date Type Conversions in Java with Examples: This article “All Date Type Conversions in Java with Examples” we are writing to help people to quickly find the data type conversions in java with examples. Few of the below conversions are many times asked in interviews also. So bookmark and read often to store it in your mind.   Array

» Read more

Array sorting in Java using Comparable Interface

Array sorting in Java using Comparator Interface Array can be sorted in ascending and descending order using, Arrays.sort() method. By Implementing Comparator interface. Find the example array sorting programs below. With Comparator Interface Array sorting Example: ArraySorting.java Java File with integer array and Called ArrayReverseOrder and ArrayAscendingOrder comparable implemented classes to perform descending and ascending array sorting respectively. package in.javadomain;

» Read more
1 2 3 44