Servlets are programs that execute on the server side of a web connection. Servlets dynamically extend the functionality of a web server.
RMI stands for Remote Method Invocation. A program running on a computer some where on the Internet can invoke a method that is resident in a program running somewhere else on the internet. To make this happen several things need to be done and all of them are built into the java.rmi package.
Assume that ABC Ltd is an automobile sales part manufacturing company that has many branches across the world. The corporate office at New York maintains MSAccess database for the sales details of various products, stock with each branch, personnel details etc.
Java provides built in support for multithreaded programming. A Multithreaded program contains two or more parts that can run concurrently. Each part of such a program is called a Thread. Each thread defines a separate path of execution. Multithreading is a specialized form of Multitasking.
In any interactive environment, the program should be able to respond to actions performed by the user. There actions can be Mouse click, Key Press or selection of a Menu Item. When the user initiates an action, the AWT generates an event and communicates it to event handlers. These event handlers can respond to the […]
Files are storage spaces where information and data’s are kept. Without files we cannot do even the simplest of tasks in our day to day computing life. Every programming language have the capability to access these files in some or other way.
An exception is an abnormal condition which occurs during the running of a program. For example division by zero, invalid array index are the instances of exceptions. It’s better to anticipate such errors in advance and take necessary precautions while writing source code itself.
An Array is a similar data- type with similar values. In Java, arrays can only be of a single type like Integers, Strings, Float, Double and so on.
The scope of variables can be accessed by Access specifiers in Java. There are four levels of access specifiers in Java. They are Public, Private and Protected.
A Class is the basic concept in a Object Oriented Programming language. It’s the template for multiple objects with similar features.