浏览 5785 次
锁定老帖子 主题:爱上Java8的八个理由
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2014-08-11
翻译:Tony 原文链接:http://www.oracle.com/us/technologies/java/oracle-voice/index.html Java, the programming language used by millions of developers, is now even better. The launch of Java 8 on March 25 represents the most significant update to the Java programming model ever, and demonstrates that Java is thriving among a worldwide community of programmers, code contributors, and users. Java,数百万开发人员使用的编程语言现在变得更好了。3月28日Java8的发布,代表着Java编程模式的最重要的更新,并且证明Java在全球程序员社区,代码贡献者,使用者中正在变得更加兴盛。 Technology-enabled innovation has become a top priority for businesses everywhere. Coming up with the next cool product or service and winning customers requires new ways of doing things. And software has become integral to business innovation—both for organizations that consider themselves tech companies and those that don’t. 在任何商业环境中,技术驱动的创新已经成为最应该优先考虑的事情。为了出下一代更酷significant 产品和服务而且赢得客户,需要新的方法来做事情。而且软件已经是商业创新的基本的构成-无论一个组织是否认为自己是一个技术公司。 Java 8 is a platform for innovation. It enables developers to create applications—faster and easier—for business environments, the cloud, and the emerging Internet of Things (IoT). And, with Java 8, developers can leverage a common skill set across this wide span of platforms and application types. Java8正是一个用于创新的平台。它能帮助开发人员创建应用程序-更快更容易-在商业环境,云,和正在兴起的物联网中。用Java8你可以使用共同的技能在广阔的跨平台和应用程序类型中。 So if your company is on the path to innovation, Java 8 can get you there. Here are eight things everyone should know about the newest version of Java. 因此如果你的公司正在创新的路上,Java8能够祝您一臂之力。下面是你最应该知道的8件事情在最新的Java8中。 > Create the future with Java 8. Learn about Java 8's new features and enhancements. 来吧,用java8创造你的未来。请看关于Java8的特性和增强 1. It enables the Internet of Things. Java 8 can help businesses take part in the world of connected, always-on devices. Think smart appliances in the home and billions of wearable devices, medical sensors, connected vehicles, smart meters, and industrial controllers. The opportunities are endless. Both Java SE 8 and Java ME 8—the two platforms that make up Java 8, along with Oracle’s related embedded products—provide a scalable, flexible, secure development platform for the Internet of Things. 1.它开起了物联网。Java8能帮助将业务扩展到一直在线的设备中。例如,家里的智能设备和可穿戴设备,医用传感器,连网的汽车,智能仪表,和工业控制器等,等无限的机会中。Java8标准版和Java8移动版-以及Orable相关的嵌入产品,一起构成了Java8 - 都提供了可扩展的,灵活的,安全的物联网平台。 2. Less code means more productivity. Java 8 facilitates improved developer productivity through reduced boilerplate code. This is due in large part to lambda expressions, which are the most significant and anticipated new feature in Java SE 8. Lambdas (for short) let developers simplify the code they write every day. Developers can expect the way they do their jobs to change: They will be able to write code that is more compact, simpler, and easier to maintain. 2.更少的代码意味着更高的生产力。Java8通过减少样板代码促进提高了开发人员的生产力。这是由于拉姆达表达式提供的帮助。拉姆达表达式是非常显著和令人期待的Java8新特性。拉姆达简化了开发人员每天写的代码。开发人员期望的改变是:他们可以写出紧凑、简单和容易维护的代码。 3. Modernize your apps. Java 8 takes a giant step forward in modernizing the Java language and Java libraries. One example is a new date and time application programming interface that reduces the complexity for developers when handling date and time, especially when dealing with internationalization and localization for different markets. The existing date and time library was more than 15 years old. It has been re-engineered using modern design practices. 3.让你的应用程序更现代化。在现代化Java语言和类库方面,Java8迈出了巨大的一步。其中一个例子是新的日期和时间为开发人员简化了复杂性,特别是当为不同的市场处理国际化和本地化的时候。当前的日期和时间类库已经超过15岁了,在Java8中使用现代设计原则重新做了修改。 4. Embedded technology is a big deal. Developers building embedded apps can use one of three new Compact Profiles in Java SE 8. These predefined subsets of the full Java SE 8 specification support the creation of smaller applications for resource-constrained devices. That means Java SE can be deployed on embedded devices using as little as a 10 MB static footprint and 16 MB of RAM. 4.嵌入技术很强大。在Java8中,开发人员可以使用3种新的压缩配置文件开构建嵌入应用程序。这些在Java8中预定义的规范支持在资源受限的设备上创建更小的应用程序。这意味着Java标准版可以发布在嵌入设备中,比如这种设备只有16M RAM和10M静态空间。 5. Create eye-popping graphics. JavaFX 8 is a graphics toolkit included in JDK 8 that lets developers build rich client applications using standard Java development tools. It includes an embedded graphics stack, new UI controls and 3D graphics features, and HTML5 support. JavaFX 8 also brings a fresh, modern look to applications with its new Modena theme. 5.可以创建令人瞠目的图像。在Java8中包含了一个叫做JavaFX8的图像工具包,可以让开发人员使用标准Java开发工具构建富客户端应用程序。JavaFX8包含一个嵌入图像栈,新的界面控件,3D图像特性,并且支持HTML5。通过新的现代化主题,JavaFX8还引入了新鲜的,现代化的应用程序界面。 6. Java 8 is integrated with JavaScript. Java and JavaScript are not the same thing. JavaScript is a popular language with features similar to Java’s that is ideal for transmitting code across networks. Java SE 8 includes Nashorn, a JavaScript engine that runs on the Java Virtual Machine (JVM) and allows Java applications to contain components written in JavaScript. When developers want to use both Java and JavaScript, Nashorn can deliver significant performance improvements and interoperability between Java and JavaScript code. 6.Java8集成了JavaScript。Java和JavaScript是两码事。JavaScript是一种和Java有类似特性的流行语言,在网络中传输代码非常理想。在Java8中包含了一个JavaScript引擎,名字叫做Nashorn。它运行在Java虚拟机上,允许Java应用程序包含用JavaScript写成的模块。当开发人员想同时使用Java和JavaScript,Nashorn能够提供两者之间的互通并且有很好的效率。 7. A worldwide community is behind Java 8. The Java 8 release represents a huge collaborative effort by the worldwide Java community. Java user groups provided ongoing feedback to Specification Leads, made requests for functionality, uncovered bugs, and contributed to code fixes. The OpenJDK community provided a way for developers to collaborate on the open source reference implementation of the Java SE platform. And the Java Community Process—with representation from the likes of IBM, Intel, Red Hat, and SAP—provided a means for organizations and individuals to contribute to the Java platform. 7.一个全球社区在Java8身后。Java8的的发布代表着全球Java社区的通力合作的成果。Java用户组给详细规格领导提供了持续的反馈,提出功能和未覆盖的bug需求,而且对代码的修补作出了贡献。 OpenJDK 社区提供了一种Java标准版开源参考的协同方法。JCP( Java Community Process)社区提供了让组织和个人对Java平台作出贡献的方式。 8. It’s available and free to download. With the March 25 launch of Java 8, you can now download JDK 8,Oracle Java SE Embedded 8, Java ME SDK 8 Early Access 2, and Oracle Java ME Embedded 8 Early Access 2. 8.已经可以免费下载了。在3月25日Java8已经发布,现在已经可以下载JDK 8,Oracle Java SE Embedded 8, Java ME SDK 8 Early Access 2, and Oracle Java ME Embedded 8 Early Access 2。 You can learn much more about Java 8 in the latest issue of Java Magazine, Oracle’s free bimonthly digital magazine covering all things Java. You will find articles on lambda expressions, the date and time API, and more. I fully expect Java 8 to unleash a new wave of software-powered business innovation. How will your company use Java 8? Let’s hear about it. 在最新一期的甲骨文免费双月刊Java Manazine中,你可以学习到更多关于Java8的内容,几乎涉及全部Java内容。你会找到关于拉姆达表达式的文章,日期和时间的API,等等。 我期望Java8会掀起一轮基于软件的商业创新的浪潮。你的公司将会如何使用Java8呢,让我们拭目以待。 Caroline Kvitka is the editor of Java Magazine. Caroline Kvitka是Java杂志的编辑。 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |