Introduction & History of Java

Introduction Java is the most popular programming language in the world today. Java offers three flavors of programming –  Java application, Java applets & Servlets. Java servlets are similar to applets programs except they execute on servers side. Servlets are Java programs answer to traditional CGI programming. Servlets are programs Read more…

 12,958 total views,  29 views today

RMI in Java

Introduction The RMI  stands for Remote Method Invocation. It is provided in the package java.rmi. Definition The RMI is an API that provides a mechanism to create distributed application in java. Java RMI is a mechanism that allows one Java Virtual Machine (JVM) running object to invoke methods on an object running on another JVM. Read more…

 15,386 total views,  29 views today

Java Beans

Introduction Definition Java Beans are reusable software component model which allow a great flexibility andaddition of features in the existing piece of software. A Java Bean is a reusable software component that can be visually manipulated in builder tools. Features Individual Java Beans varies in its functionality, but most  beans Read more…

 4,909 total views,  2 views today

Java Servlets

Definition Servlets are the Java programs that runs on the Java-enabled web server or application server. They are used to handle the request obtained from the web server, process the request, produce the response, then send response back to the web server.  A servlet is a class of Java programming language, used to extend Read more…

 1,777 total views

Operators in Java

Types of Operator Arithmetic Operators They are divided into two categories – Binary Arithmetic Operators and Unary Arithmetic Operators. Binary Arithmetic Operators – Binary operators are applied only on two operands. Binary operators are – +, -, *, /, % Unary Arithmetic Operators – Unary operators are applied only on Read more…

 621 total views,  1 views today

File Handling Examples

Example : Write a java program for writing/display output on console simply (or without using PrintWriter class). Example : Write a java program for writing/display output on console using PrintWriter class. Example : Write a java program for writing text in the file at specific location using PrintWriter class. Example Read more…

 8,353 total views,  1 views today

AWT GUI Examples

Example : An AWT GUI program in java to close the AWT window. Example : An AWT GUI program in java to show the mouse click location(coordinates point) value from the frame. Example : An AWT GUI program in java to create a button & text field and display button Read more…

 501 total views