java knowledge points

 

Using BigDecimal for exact arithmetichttp ://www.cnblogs.com/chenssy/archive/2012/09/09/2677279.html

Detailed explanation of XStream usagehttp  ://www.cnblogs.com/LiZhiW/p/4313493.html 

                             http://forestqqqq.iteye.com/category/301129

                             https://www.oschina.net/code/snippet_116183_14202

                             http://www.cnblogs.com/XL-Liang/archive/2013/03/22/2974987.html

                             http://www.yiibai.com/xstream/xstream_annotations.html (tutorial)

                             https://my.oschina.net/JasonZhang/blog/228457 (ignoring unknown fields during XStream conversion)

 

Spring.profile realizes the configuration and switching of development, test and production environments

Five ways for you to read properties file content in java http://www.cnblogs.com/hafiz/p/5876243.html

 

JNDI

 JNDI (Java Naming and Directory Interface, Java Naming and Directory Interface) is a standard Java naming system interface provided by SUN, which provides developers with a common and unified API interface for finding and accessing various naming and directory services ( JDBC-like applications can use JDBC to interact with various databases).

It provides an application programming interface (application programming interface, API) and a service provider interface (service provider interface, SPI). What this really means is that for an application to interact with a naming or directory service , there must be a JNDI service provider for that service, and this is where the JNDI SPI comes into play

The existing directories and services accessible by JNDI are: DNS, XNam, Novell directory service , LDAP (Lightweight Directory Access Protocol ) , CORBA object service, file system, Windows XP/2000/NT/Me/9x Registry , RMI, DSML v1&v2, NIS, Printer

advantage:

Contains a large number of naming and directory services , uses a common interface to access different kinds of services; can connect to multiple naming or directory services at the same time ; establishes logical associations, allowing names to be associated with Java objects or resources without needing to know Physical ID of the object or resource

JNDI package:

javax.naming : naming operations; javax.naming.directory : directory operations; avax.naming.event : request event notifications in the naming directory server ; javax.naming.ldap : provide LDAP support; javax.naming.spi : allow dynamic insertion different implementations 

JNDI knows  http://blog.csdn.net/sunkobe2494/article/details/50824359

The specific application of JNDI  http://wiki.jikexueyuan.com/project/tomcat/jndi-resources.html

 

JSR

 

 

java annotation

 

CGLIB 

 

AspectJ 

 

 Generics

 

 variable parameter

 

 

 

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326311670&siteId=291194637