SL IX Computer App Introduction To Java
SL IX Computer App Introduction To Java
2 Introduction to Java
Java gained popularity after the internet started having dynamic web pages added with user
interactivity.
There are four types of program that can be developed using the Java technology.
1. Applets (API) : Applets are small programs that remain embedded in a Web page and
runs on the user’s machine in secured manner by Java compatible browsers.
2. Stand alone applications : It does not depend on Browser it requires only JVM to run.
A stand-alone Java application refers to a Java program that can run independently on
a computer.
3. Servlets :
4. Enterprise Java Beans (EJB)
Apart from OOP features java has its own features which makes it very popular programming
language:
1. Simple : ava is very easy to learn, and its syntax is simple, clean and easy to
understand. Java has removed many complicated and rarely-used features, for
example, explicit pointers, operator overloading, etc.
3. Secure Language : Java is best known for its security. With Java, we can
develop virus-free systems. Java is secured because:
No explicit pointer, Java Programs run inside a virtual machine sandbox
6. Portable : Java is portable because it facilitates you to carry the Java bytecode to any
platform. It doesn't require any implementation.
Bytes codes are converted source codes using UNICODE (2 byte coding system) by JAVA
compiler.
Java Comes along with its own set of Compiler and Interpreter.
In the Java compilation process the source code is first converted in byte code which is
platform independent which means it can be executed on any machine and then the byte code
is converted into locally executable machine code by the Java Interpreter ( JVM )