Super Global Variables in Php

Introduction The concept of Super global variables was introduced in/after PHP 4.1.0. The superglobal variables are also known as Global Variables/Automatic Globals. Definition Super global variables are pre-defined, built-in variables & are of global scopes and hence always accessible from any function, class, file, etc. Features These variables can be used Read more…

Loading

Preprocessor Directives & Macro in C

Difference between Preprocessor Directives and Macro Preprocessor Directives Introduction The C pre-processor is not part of the compiler but is a separate step in the compilation process. The syntax of the pre-processor is different from the syntax of the rest of the C program in several respects. Definition Preprocessor directives Read more…

Loading

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…

Loading

Java Servlets Examples

Example: A Servelets program to print a message. Example: A Servelets program to print user-accepted data from a Form. Example: A Servelet program to handle form submissions and displays the submitted data on the web page. Example: A Servelets program to print user-accepted data from a Form/web page. Example: A Read more…

Loading

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…

Loading

Java Beans

Introduction JavaBeans is developed by Sun Microsystems and released in 1996, as part of JDK 1.1. The meaning of ‘beans’ in JavaBeans are classes that encapsulate one or more objects into a single standardized object (called the bean, here Bean is class and seeds of bean are objects). This bean finally allows easier code reuse Read more…

Loading

Java Servlets

Definition Servlets are Java programs that run 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 a response back to the web server.  A servlet is a class of Java programming language, used Read more…

Loading