Java Basics – TFY University

The Frustrated Youth > Blogs > Programming > Core JAVA > Java Basics – TFY University

Java Basics – TFY University

Java is a  Technology and It has two things

  • Programming Language
  • Platforms

There are four Java Platforms

  1. Java Platform – Standard Edition (Java SE)
  2. Java Platform – Enterprise Edition (Java EE)
  3. Java Platform – Micro Edition (Java ME)
  4. Java Platform – FX (Java FX)

Java History

1995 – JAVA   ->   J2SE   ->   Java SE (2005)

                              J2EE   ->   Java EE (2000)

                              J2ME  ->   Java ME (2000)

                                          ->   Java FX (2008)

Java is called a programming Language because Java is used to write programs.

Platform : It can be a software or hardware environment in which program runs.

Demo.c (Unicode)                                                                    Demo.java (Unicode)

Compiler                                                                                    Compiler

Demo.exe (Bit Code)                                                                 Demo.class

Windows                                               Windows JVM            Linux JVM            Solaris JVM

Output                                                       Windows                    Linux                   Solaris

.                                                                   Output                    Output                   Output

 

Java is platform independent because programs written in Java language can be executed in any platform

Java virtual machine is not platform independent because windows JVM is specific to windows , Linux JVM is specific to Linux, Solaris JVM is specifc to solaris.

Java is a Platform because Java programs runs only under Java Software or environment.

Java programming language is used to develop both application and services.

Application:-

Application is a program in which we interact with the Desktop

e.g- Notepad, IE, Calculator etc

There are 2 types of Application

  • Stand alone Application
  • Distributed Application

Stand alone Application:-

An application that runs on only one system is called stand alone application.

e.g – MS office, IE, notepad

There are two types of Stand alone Application.

  • Console Application
  • Windows Application

Console Application:-

Console Application is one type of application in which we interact with keyboard only.

All console applications are Character User Interface.

CUI supports only characters.

e.g – CMD, Sql prompt, Notepad

Windows Application:-

Windows application is one type of application in which we interact with keyboard and mouse.

Windows applications are Graphical User Interface (GUI).

GUI supports characters,graphics,animation,audio,video etc.

e.g – MS word, Excel etc

Distributed Application:-

An application that runs on 2 or more systems is distributed Application

e.g – Google,Yahoo

Types of Distributed Application:-

  • Web Application
  • Enterprise Application

Web Application:-

A web application is a distributed application which runs on web browser and web server.

Types of web application:-

  • Static Web Application
  • Dynamic Web Application

Static Web Application:-

A web application which is already prepared and placed in server is static web application.

Static web application are common to all users.

Web server sends the program to web browser whenever request comes to static web application.

Static web application resides in server and runs in browser.

Static web application can be developed by using HTML, CSS, Java script.

 

Dynamic Web Application:-

A web application which is prepared dynamically whenever request comes is dynamic web application.

Dynamic web application is specific to user.

The web server executes the program and sends the output to browser whenver request comes to a dynamic web application.

A dynamic web application resides in server and runs in server only.

Dynamic web application can be developed using servlets, JSP, CGI, ASP

Enterprise Application:-

An enterprise application is a distributed application that performs business functions

e.g- ATM banking, Railway reservation, Ticket booking

Services:-

A service is a process and a process is an instance of executable program.

Types of Services:-

  • Windows Services
  • Web Services

Windows Services:-

A windows service is a service used by windows application to run under operating system.

Web Services:-

An web service is used by web application to run under web browser and web server.

Platforms:-

Java SE:- IIt is an widely used Java platform for developing console application ,windows application and static web application

Java EE:- It is a widely used Java platform for developing dynamic web application ,enterprise application and services.

Java ME:-It is a Java platform designed to develop embedded system application.

Java FX:- It is a Java platform designed to develop rich internet applications (which contains more graphics).

 

 

 

 

 

 

 

 

Leave a Reply

Your email address will not be published.

error: Content is protected !!