1. What is java?
Java is a platform for developing software applications with great position in the late 20th century and early 21st century. Marking the maturity of object-oriented programming model, it is considered a platform Revolutionary platform in the software industry. Virtual Machine virtual machine model has allowed applications written in Java to run on many different operating systems.
First appeared in 1992 as a language used within Sun Microsystems to build applications to control the processors inside cell phones, microwaves, consumer electronics. other uses. Not just a language, Java is also an application development and deployment platform in which the Java virtual machine and interpreter have a central role.
Sun, the company that invented the Java language, officially released Java Development Kit 1.0 in 1996 for free for developers to download, learn Java, build Java applications, and deploy. them on operating systems that support Java. Initially, Java was primarily used to develop applets, applications embedded in the browser, contributing to the dynamic static web pages that were very boring at the time. However, with the development of information technology and the needs of society, the Java applet has gradually lost its place and instead, Java-based companies and communities have developed it in a way. other direction Currently, Java technology is divided into three parts:
J2SE Includes Java kernel specifications, tools, and APIs for developing desktop applications and defining Java kernel components. J2EE Includes J2SE specifications, tools, and extensions to develop enterprise-scale applications, primarily to run on the server. The most frequently mentioned part of this technology is Servlet / JSP technology: using Java to make web applications. J2ME Includes extended specifications, tools, APIs for developing Java applications that run on mobile phones, smart cards, handheld devices, robos and other electronic applications.
Java has undergone three important development steps: Java 1.0 is tied to the first JDK, Java 2 is tied to JDK 1.2, and Java 5 is tied to J2SDK 1.5.
Today, when it comes to Java people no longer just refer to Java as a language, but to Java as a technology or a development platform. It includes parts:
1 2 3 4 5 | Máy ảo Java: JVM Bộ công cụ phát triển: J2SDK Các đặc tả chi tiết kĩ thuật (specifications) Ngôn ngữ lập trình (programming language) |
2. Application of Java
Today Java is used for the following purposes:
- 12Phát triển ứng dụng cho các thiết bị điện tử thông minh, các ứng dụng cho doanh nghiệp với quy mô lớn.
- 12Tạo các trang web có nội dung động (web applet), nâng cao chức năng của server.
- 12Phát triển nhiều loại ứng dụng khác nhau: Cơ sở dữ liệu, mạng, Internet, viễn thông, giải trí,...
3. The basic characteristics of Java
- 12Đơn giản và quen thuộc: Vì Java kế thừa trực tiếp từ C/C++ nên nó có những đặc điểm của ngôn ngữ này, Java đơn giản vì mặc dù dựa trên cơ sở C++ nhưng Sun đã cẩn thận lược bỏ các tính năng khó nhất của của C++ để làm cho ngôn ngữ này dễ sử dụng hơn.
- 12Hướng đối tượng và quen thuộc.
- 12Mạnh mẽ (thể hiện ở cơ chế tự động thu gom rác - Garbage Collection) và an toàn.
- 12Kiến trúc trung lập, độc lập nền tảng và có tính khả chuyển (Portability).
- 12Hiệu suất cao.
- 12Máy ảo (biên dịch và thông dịch).
- 12Phân tán.
- 12Đa nhiệm: Ngôn ngữ Java cho phép xâ dựng trình ứng dụng, trong đó nhiều quá trình có thể xảy ra đồng thời. Tính đa nhiệm cho phép các nhà lập trình có thể biên soạn phần mềm đáp ứng tốt hơn, tương tác tốt hơn và thực hiện theo thời gian thực.
- 12...
4. The basic platform of Java.
Java Platform consists of 3 main components:
1 2 3 4 | Java Virtual Machine (Java VM): Máy ảo Java. Java Application Programming Interface (Java API). Java Development Kit (JDK) gồm trình biên dịch, thông dịch, trợ giúp, soạn tài liệu... và các thư viện chuẩn. |
5. The standard of a typical Java environment
1 2 3 4 5 6 | Editor:Lập trình viên viết chương trình được lưu vào máy tính với định dạng .jav. Compiler:Biên dịch chương trình thành bytecodes( định dạng .class) Class Loader:Đọc file .class chứa mã bytecodes và được lưu trong bộ nhớ. Bytecode Verifier:Đảm bảo rằng mã bytecodes là hợp lệ và không vi phạm các vấn đề bảo mật của Java. Interpreter:Biên dịch bytecodes thành mã máy để máy tính có thể hiệu được và thực thì chowng trình. |
Above is my share, hope it will help you.