Basic Introduction on Java
- swetha goud
- Jul 8, 2019
- 0 comment(s)
What is JAVA?
Java is a simple and yet powerful object oriented programming language and it is in many respects similar to C++. Java originated at Sun Microsystems, Inc. in 1991. It was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank, and Mike Sheridan at Sun Microsystems, Inc. It was developed to provide a platform-independent programming language. Java was created at Sun Microsystems, Inc., where James Gosling led a team of researchers in an effort to create a new language that would allow consumer electronic devices to communicate with each other. Work on the language began in 1991, and before long the team’s focus changed to a new niche, the World Wide Web. Java was first released in 1995, and Java’s ability to provide interactivity and multimedia showed that it was particularly well suited for the Web.
The difference between the way Java and other programming languages worked was revolutionary. The code in other languages is first translated by a compiler into instructions for a specific type of computer. The Java compiler instead turns code into something called Bytecode, which is then interpreted by a software called the Java Runtime Environment (JRE), or the Java virtual machine. The JRE acts as a virtual computer that interprets Bytecode and translates it for the host computer. Because of this, Java code can be written the same way for many platforms (“write once, run anywhere”), which helped lead to its popularity for use on the Internet, where many different types of computers may retrieve the same Web page.
By the late 1990s, Java had brought multimedia to the Internet and started to grow beyond the Web, powering consumer devices (such as cellular telephones), retail and financial computers, and even the on-board computer of NASA’s Mars exploration rovers. Because of this popularity, Sun created different varieties of Java for different purposes, including Java SE for home computers, Java ME for embedded devices, and Java EE for Internet servers and supercomputers. In 2010 the Oracle Corporation took over the management of Java when it acquired Sun Microsystems.
However, Java had gained a strong foothold in desktop application development and became the language of choice for enterprise backend development.
Managed memory and desktop
The rise of Java desktop was logical in retrospect. Development of big applications had always relied (and still relies) on statically typed languages to such an extent that the term “dynamically typed language” is often conflated with the concept of “scripting language” and reserved for casual, small-scale, or fast-turnaround development.
Java’s strongest competitors for desktop development at the time were C++ and Delphi, yet Java was the only language in the game with memory safety and automatic garbage collection. This proved to be crucial for developer productivity, especially for the event-based style of UI that was prevalent at the time. Java programs were less error-prone to write in large teams. All kinds of reference and array-related failures in Java programs were universally easier to identify and to troubleshoot. These safety features of Java are not free in terms of CPU and memory consumption, yet it is not a show-stopper, but a gift for big desktop applications.
Java is easy to learn.
Java is an object oriented programming languages which allows you to create modular programs and reusable codes.
Java is robust http://languages.It provides the powerful exception handling. Java puts a lot of emphasis on early checking for easy errors.
Java is platform Home - independent L. is one of the most significant advantages, easily move to one computer to another computer.
Java language compiler, interpreter, run time environment then one of the first programming languages to consider security as part of its design.
Java supports variable size arrays and good standard language and syntax.
· Recent security vulnerabilities reported.
· Performance and garbage collector is slow.
· Slower and more memory intensive than natively compiled languages like c and c++.
· Java apps running in Java runtime is slow when compared to another programming framework such as Dotnet framework.
· Desktop GUI Applications: Java provides GUI development through various means like Abstract Windowing Toolkit (AWT), Swing and JavaFX. ...
· Mobile Applications: ...
· Embedded Systems: ...
· Web Applications: ...
· Web Servers and Application Servers: ...
· Enterprise Applications: ...
· Scientific Applications:
We have explored the practicality of doing parallel computing in Java, and of providing Java interfaces to High Performance Computing software. Java sits on a virtual machine model significantly different from the hardware-oriented model that C or Fortran exploit directly. Java discourages or prevents direct access to some of the fundamental resources of the underlying hardware.
In many respects, Java is undoubtedly a better language than Fortran. It is object-oriented and highly dynamic, and there is every reason to suppose that such features will be as valuable in scientific computing as in any other programming discipline. But to displace established scientific programming languages Java will probably have to acquire some of the facilities taken for granted in those languages.
Author: Bharani G R
About Author: Bharani, A progressive Corporate trainer is known for mixing the latest training techniques with methods that have strong track records. Apart from training and workshops, Bharani has hands-on experience in Software field where she has worked on JAVA, Python, HTML and CSS and tools like Selenium, Appium, Cucumber, Android Studio, ADB, Appium studio, etc.
She was awarded as the Best Trainer for Selenium from Lignite Technologies Ltd. Bharani G R, Automation lead of SkillRary has been supporting and motivating students for the placement and excel towards their career.