Understanding Enterprise Java Beans

In this article on Understanding Enterprise Java Beans, I will explain the concept of Enterprise Java Beans and their role in building a Java Enterprise application. Basically, an Java Enterprise application that makes use of Java EE technology happens to be a multi-tier application. Further, the enterprise-level applications must be scalable and robust. Often these …

Java Servlet Practice Questions

The following Java Servlet Practice Questions contain the programming problems in Java Servlet Technology. Basically, servlets are Java programs. Further, servlets execute on Java-enabled web servers. For example, we can use the Apache Tomcat server. In fact, servlet technology provides us with a way to create dynamic web applications. Actually, Servlet technology consists of an …

Parameterized Constructor Example in Java

This article demonstrates Parameterized Constructor Example in Java. At first, we describe constructors in a class. Role of Constructor in a Class Since a class contains insance variables that each object of the class has its own copy, so it also needs a mechanism to initialize those instance variable. Indeed, a constructor provides such mechanism …

Sorting in Ascending Order in Java

This article demonstrates Sorting in Ascending Order in Java. In fact, array sorting is used in nearly every kind of computer application. It is an important algorithm that we must implement efficiently. Moreover, we can implement sorting in many ways. According, several kinds of sorting algorithms exist. For instance, we have bubble sort, insertion sort, …

Working with Classes and Objects in Java

This article describes Working with Classes and Objects in Java. Basically, class is a user-defined type. While an object is a real-world entity. Further, an object has attributes and also has a behavior. Since Java is an object-oriented language, a Java program comprises one or more classes containing certain members. Syntax of Creating a Class …