Why Java? this was the popular question which comes out from the beginners mind. Well we are here to explain why actually a Java is used mostly with the other programming languages? and what does it do?
Why Java programming?
- Java is a programming software , a software is nothing but a set of instructions which tells the computer what to do and how to do it.
- Java is used to develop applications. Before there were many languages , among them C and C++ are the popular languages used to develop applications.
- Java is used to build different types of applications in different platforms.
- Applications are of different types : Standalone applications and Web based applications.
- Standalone applications are also called as desktop applications.
- Desktop applications are installed on a computer only , these applications are mostly uses the local resources which are available in the computer.
- Some of the desktop applications will connect to the internet for billing and other processing.
- Desktop applications are not globally shareable , they rely on the computer and they cannot be accessed by the other computers.
- For example : Restaurant POS and other software’s used to do some tasks in the computer itself.
- Java does all the desktop applications according to the requirements of the client.
Web Based Applications
- Web based applications are the programs that can be accessed by any user or the computer over the internet.or network.
- Java is mainly used to develop the web based applications which is now a modern developing interface.
- These web based applications are installed on a centralized web server and they are based on client-server architecture. where all can access these web applications from any computer or client.
- Web based applications are accessed through browsers.
- They are easy to maintain and easy to update remotely by sitting in any working place over a network.
- To develop any application one must use the basic Java programming interface which is Java standard edition (J2SE).
Java Programming Language Platforms
Java technology is both a programming language and the platform. A Java platform is a particular environment in which the Java programming language applications run. All the Java platforms consists of a Java virtual machine ( JVM ) and an application programming interface (API). Each platform consists of a Java virtual machine and an API.
- Java platform , Standard edition (Java SE)
- Java platform , Enterprise edition (Java EE)
- Java platform , Micro edition ( Java ME)
Java Standard Edition (Java SE)
- Java standard edition is the core of the Java programming language , in order to develop any application whether it a desktop application or web based application , Core Java is must.
- Java SE API provides the core functionality of the Java programming language.
- It defines everything from the basic types and objects of the Java programming language to high-level classes that are used developing applications and networking security database access , graphical user interface (GUI) and XML parsing.
- In addition to the core API , the Java SE platform consists of virtual machines , development tools , deployment technologies and other class libraries commonly used in developing applications.
- And we are learning Java SE in this course.
Java Enterprise Edition ( Java EE )
- The Java EE platform is built on Java SE platform.
- The Java EE platform provides an API and runtime environment for developing and running large scale multi tier , scalable , reliable and secure network applications.
- Mostly Java EE platform is used to develop web based applications.
Java Micro Edition ( Java ME )
- The Java ME platform provides an API and a small-footprint virtual machine for running Java programming language applications on small devices, like mobile phones.
- The API is a subset of the Java SE API, along with special class libraries useful for small device application development.
- Java ME applications are often clients of Java EE platform services
- JavaFX is a platform for creating rich internet applications using a lightweight user-interface API.
- JavaFX applications use hardware-accelerated graphics and media engines to take advantage of higher-performance clients and a modern look-and-feel as well as high-level APIs for connecting to networked data sources.
- JavaFX applications may be clients of Java EE platform services.