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 ...
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 ...
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 ...
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 ...
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 – ...
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 ...
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 ...