Web Service clients

In this article, we will discuss various ways to test web services whether it is developed using SOAP or REST approach   Generally, in development environment whenever we develop web … Continue Reading →


Interview question on ModelAndView and DispatcherServlet in Spring MVC

In this articles, we will understand few tricky situation in Spring MVC i.e.; Returning null for ModelAndView object Configuring multiple DispatcherServlet in web.xml   Case 1: Returning NULL for ModelAndView … Continue Reading →


REST v/s SOAP

In this article, we will compare between REST and SOAP web services in detail Before diving into detail for comparison, quickly go through below articles for different types of web … Continue Reading →


Java: String indexOf() method

In this article, we will discuss different variants of index of methods to get first occurrence of character/substring using String’s indexOf() method   indexOf() method: This String method is used to … Continue Reading →


Java: String hashCode() method

In this article, we will discuss how to get hash code for any string using String’s hashCode() method   hashCode() method: This String method is used to get hash code … Continue Reading →


Java: String getChars() method

In this article, we will discuss how to convert String into character array using String’s getChars() method   getChars(int srcBegin, int srcEnd, char dst[], int dstBegin) method: This String method … Continue Reading →


Java: String getBytes() method

In this article, we will discuss couple of variant methods of String to convert/encode the string into equivalent byte array   getBytes() method: This String method is used to convert … Continue Reading →


Java: String format(String format, Object… args) method

In this article, we will discuss formatting a string using String’s format() method   format(String format, Object… args) method: This String method is used to format a string using supplied … Continue Reading →


ArrayList v/s LinkedList

In this article, we will discuss difference between ArrayList and LinkedList classes in detail   Also, we will list few pointers with regards to below operations Adding or storing of … Continue Reading →


Java: String equalsIgnoreCase(Object anObject) method

In this article, we will discuss string comparison using String’s equalsIgnoreCase() method, which ignores case differences while comparing 2 string contents   equalsIgnoreCase(Object anObject) method: This String method is used … Continue Reading →


Java: String equals(Object anObject) method

In this article, we will discuss string comparison using String’s equals() method   equals(Object anObject) method: This String method is used to perform string comparison Note: This String comparison is … Continue Reading →


Java: String endsWith(String suffix) method

In this article, we will discuss how to test whether a string ends with particular character sequence (another string or suffix) using String’s endsWith() method   endsWith(String suffix) method: This … Continue Reading →


Page 1 of 2212345...1020...Last »