What is Java? Why choose Java?

What is Java?

Java is a high-level programming language, developed by Sun Microsystems, initiated by James Gosling and released in 1995 as a core component of the Java platform of Sun Microsystems (Java 1.0 [J2SE]). Java runs on many different platforms, such as Windows, Mac and different versions of UNIX.

The latest version of Java Standard Edition is Java SE 8. With the advancement of Java and its widespread popularity, many configurations have been built to suit different types of platforms. Example: J2EE for enterprise applications, J2ME for mobile applications.

New J2 versions were renamed to Java SE, Java EE and Java ME. Java is guaranteed to be Write Once, Run Anywhere (write once, run everywhere).

Although Java and JavaScript seem to be interrelated, they are completely different languages, so don't be mistaken.

Characteristics of Java

  1. Object-oriented: In Java, everything is Object. Java can be expanded because it is based on the Object model.
  2. Independent platform: Unlike many other programming languages ​​(C, C ++), when Java is compiled, it does not compile to a specific computer on any platform, instead of independent code bytes with platform. This Byte code is distributed on the web and translated by the Virtual Machine (JVM) on any platform it is running.
  3. Simple: Java is designed to be easy to learn. If you basically understand the concept of Java object-oriented programming, it is possible to capture this language very quickly.
  4. Security: With Java's security features, it allows the development of systems without viruses and forgeries. Public encryption-based authentication techniques.
  5. Neutral architecture: Java compiler creates an object file format that has a neutral architecture, making the compiled code can run on multiple processors, with the presence of the Java runtime system.
  6. Portable: Being a neutral and independent architecture is the most important feature when talking about the Portable aspect of Java. The Java compiler is written in ANSI C with a neat portable boundary, which is a POSIX subset (flexible operating system interface). You can bring the Java code byte to any platform.
  7. Powerful: Java attempts to eliminate error-prone situations by emphasizing mainly compile-time error checking and runtime checking.
  8. Multithreading: With Java's multithreading feature, you can write programs that can perform multiple tasks simultaneously. This feature allows developers to build interactive applications that can run smoothly.
  9. Interpretation: Java's Byte code is translated directly to the original platform and it is not stored anywhere.
  10. High performance: Using Just-In-Time compiler, Java allows execution with high performance, fast detection and debugging.
  11. Distributed: Java is designed for the distributed environment of the Internet.
  12. Flexibility: Java is considered more dynamic than C or C ++ because it is designed to adapt to a growing environment. Java programs can carry a large amount of run-time information, which is used to verify and resolve access to objects at runtime.

What is Java? Why choose Java? Picture 1

Where is Java used?

You can find Java in many places, from e-commerce websites to Android applications, from scientific applications to financial applications like electronic trading systems, games like Minecrafr to applications. on computers like Eclipse, Netbeans, IntelliJ, .

Android application

If you want to see a product created from Java, it's simple, open up your Android phone and any application you see is such a product, written in the Java programming language, with Google's Android API, similar to JDK. With the development of Android today, most Java programmers are people who write apps for Android. Android uses different JVM and packaging methods, but the code is still written in Java.

Server applications used in financial services

In the financial services industry, Java occupies a large position. Many global investment banks such as Goldman Sachs, Citigroup, Barclays, Standard Charted and other banks use Java to write front office and back office electronic trading systems, write settlement and certification systems, and projects. Data processing, . Java is mainly used to write applications for servers, no front end, receive data from another server, process it and send to a subsequent process.

Web application

Java also has a large market share in e-commerce and web applications. There are many RESTfull services created using Spring MVC, Struts 2.0 and similar frameworks. Even simple web applications like Servlet, JSP and Struts are also very popular in various government projects. Many government, health, insurance, education, defense and other departments have web applications built in Java.

Software tools

Many useful software and development tools are written and deployed in Java, such as Eclipse, InetelliJ Idea and Netbans IDE. A lot of desktop software is also written in Java.

Big Data technology

Hadoop and other large data technologies are also using Java in one way or another. Apache of Java is based on HBase and Accumulo (open source), as is ElasticSearch. While Java is not a dominant player in this area, there are technologies like MongoDB written in C ++, but Java has the potential to gain growing market share if Hadoop or ElasticSearch is strong.

Scientific application

Java is often selected by default for scientific applications, including natural language processing. The main reason is because Java is more secure, portable, maintainable, and comes with high-level tools equivalent to C ++ or other programming languages.

In the 1990s, Java accounted for a large portion of the Internet thanks to Applet, but gradually, Applet lost popularity, mainly due to security issues on the sand-box model. Currently, Applets are almost "dead". Java has become the application programming language that many programmers love, widely used in application development, financial services, investment banking, e-commerce. Anyone who learns Java can have a bad future. Java 8 has continued to strengthen the belief that Java will dominate the field of software development in the coming years.

If you want to learn Java, save our Java category to start learning about this famous programming language.

The article compiles from Java Overview of Tutorialspoint.com and blog Javarevisited.blogspot.com.

See also: What is Python? Why choose Python?

4 ★ | 1 Vote

May be interested

  • How to Tune a Java Virtual Machine (JVM)How to Tune a Java Virtual Machine (JVM)
    the java virtual machine (jvm) runs your java programs. sometimes the default configuration that the jvm comes with may not be the most efficient for your program.
  • What is the difference between Go and Java?What is the difference between Go and Java?
    is golang better than java? is golang harder than java? can golang replace java? this comparison will give you the answer.
  • How to Fix JavaHow to Fix Java
    java is a computing platform that allows you to play games and view videos on your computer. you can tell that your computer is having problems with java if you see java errors appear when you try to run a program or visit a website that...
  • How to Compile a Java ProgramHow to Compile a Java Program
    this wikihow teaches you how to turn your java source code into an executable app using a local and online compiler. if you're using a computer, the most common way to compile java code is using java software development kit (java sdk)...
  • In the end, big universities realized that Java was a lousy language if used for introductory programmingIn the end, big universities realized that Java was a lousy language if used for introductory programming
    the decision to remove java is really smart, because any student who has studied java has found that this is the harshest language that i have to learn when i start. frankly, it was too terrible.
  • Oracle wants to turn Java EE into fully open sourceOracle wants to turn Java EE into fully open source
    this week, oracle announced plans to move java ee project management to an open source platform, like apache or eclipse.
  • Write and run Java code on the computer for the first timeWrite and run Java code on the computer for the first time
    after you've installed java and set up a path on your computer, you need to know how to run a simple java code on your computer. in this article, we will try to write the first java program, as well as the commands to run this program in cmd.
  • Download Java Runtime Environment 8-build-251Download Java Runtime Environment 8-build-251
    java runtime environment (jre) is a software class that provides the services needed to execute java applications. it is an essential component of the java development kit (jdk) and contains all the tools needed to run various java-based software programs.
  • How to Enable JavaHow to Enable Java
    java is a programming language and platform commonly used in a number of websites and applications. when java is not enabled, you can experience difficulty with viewing or using certain websites and applications. to use java, you must have...
  • 200 common Java interview questions, with reference answers200 common Java interview questions, with reference answers
    if you are going to a java interview, preparing for java programming language questions is necessary. these java interview questions are compiled from tutorialspoint and are accompanied by reference answers.