Collation of Class Libraries commonly used in JAVA
This article mainly introduces the "class library arrangement commonly used in JAVA". In the daily operation, I believe that many people have doubts about the class library arrangement problem commonly used in JAVA. The editor has consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "class library arrangement commonly used in JAVA". Next, please follow the editor to study!
JAVA class library arrangement
Tags (space delimited): technology stack
[toc]
Commons-codec
Encryption and decryption function package example:
Commons-codec commons-codec 1.12ax * * MD5 encryption * / DigestUtils.md5Hex ("123456") commons-lang3
Tool class encapsulation example:
Org.apache.commons commons-lang3 3.9public static void main (String [] args) {System.out.println (StringUtils.isEmpty (null)); System.out.println (StringUtils.isEmpty (")); System.out.println (ObjectUtils.anyNotNull (null, null)); System.out.println (ObjectUtils.anyNotNull (11, null)); System.out.println (RandomUtils.nextBoolean ()); System.out.println (RandomUtils.nextBoolean ()) System.out.println (SystemUtils.JAVA_HOME);} commons-io
IO tool encapsulation (FileUtils, IOUtils, etc.) example:
Commons-io commons-io 2.6commons-collections4
Collection function encapsulation example:
Org.apache.commons commons-collections4 4.0commons-pool commons-pool commons-pool 1.6commons-beanutils
Toolkit for operating JAVA BEAN provided by Apache open source organization
Commons-beanutils commons-beanutils 1.9.3pagehelper
MyBatis paging plug-in
Com.github.pagehelper pagehelper 4.1.6java-jwt com.auth0 java-jwt 3.8.1reflections org.reflections reflections 0.9.10hutool-all cn.hutool hutool-all 4.6.1hibernate-validator org.hibernate hibernate-validator 6.0.17.Finalmetrics Monitoring io.dropwizard.metrics metrics-core ${metrics.version} Lombok
Lombok can simplify java code in the form of simple annotations and improve the development efficiency of developers.
Org.projectlombok lombok 1.16.20 provided
Notes:
@ DataSpring-Boot-Starter-Slf4j
Reduce the number of logging components
Wiki.xsx spring-boot-starter-slf4j RELEASE at this point, on the "JAVA commonly used in the library finishing" study is over, I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!