Creating Deployment Descriptor in a Dynamic Web Project

This article explains Creating Deployment Descriptor in a Dynamic Web Project in Eclipse JEE. Basically, a deployment descriptor is called web.xml and contains configuration information regarding a dynamic web application. However, when we create a dynamic web project in Eclipse IDE, the web.xml file is not available by default. Therefore, we need to create this …

Registering a Servlet in Deployment Descriptor

This article explains Registering a Servlet in Deployment Descriptor. Basically, registering a servlet in the deployment descriptor requires providing the <servlet> tag in the web.xml file. Also, within this tag, the <servlet-name>, and <servlet-class> tags specify the name of servlet and associated java class respectively. Additionally, we can also specify <init-parameter> tags to provide the …

Understanding Deployment Descriptor

Basically, a deployment descriptor refers to a configuration file in a web application. Whenever we create a J2EE application, it includes web components comprising of servlets and JSP files, For the purpose of managing the dynamic web application, we can create a web.xml file. In fact, the web.xml is our deployment descriptor. This web.xml file contains information …

How to Create Moving Balloons Project in Scratch 3.0

In this article, I will explain How to Create Moving Balloons Project in Scratch 3.0. Basically, the application demonstrates how to control the motion of a sprite using various types of block commands. Also, you can view this project here. The Steps Describing How to Create Moving Balloons Project in Scratch 3.0 At first, we need …

Cloning Sprites in Scratch 3.0

Basically, Cloning Sprites is an important activity that forms part of many Scratch games. This article explains cloning sprites until a condition is satisfied. Also, it explains how to delete a clone. The following project demonstrates cloning sprites. Command Blocks used in the Project The following command blocks are used in cloning sprites. At first, we use the event …

Block Commands in Scratch 3.0

In this article, I will explain Block Commands in Scratch 3.0. Basically, the block commands in Scratch represent the coding blocks. In fact, we have nine different categories of block commands. The following list shows these nine block commands. Motion Looks Sound Events Control Sensing Operators Variables My Blocks The following section describes each set …

Constructors in Kotlin

Basically, the constructors in Kotlin can be categorized as the Primary Constructor and the Secondary Constructors. In other words, a class in Kotlin can have a primary constructor and one or more secondary constructors. Creating Constructors in Kotlin While a class in Kotlin can have one primary constructor, it can include several secondary constructors. For the purpose of creating secondary constructors, …