the java technology_【译】About the Java Technology

About the Java Technology

Java technology is both a programming language and a platform.

The Java Programming Language

The Java programming language is a high-level(高级) language that can be characterized by(以…为特点) all of the following buzzwords(流行语):

Simple

Object oriented

Distributed (分布式的)

Multithreaded

Dynamic

Architecture neutral(。。。)

Portable(便捷的)

High performance (高性能)

Robust (健壮的)

Secure

Each of the preceding buzzwords(前面的流行语) is explained in The Java Language Environment , a white paper written by James Gosling and Henry McGilton.

In the Java programming language, all source code is first written in plain text(纯文本) files ending with the .java extension. Those source files are then compiled into .class files by the javac compiler. A .class file does not contain code that is native to(源于) your processor; it instead contains bytecodes — the machine language of the Java Virtual Machinejava launcher tool(启动程序工具) then runs your application with an instance of(一个实例) the Java Virtual Machine.

642b9a614f3922edc3e0f0c833d49639.gif

An overview of(概况) the software development process.

Because the Java VM is available on many different operating systems, the same .class files are capable of(有能力做) running on Microsoft Windows, the Solaris™ Operating System (Solaris OS), Linux, or Mac OS. Some virtual machines, such as the Java SE HotSpot at a Glance, perform(执行) additional steps at runtime to give your application a performance boost(性能提升). This includes various tasks such as finding performance bottlenecks(性能瓶颈) and recompiling (to native code) frequently used(常用的) sections of code(部分代码).

a533664e62e73d3af95b088f82e6564d.gif

Through the Java VM, the same application is capable of(有…能力) running on multiple platforms.

The Java Platform

A platform is the hardware or software environment in which a program runs. We've already mentioned some of the most popular platforms like Microsoft Windows, Linux, Solaris OS, and Mac OS. Most platforms can be described as a combination of(…的组合) the operating system and underlying hardware(底层硬件). The Java platform differs from most other platforms in that it's a software-only(纯软件) platform that runs on top of other hardware-based(基于硬件的) platforms.

The Java platform has two components:

The Java Virtual Machine

The Java Application Programming Interface (API)

You've already been introduced to the Java Virtual Machine; it's the base for(…的基础) the Java platform and is ported onto(移植到) various hardware-based platforms.

The API is a large collection of ready-made(现成的) software components that provide many useful capabilities(功能). It is grouped into(分成) libraries of related classes(相关类库) and interfaces; these libraries are known as packages. The next section, What Can Java Technology Do? highlights some of the functionality provided by the API.

ba06d9403f7631878aba6a596680c28a.gif

The API and Java Virtual Machine insulate(隔离) the program from the underlying hardware.

As a platform-independent(独立于平台) environment, the Java platform can be a bit slower(有一点慢) than native code. However, advances(进步) in compiler and virtual machine technologies are bringing performance close to(接近于) that of native code without threatening portability(危险的移植性).

How Will Java Technology Change My Life?

How Will Java Technology Change My Life? We can't promise you fame, fortune, or even a job if you le ...

What Can Java Technology Do?

What Can Java Technology Do? The general-purpose(多用途的), high-level Java programming language is a po ...

译:4.RabbitMQ Java Client 之 Routing(路由)

在上篇博文 译:3.RabbitMQ 之Publish/Subscribe(发布和订阅)  我们构建了一个简单的日志系统 我们能够向许多接收者广播日志消息. 在本篇博文中,我们将为其添加一个功能 - ...

译:5.RabbitMQ Java Client 之 Topics (主题)

在 上篇博文 译:4.RabbitMQ 之Routing(路由) 中,我们改进了日志系统. 我们使用的是direct(直接交换),而不是使用只能进行虚拟广播的 fanout(扇出交换) ,并且有可能选 ...

译:6.RabbitMQ Java Client 之 Remote procedure call (RPC,远程过程调用)

在  译:2. RabbitMQ 之Work Queues (工作队列)  我们学习了如何使用工作队列在多个工作人员之间分配耗时的任务. 但是如果我们需要在远程计算机上运行一个函数并等待结果呢?嗯,这 ...

【译】Core Java Questions and Answers【1-33】

前言 译文链接:http://www.journaldev.com/2366/core-java-interview-questions-and-answers Java 8有哪些重要的特性 Java ...

1.配置EditPuls-编译和运行java程序

1.工具>配置自定义工具 2.添加工具>程序 1).编译java程序 2).运行java程序

How does java technology relate to cloud computing?

Java Paas shootout   (@IBM developer) Cloud computing is always a hot topic around IT field today.Ho ...

【译】1. Java反射——引言

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值