荔园在线
荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀
[回到开始]
[上一篇][下一篇]
发信人: slight (不知所谓), 信区: Java
标 题: [转载] JDK的现在和未来技术展现--来自SUN的消息(转寄)
发信站: 荔园晨风BBS站 (Thu Apr 4 12:29:37 2002), 转信
【 以下文字转载自 slight 的信箱 】
【 原文由 slight.bbs@bbs.sjtu.edu.cn 所发表 】
发信人: tryme (祝你快乐平安), 信区: Java
标 题: JDK的现在和未来技术展现--来自SUN的消息
发信站: 饮水思源 (2002年04月01日21:01:41 星期一), 站内信件
JDK的现在和未来技术展现--来自SUN的消息
/tryme
其实到现在一直没有正式的开始使用1.4,因为1.4版本的jdk不能
说是一种增强,而是一种改变了。很多实用的package和class,直接
导致了代码本身也需要升级。利用好jdk1.4的新特性,已经不再是换
一个JVM就得了的事情。
SUN是这么说的,1.4常规新特性有:
* HotSpot virtual machine(快速的执行,优化得编译器)
* Full 64-bit support(或许SPARC芯片将得到全面提升)
* Improved garbage collection
* Ability to exploit multiprocessing
* Optimization of the Java2D API
Class和API的新特性:
* Internationalization: Includes full Unicode 3.0 support,
a new character-encoding API for pluggable character
converters, support for Thai and Hindi languages, and a
new currency class so that currencies can be referenced
independently of locales.
* Java DataBase Connectivity (JDBCTM): Provides enhancements
such as connection pool configuration improvements,
statement pooling for pooled connections, and a description
of the migration path from the JDBC Service Provider
Interface (SPI) to the J2EE connector architecture.
新Package和Class:
* New I/O: (java.nio) includes fast buffered binary and
character I/O, better threading capabilities so that one
thread can handle many connections, and improvements for
better scalability.(这里增加的可都是好东东啦!)
* Regular expressions: (java.util.regex) provides pattern
matching,a favorite of PERL programmers.
* Assertion facility: allows for simple assertions, which can
be turned on for debugging purposes and extra checking.
Assertions are Boolean expressions that the programmer
believes to be true concerning the state of a computer
process. Assertions uncover
programmer misconceptions concerning a program's behavior.
* Full XML support: with Java API for XML Processing ("JAXP"),
Extensible Stylesheet Language Transformation (XSLT) support,
and Simple API for XML (SAX) and DOM
* Properties API: (java.util.properties) enables applications
to save user-specific preferences.
* Many new improvements in Java 2D, including a new pipeline
architecture,pluggable image I/O framework, support for
TrueType and OpenType fonts, hardware acceleration, and more.
* Logging API: (package java.util.logging) provides the classes
and interfaces of a core logging facility for the Java platform.
被成为"Mantis"(螳螂)的JDK1.4.2,SUN说,将主要做性能上提升优化工作,
预计2003年初推出。
至于全新的下个被称为"Tiger"的JDK1.5版本,则作了这样的描述:
developers will get better support for constants, providing
programming shortcuts using import statements, improvements for
iterating over collections, and metadata either as a keyword
addition or a javadoc feature.
并在其中强力推出两大功能(呵呵,或许是以前是C++的程序员梦寐以求的):
* Generics, similar to templates in C++
* Autoboxing of primitives, which will resolve some problems with
casting
--
┌┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┐
├┼悟已往之不谏┼知来者之可追┼┤
├┼实迷途其未远┼觉今是而昨非┼┤
└┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┘
※ 来源:·饮水思源 bbs.sjtu.edu.cn·[FROM: 202.120.224.18]
--
※ 转寄:·饮水思源 bbs.sjtu.edu.cn·[FROM: 小百合BBS]
--
※ 转载:·荔园晨风BBS站 bbs.szu.edu.cn·[FROM: 192.168.32.62]
[回到开始]
[上一篇][下一篇]
荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店