When to use RESTful Web Services

By: Ankush Gorav

A RESTful style is appropriate when   The web services are completely stateless. Each request from client to server must contain all the information necessary to understand the request, and cannot take advantage of any stored context on the server.  A caching infrastructure can be leverage for performance. A message sent using RESTful ...

What are RESTful Web Services

By: Ankush Gorav

REST is an architectural style which was brought in by Roy Fielding in 2000 in his doctoral thesis. Any software, technology adhering with the defination of REST would be considered as REST based. So, in the context of Web Services, RESTful Web Services are the one which supports REST concept. What are RESTFull ...

Difference between HashMap and HashSet

By: Ankush Gorav

  This is one of the most famous questions which interviewers consider in an interview. Before we actually see the differences, let me give you a brief description of both.   HashMap is the implementation of Map Interface, which maps a key to value. Duplicate keys are not allowed in a map.  The Following table summaries the chanrateristics ...

What are the core interfaces in the Collections Framework

By: Ankush Gorav

A collection allows a group of objects to be treated as a single unit. Java objects can be stored, retrieved, and manipulated as elements of collections. Here's the ready list of all the core collection interfaces available in Java with their brief description. Collection — It's the root of the collection hierarchy. A ...

Guide to the most useful Eclipse Shorcuts

By: Ankush Gorav

Eclipse is one of the best IDEs which developers use for their development tasks. It has provided the shortcuts to the most common actions that they perform. Here, I have listed the most useful shortcuts which result in faster development using the IDE. Enjoy :) Ease of Navigation – Eclipse Shortcuts CTRL SHIFT R – ...

A quick overview on Log4j Levels

By: Ankush Gorav

Most often we deal with logging in our projects and come across to different log levels but tend to forget the role and definition of each.  In this post I will refresh your memories by describing different levels of logging in log4j and their usage. Log4j has three main components: loggers, appenders and layouts. These three types of ...

What is Java Virtual Machine

By: Ankush Gorav

 It's a process which converts compiled JAVA byte code* to machine code. JVM is the cornerstone of the Java Platform and includes wide range of responsibilities- 1. Making JAVA the platform independent language. 2. Protects users from malicious programs. 3. Generate the compiled code which is smaller in size. *Byte code is an intermediary language ...

Video tutorials
Web Services
  • Web Services Part 1 (Concept)

    Introduction To Web Services

  • Web Services Part 2 (Concept)

    WSDL, UDDI