Java Benefits:
- Write once, run everywhere
- Secure memory management and access mechanisms
- Hotspot Code detection and runtime compilation and optimization
- Complete Application Interface
- Countless third-party class libraries, etc.
Broadly speaking, languages and related programs that can run on Java virtual machines are part of the Java technology architecture.
In the traditional sense, Sun's defined Java technology system includes:
-
Java programming language
-
Java virtual machines on a variety of hardware platforms
-
class file format
-
Java API Class Library
-
Third-party Java class libraries from business and open source communities
?
JDK is the smallest environment to support Java Development , including Java programming language, Java Virtual machine and Java API Class library three parts
JRE is a standard environment that supports Java operations , including Java SE APIs and Java virtual machines in Java APIs
What is contained in the Java Technology Architecture 1
Back to the top of the mainstream JVM
- Sun HotSpot VMS
- BEA Jrocket VM
- IBM J9 VMS
Back to top Java technology future
Modular
- Java SE Dynamic Component support (dynamic Component supports for Java se), OSGi
- OpenJDK's Jigsaw sub-project drives Java modularity
Mixed language
The virtual machine is not bound to any language, including Java, and it is associated with only the class file. As a result, a class file compiled by any language can be accepted as long as the Java Virtual Machine specification is met.
The scripting language currently running on the JVM Top5:groovy,jruby,scala,fantom,jython
Multi-core parallelism
The Java.util.concurrent package introduced by JDK1.5 implements a coarse-grained concurrency framework, and the java.util.concurrent.forkjoin of JDK1.7 is an important extension of this framework.
OpenJDK Sub-project Sumatra provides Java language level API support with GPU and APU computing power
Hadoop, Scala, Clojure, etc.
Further enrichment of the grammar
- Syntax for auto-boxing, generics, dynamic annotations, enumerations, variable-length parameters, traversal loops, and more
- OpenJDK sub-item coin used to collect processing Java syntax details modifications
64-bit virtual machine
64-bit virtual machines have a pointer expansion and various data type alignment problems with respect to 32 bits, consuming an additional 10%-30% more memory. JDK 1.6 provides-xx:+usercompressedoops for normal object pointer compression. But there is no doubt that the mainstream virtual machine will eventually grow to 64 bits.
Java Technology System