Use dojo/keys For Key Press Events in DOJO

dojo-thumbnail

If you are working in JavaScript, getting the key press events is necessary to perform any user initiated operations. DOJO provides dojo/keys module to perform all the key events. dojo/keys module defines the constants for each type of key with the corresponding key code. This helps us to import this module and directly use it […]

Basics of Java Interface Usage

java

In this article we will see how to use Java interfaces correctly with with some examples. Using Java as Interfaces is often not used or wrongly used. This article demonstrates the practical uses of Interfaces in Java. First of all it is important to understand what is an interface? Let us create a “contract” where the […]

Working With dojo/dom-construct – DOM construction API in DOJO

dojo-thumbnail

In my previous article I have explained about searching through dom tree using dojo.query. That is very helpful for searching any node in the tree by passing the ID or CLASS names in method parameters. But, I have not explained about how to manipulate the DOM structure. This article focuses more on manipulating the dom […]

Setup Groovy enVironment Manager (GVM)

groovy

Groovy enVironment Manager (GVM) is a tool used for managing the multiple version of the software development kits in the Unix based systems. In the current version, it supports the groovy related development kits. Groovy software kits can be installed and configured using this tool. There is no setup available for the windows based systems. […]

Search DOM Tree using dojo.query

dojo-thumbnail

When working with DOM, it is always good for the developers to get access to the elements in the DOM tree by using the ID or any other handler. Using ID is the most common way of getting access to the specific element in the DOM structure. We have dom.byId method to get the element […]

WebSocket Support in Java EE 7

java

I am going to divide this post into following topics for ease of understanding to the readers: What is a WebSocket? JavaEE 7 Support for creating WebSocket end points Javascript support to create WebSocket client end point What is a WebSocket? It is a feature being introduced as part of the HTML5 specification. It introduces […]

Working with DOM in Javascript

javascript-thumbnail

In this article we will study about DOM, what are its characteristics and properties and in addition, we will see practical examples of how to use the DOM in JavaScript. The Document Object Model or simply DOM is used by web browser to represent your Web page . When this pattern is altered by the use of Javascript it also […]

Asynchronous Servlet – A new feature in Servlet 3.0 and Java EE 6

java-jee

When Java EE 6 was announced with a new servlet specification i.e Servlet 3.0 – Asynchronous servlet was a very important feature added to the new specification. Suppose your servlet does a long running task like making a JDBC call or invoking a web service, such operations generally take up a lot of CPU time […]

Introduction to Spring Boot

spring-boot

Spring is the most popular and innovative community for the Java developers. They have changed the way how to build the enterprise applications and how to manage them. In the recent announcement, they come up with another surprising project which is called as “Spring Boot“. They are claiming to be get rid of all the […]

Garbage Collection in Java

java

In this article we will cover the proper use of Garbage Collection. Let us learn how it works, and understand how to induce the Garbage Collection. The Garbage Collection is a tool coupled to the JVM, that performs cleanup of objects in memory (Read: static utility for objects) which are of no further use. Our application will constantly suffer […]