Why Java as a programming Language?
Java is a general-purpose, high-level programming language, which provides a powerful and full implementation software platform. It is an Object-Oriented Programming language where programs are developed revolving around the real world entities. In this model, programs are developed around objects rather than actions and logics. In Java, every real life object has properties and behavior, which is achieved through the class and object creation. They contains properties (variables of some type) and behavior (methods). Java provides a better flexibility and compatibility for developing large application.
How Java is different from other programming Language?
Java is a statically typed object-oriented language that uses syntax similar to C, but is not compatible with it. It was designed, with the goal of being easy to use for developer and accessible to wider spectators.
If we consider on other high-level programming languages such as C & C++, then these languages were widely used to write object oriented programming languages, however, these are not a platform independent and needed to be recompiled for each different CPUs. Today however, Time and speed are not really affected by the programming language but it is important that an application developed in any language must be supported on cross platforms (Windows, Linux, etc.). As we have discussed that Java is a platform independent language that is compatible for any operating system. The whole technology is based on the concept of Java Virtual Machine (JVM) that acts as a translators of byte code into machine language. In other words JVM converts the java byte codes into platform specific machine language. The Java automatic garbage collection mechanism helps in avoiding memory leaks and its coding takes less development time than other programming languages like C++.
How Java can be used to develop different types of applications?
Java offers different development tools that can be used in compiling, running, debugging and documenting the application, making the Java programming fun and easy. This technology has become a complete software ecological unit that represents different values to different types of consumer and business users. It offers developers a choice of three Java platform editions depending on the need:
Different Editions of Java Technology
a) Java SE - Java SE or Java Standard Edition provides tools and API's that you can use to create server applications, desktop applications, and even applets. These programs developed using Java SE can be run on almost every popular operating system, including Linux, Macintosh, Solaris, and Windows.
b) JEE - Based on the foundation framework of the standard edition, Java Enterprise Edition helps in web application service, component model and enterprise class service oriented architecture (SOA).
c) JME - Java Micro Edition or JME for short is an accumulation of Java APIs that are used for the development of software for devices like mobile phones, PDAs, TV set-top boxes, game programming. The platform of micro edition generally consists of an easy user interface, a robust security model and a wide variety of built-in networks for running Java based application.
Liked it! Share this Tutorial