1. JDK基础说明
1. JDK基础说明
版本及新特性获取
作为技术人,关注新技术必不可少,那么最佳的途径。。。看下面。
在 Oracle Java 官方站点有这个非常好的引导地图
官方站点 https://docs.oracle.com/javase/8/

主要的几点
Java 官方学习路线
Java Tutorials Learning Paths

在接下来的文章中我会按照官方推荐路线进行分析源码和思维导图(客户端的我就不关注了_,感兴趣的小伙伴自己去理解和分析源码吧)。
为了更好地理解和分析源码,我们来看下Java平台标准版的API规范中对每个包的说明。
在这里同样我会省略和客户端开发相关的数据。
| Package | Description | 我的说明 |
|---|---|---|
| java.util | Contains 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.concurrent | Utility classes commonly useful in concurrent programming. | 这个前缀的家伙更厉害,高并发控制,中间件开发必须精通 |
| java.util.concurrent.atomic | A small toolkit of classes that support lock-free thread-safe programming on single variables. | OK |
| java.util.concurrent.locks | Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors. | OK |
| java.util.function | Functional interfaces provide target types for lambda expressions and method references. | OK |
| java.util.jar | Provides 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.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. | OK |
| java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data. | OK |
| java.util.regex | Classes for matching character sequences against patterns specified by regular expressions. | OK |
| java.util.spi | Service provider classes for the classes in the java.util package. | OK |
| java.util.stream | Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections. | OK |
| java.util.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats. | OK |
| java.lang.ref | Provides reference-object classes, which support a limited degree of interaction with the garbage collector. | OK |
| java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects. | 反射是框架的核心,精通必不可少。 |
| java.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages. | OK |
| java.nio.channels | Defines 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.spi | Service-provider classes for the java.nio.channels package. | OK |
| java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. | OK |
| java.nio.charset.spi | Service-provider classes for the java.nio.charset package. | OK |
| java.nio.file | Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems. | OK |
| java.nio.file.attribute | Interfaces and classes providing access to file and file system attributes. | OK |
| java.nio.file.spi | Service-provider classes for the java.nio.file package. | OK |
| java.beans | Contains classes related to developing beans -- components based on the JavaBeans architecture. | OK |
| java.beans.beancontext | Provides classes and interfaces relating to bean context. | OK |
| java.io | Provides for system input and output through data streams, serialization and the file system. | OK |
| java.lang | Provides classes that are fundamental to the design of the Java programming language. | OK |
| java.lang.annotation | Provides library support for the Java programming language annotation facility. | OK |
| java.lang.instrument | Provides services that allow Java programming language agents to instrument programs running on the JVM. | OK |
| java.lang.invoke | The java.lang.invoke package contains dynamic language support provided directly by the Java core class libraries and virtual machine. | OK |
| java.lang.management | Provides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime. | OK |
| java.math | Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). | OK |
| java.net | Provides the classes for implementing networking applications. | OK |
| java.rmi | Provides the RMI package. | OK |
| java.rmi.activation | Provides support for RMI Object Activation. | OK |
| java.rmi.dgc | Provides classes and interface for RMI distributed garbage-collection (DGC). | OK |
| java.rmi.registry | Provides a class and two interfaces for the RMI registry. | OK |
| java.rmi.server | Provides classes and interfaces for supporting the server side of RMI. | OK |
| java.security | Provides the classes and interfaces for the security framework. | OK |
| java.security.acl | The classes and interfaces in this package have been superseded by classes in the java.security package. | 已被 java.security 包替代 |
| java.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. | OK |
| java.security.interfaces | Provides 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.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications. | OK |
| java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. | OK |
| java.text | Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. | OK |
| java.text.spi | Service provider classes for the classes in the java.text package. | OK |
| java.time | The main API for dates, times, instants, and durations. | OK |
| java.time.chrono | Generic API for calendar systems other than the default ISO. | OK |
| java.time.format | Provides classes to print and parse dates and times. | OK |
| java.time.temporal | Access to date and time using fields and units, and date time adjusters. | OK |
| java.time.zone | Support for time-zones and their rules. | OK |
| javax.annotation | 略 | OK |
| javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. | OK |
| javax.lang.model | Classes and hierarchies of packages used to model the Java programming language. | OK |
| javax.lang.model.element | Interfaces used to model elements of the Java programming language. | OK |
| javax.lang.model.type | Interfaces used to model Java programming language types. | OK |
| javax.lang.model.util | Utilities to assist in the processing of program elements and types. | OK |
| javax.management | Provides the core classes for the Java Management Extensions. | OK |
| javax.management.loading | Provides the classes which implement advanced dynamic loading. | OK |
| javax.management.modelmbean | Provides the definition of the ModelMBean classes. | OK |
| javax.management.monitor | Provides the definition of the monitor classes. | OK |
| javax.management.openmbean | Provides the open data types and Open MBean descriptor classes. | OK |
| javax.management.relation | Provides the definition of the Relation Service. | OK |
| javax.management.remote | Interfaces for remote access to JMX MBean servers. | OK |
| javax.management.remote.rmi | The 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.timer | Provides the definition of the Timer MBean. | OK |
| javax.naming | Provides the classes and interfaces for accessing naming services. | OK |
| javax.naming.directory | Extends the javax.naming package to provide functionality for accessing directory services. | OK |
| javax.naming.event | Provides support for event notification when accessing naming and directory services. | OK |
| javax.naming.ldap | Provides support for LDAPv3 extended operations and controls. | OK |
| javax.net | Provides classes for networking applications. | OK |
| javax.net.ssl | Provides classes for the secure socket package. | OK |
| javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. | OK |
| javax.print.attribute | Provides 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.standard | Package javax.print.attribute.standard contains classes for specific printing attributes. | OK |
| javax.print.event | Package javax.print.event contains event classes and listener interfaces. | OK |
| javax.rmi | Contains user APIs for RMI-IIOP. | OK |
| javax.rmi.CORBA | Contains portability APIs for RMI-IIOP. | OK |
| javax.rmi.ssl | Provides implementations of RMIClientSocketFactory and RMIServerSocketFactory over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. | OK |
| javax.script | The 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.auth | This package provides a framework for authentication and authorization. | OK |
| javax.security.auth.callback | This 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.kerberos | This package contains utility classes related to the Kerberos network authentication protocol. | OK |
| javax.security.auth.login | This package provides a pluggable authentication framework. | OK |
| javax.security.auth.spi | This package provides the interface to be used for implementing pluggable authentication modules. | OK |
| javax.security.auth.x500 | This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in a Subject. | OK |
| javax.security.cert | Provides classes for public key certificates. | OK |
| javax.security.sasl | Contains class and interfaces for supporting SASL. | OK |
| javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language. | OK |
| javax.sql.rowset | Standard interfaces and base classes for JDBC RowSet implementations. | OK |
| javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language. | OK |
| javax.sql.rowset.spi | The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider. | OK |
| javax.tools | Provides interfaces for tools which can be invoked from a program, for example, compilers. | OK |
| javax.transaction | Contains three exceptions thrown by the ORB machinery during unmarshalling. | OK |
| javax.transaction.xa | Provides 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.xml | 略 | OK |
| org.w3c.dom | 略 | OK |
参考资料
原创声明
作者:随风浮云
出处:http://www.cnblogs.com/ljmatlight
本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明。
文中有不妥或者错误的地方,欢迎勘误,如果你有更好的建议,可以给我留言讨论,共同进步。
互联网技术时效性较强,引用请慎重。
1. JDK基础说明的更多相关文章
- 使用alpine制作最小化的JDK基础镜像
注意:这里使用的是oracle的JRE,版本是1.8. 1.解压jre包,删除根目录下文本文件,然后删除其他不必要文件. #解压 tar xvcf jre-8u161-linux-x64.tar.gz ...
- 【计理01组04号】JDK基础入门
java.lang包 java.lang包装类 我们都知道 java 是一门面向对象的语言,类将方法和属性封装起来,这样就可以创建和处理相同方法和属性的对象了.但是 java 中的基本数据类型却不是面 ...
- jdk基础配置
今遇到一事,tomcat启动是报错,将jdk位数错误,有问题,32位和64位的问题 cmd java -verison 显示的确实是jdk 64位,又跑到 环境变量看了下java_home的配置 这里 ...
- docker学习系列-jdk基础镜像制作
准备一台安装有docker服务的机器 1.编辑Dockerfile vim Dockerfile FROM centos:latest ADD ./jdk-8u141-linux-x64.tar. ...
- 【JDK基础】java基础的一些资料
工具:https://blog.csdn.net/javazejian/article/details/72828483 类加载器:https://blog.csdn.net/X5fnncxzq4/a ...
- JDK基础必备面试十问
1. new一个对象在Java内部做了哪些工作? 从静态角度来看,new一个对象表示创建一个类的对象实例. 从JVM运行角度来看,当JVM执行到new字节码时,首先会去查看类有没有被加载到内存以及初始 ...
- jdk基础提升
1. treeMap,treesSet 作用:1具有对应普通的Map,Set的功能,2.能排序Map和Set (依赖树的结构进行排序---中序循环) TreeSet<String> tr ...
- Visual Studio、.net framework、CLR与JDK、JRE、JVM、Eclipse
.net平台 java平台 开发工具 Visual Studio ...
- 使用jdk 容器镜像注意默认编码问题
最近在使用一个开源数据pipeline 处理的工具的时候,发现了jdk容器镜像编码的一些问题 以下是一个简单的描述 问题 使用了streamsets 工具,使用容器运行,默认使用了adoptopenj ...
随机推荐
- git怎么合并远程分支
一共就五步: 1.把代码clone到本地仓库 git clone https://github.com/573734817pc/shop.git 2.在本地创建dev分支并与远程dev分支对应 git ...
- 初识Java对象
初始Java对象 本文的概述顺序 1什么是面向对象编程(面向对象编程与 面向过程编程的区别) 2类和对象的的关系 3类的定义 4对象的创建 5对象使用的一些细节 5.1对象在内存中的产生及分布 5.2 ...
- TCP 和 UDP,哪个更胜一筹
作为 TCP/IP 中两个最具有代表性的传输层协议,TCP 和 UDP 经常被拿出来相互比较.这些协议具体有什么区别,又是什么作用呢? 在 IT 圈混迹多年的小伙伴们,对 TCP 和 UDP 肯定再熟 ...
- 可能这是Redis可视化工具最全的横向评测
1 命令行 不知道大家在日常操作redis时用什么可视化工具呢? 以前总觉得没有什么太好的可视化工具,于是问了一个业内朋友.对方回:你还用可视化工具?直接命令行呀,redis提供了这么多命令,操作起来 ...
- vue : rem自适应的应用
我们知道,rem是一个css单位,指的是HTML根节点的字体大小. MDN:css单位 而我们在用rem布局的时候必然会遇到一个问题:我们需要根据用户的屏幕大小去计算rem. 以下是代码. (在VUE ...
- Kubernetes的10个基本事实!你知道几个?k8s与Docker又有何不同?
无论您是Kubernetes的新手还是只是想获得更多知识,这篇文章都会帮到您! Kubernetes是一个增长的趋势.近年来,K8s技术经历了从小型开源Google项目到Cloud Native Co ...
- Electron-vue 项目搭建
Electron 应用技术体系推荐 目录结构 demo(项目名称) ├─ .electron-vue(webpack配置文件) │ └─ build.js(生产环境构建代码) | └─ dev-cl ...
- 设计模式:mediator模式
目的:解决多组件之间的通信问题,使得组件之间的通信变得简单 核心:提供一个管理类,用来处理组件之间的通信,所有的组件只和管理类通信,组件彼此之间不在单独通信 例子: class Mediator { ...
- 因为喜欢所以升级,MyStaging-3.0 继续
我为什么维护MyStaging 目前该项目只有我一个人在维护,权当学习交流.为什么要继续维护呢,说一千道一万,还是因为喜欢,由于他的简单易用,从而促使我决定对 MyStaging 进行升级,目前 3. ...
- go test 测试用例那些事(二) mock
关于go的单元测试,之前有写过一篇帖子go test测试用例那些事,但是没有说go官方的库mock,很有必要单独说一下这个库,和他的实现原理. mock主要的功能是对接口的模拟,需要在写代码的时候定义 ...