1. JDK基础说明

1. JDK基础说明


版本及新特性获取

作为技术人,关注新技术必不可少,那么最佳的途径。。。看下面。

在 Oracle Java 官方站点有这个非常好的引导地图

官方站点 https://docs.oracle.com/javase/8/

java版本变化图

主要的几点

Java 官方学习路线

Java Tutorials Learning Paths

java官方教程

在接下来的文章中我会按照官方推荐路线进行分析源码和思维导图(客户端的我就不关注了^_^,感兴趣的小伙伴自己去理解和分析源码吧)。

为了更好地理解和分析源码,我们来看下Java™平台标准版的API规范中对每个包的说明。

在这里同样我会省略和客户端开发相关的数据。

PackageDescription我的说明
java.utilContains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).这个家伙厉害,重要的集合框架都在这里
java.util.concurrentUtility classes commonly useful in concurrent programming.这个前缀的家伙更厉害,高并发控制,中间件开发必须精通
java.util.concurrent.atomicA small toolkit of classes that support lock-free thread-safe programming on single variables.OK
java.util.concurrent.locksInterfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors.OK
java.util.functionFunctional interfaces provide target types for lambda expressions and method references.OK
java.util.jarProvides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.OK
java.util.loggingProvides the classes and interfaces of the JavaTM 2 platform's core logging facilities.OK
java.util.prefsThis package allows applications to store and retrieve user and system preference and configuration data.OK
java.util.regexClasses for matching character sequences against patterns specified by regular expressions.OK
java.util.spiService provider classes for the classes in the java.util package.OK
java.util.streamClasses to support functional-style operations on streams of elements, such as map-reduce transformations on collections.OK
java.util.zipProvides classes for reading and writing the standard ZIP and GZIP file formats.OK
java.lang.refProvides reference-object classes, which support a limited degree of interaction with the garbage collector.OK
java.lang.reflectProvides classes and interfaces for obtaining reflective information about classes and objects.反射是框架的核心,精通必不可少。
java.nioDefines buffers, which are containers for data, and provides an overview of the other NIO packages.OK
java.nio.channelsDefines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.OK
java.nio.channels.spiService-provider classes for the java.nio.channels package.OK
java.nio.charsetDefines charsets, decoders, and encoders, for translating between bytes and Unicode characters.OK
java.nio.charset.spiService-provider classes for the java.nio.charset package.OK
java.nio.fileDefines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.OK
java.nio.file.attributeInterfaces and classes providing access to file and file system attributes.OK
java.nio.file.spiService-provider classes for the java.nio.file package.OK
java.beansContains classes related to developing beans -- components based on the JavaBeans™ architecture.OK
java.beans.beancontextProvides classes and interfaces relating to bean context.OK
java.ioProvides for system input and output through data streams, serialization and the file system.OK
java.langProvides classes that are fundamental to the design of the Java programming language.OK
java.lang.annotationProvides library support for the Java programming language annotation facility.OK
java.lang.instrumentProvides services that allow Java programming language agents to instrument programs running on the JVM.OK
java.lang.invokeThe java.lang.invoke package contains dynamic language support provided directly by the Java core class libraries and virtual machine.OK
java.lang.managementProvides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime.OK
java.mathProvides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal).OK
java.netProvides the classes for implementing networking applications.OK
java.rmiProvides the RMI package.OK
java.rmi.activationProvides support for RMI Object Activation.OK
java.rmi.dgcProvides classes and interface for RMI distributed garbage-collection (DGC).OK
java.rmi.registryProvides a class and two interfaces for the RMI registry.OK
java.rmi.serverProvides classes and interfaces for supporting the server side of RMI.OK
java.securityProvides the classes and interfaces for the security framework.OK
java.security.aclThe classes and interfaces in this package have been superseded by classes in the java.security package.已被 java.security 包替代
java.security.certProvides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.OK
java.security.interfacesProvides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186.OK
java.security.specProvides classes and interfaces for key specifications and algorithm parameter specifications.OK
java.sqlProvides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language.OK
java.textProvides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.OK
java.text.spiService provider classes for the classes in the java.text package.OK
java.timeThe main API for dates, times, instants, and durations.OK
java.time.chronoGeneric API for calendar systems other than the default ISO.OK
java.time.formatProvides classes to print and parse dates and times.OK
java.time.temporalAccess to date and time using fields and units, and date time adjusters.OK
java.time.zoneSupport for time-zones and their rules.OK
javax.annotationOK
javax.annotation.processingFacilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.OK
javax.lang.modelClasses and hierarchies of packages used to model the Java programming language.OK
javax.lang.model.elementInterfaces used to model elements of the Java programming language.OK
javax.lang.model.typeInterfaces used to model Java programming language types.OK
javax.lang.model.utilUtilities to assist in the processing of program elements and types.OK
javax.managementProvides the core classes for the Java Management Extensions.OK
javax.management.loadingProvides the classes which implement advanced dynamic loading.OK
javax.management.modelmbeanProvides the definition of the ModelMBean classes.OK
javax.management.monitorProvides the definition of the monitor classes.OK
javax.management.openmbeanProvides the open data types and Open MBean descriptor classes.OK
javax.management.relationProvides the definition of the Relation Service.OK
javax.management.remoteInterfaces for remote access to JMX MBean servers.OK
javax.management.remote.rmiThe RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.OK
javax.management.timerProvides the definition of the Timer MBean.OK
javax.namingProvides the classes and interfaces for accessing naming services.OK
javax.naming.directoryExtends the javax.naming package to provide functionality for accessing directory services.OK
javax.naming.eventProvides support for event notification when accessing naming and directory services.OK
javax.naming.ldapProvides support for LDAPv3 extended operations and controls.OK
javax.netProvides classes for networking applications.OK
javax.net.sslProvides classes for the secure socket package.OK
javax.printProvides the principal classes and interfaces for the JavaTM Print Service API.OK
javax.print.attributeProvides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets.OK
javax.print.attribute.standardPackage javax.print.attribute.standard contains classes for specific printing attributes.OK
javax.print.eventPackage javax.print.event contains event classes and listener interfaces.OK
javax.rmiContains user APIs for RMI-IIOP.OK
javax.rmi.CORBAContains portability APIs for RMI-IIOP.OK
javax.rmi.sslProvides implementations of RMIClientSocketFactory and RMIServerSocketFactory over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.OK
javax.scriptThe scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications.OK
javax.security.authThis package provides a framework for authentication and authorization.OK
javax.security.auth.callbackThis package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example).OK
javax.security.auth.kerberosThis package contains utility classes related to the Kerberos network authentication protocol.OK
javax.security.auth.loginThis package provides a pluggable authentication framework.OK
javax.security.auth.spiThis package provides the interface to be used for implementing pluggable authentication modules.OK
javax.security.auth.x500This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in a Subject.OK
javax.security.certProvides classes for public key certificates.OK
javax.security.saslContains class and interfaces for supporting SASL.OK
javax.sqlProvides the API for server side data source access and processing from the JavaTM programming language.OK
javax.sql.rowsetStandard interfaces and base classes for JDBC RowSet implementations.OK
javax.sql.rowset.serialProvides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.OK
javax.sql.rowset.spiThe standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider.OK
javax.toolsProvides interfaces for tools which can be invoked from a program, for example, compilers.OK
javax.transactionContains three exceptions thrown by the ORB machinery during unmarshalling.OK
javax.transaction.xaProvides the API that defines the contract between the transaction manager and the resource manager, which allows the transaction manager to enlist and delist resource objects (supplied by the resource manager driver) in JTA transactions.OK
javax.xmlOK
org.w3c.domOK

参考资料

Java官方资料

JDK API


原创声明

作者:随风浮云
出处:http://www.cnblogs.com/ljmatlight
本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明。
文中有不妥或者错误的地方,欢迎勘误,如果你有更好的建议,可以给我留言讨论,共同进步。
互联网技术时效性较强,引用请慎重。


转载于:https://www.cnblogs.com/ljmatlight/p/9074589.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值