ObjectiveWords of enterprise applications, generally inseparable from the database. To do a database, there can be n scenarios, such as: directly using the JDBC layer in its own package, with some framework, such as: ibatis,hiberate,spring JDBC
1. CodePackage Com.zhaochao.utils;import Java.text.simpledateformat;import Java.util.calendar;import java.util.Date; public class Datauill {public static void main (string[] args) {//TODO auto-generated method StubSystem.out.println ("24 Point of
Static decorated members belong to the entire class, not to a single object)Definition: Putting a class into the internal definition of another class, the internally defined class is called an inner class (and some nested classes), and the class
Reprinted from Concurrent Programming network –ifeve.comContent indexCreate an agentInvocationhandler interfaceCommon use Cases
Database Connectivity and Things management
Dynamic mock objects in unit tests
Adapters between custom
first , the PreludeBefore you learn the Java language, you need to master some common DOS commands, such as:
Dir: Lists the files and folders in the current directory
MD: Create directory (folder)
RD: Deleting a directory
CD: Enter the
The industry has a lot of powerful Java profile tools, such as Jporfiler,yourkit, these charges of things I do not want to say, to say, in fact, Java itself provides a lot of memory monitoring gadgets, the following list of tools is only a small
Reprinted from Http://blog.sina.com.cn/s/blog_7f73e06d0100xn9j.htmlFirstly, what is hessian first?Hessian:hessian is a lightweight remoting onhttp tool that provides RMI functionality in a simple way, simpler and faster than Webservice,hessian. The
Java Introduction and configuration and construction of platform and development environment1. Introduction to JavaJava is an object-oriented programming language with many features such as cross-platform, portable, distributed, simple, extensible,
Original address: http://tutorials.jenkov.com/java-nio/nio-vs-io.htmlauthor : Jakob Jenkov translator : Guo proofreading: Fang FeiAfter learning the APIs for Java NIO and Io, a problem immediately poured into my mind:When should I use IO and when do
Reprint Please specify the Source:Jiq ' s technical BlogOne, Collection: storage of independent elementsThe interfaces in collection are optional, and their implementation classes do not necessarily implement all of their interfaces, in order to
Use of 1:scanner (learn)(1) The class that appears after JDK5 for keyboard input data.(2) Construction method:A: Explain system.in this thing.It is actually the standard input stream, which corresponds to the keyboard entry, in is the final static
Reprint: Java meta-group type JavatuplesWith respect to the return value of a method, it is often necessary to return a sequence of 2 or more values, such as a record of a data table, a row of files, and so on. In addition to using array arrays,
The simple Java encryption algorithm is:
BASE64 strictly speaking, it belongs to the encoding format, not the encryption algorithm
MD5 (Message Digest algorithm 5, Information Digest algorithm)
SHA (Secure Hash algorithm, security
The simple Java encryption algorithm is:
BASE64 strictly speaking, it belongs to the encoding format, not the encryption algorithm
MD5 (Message Digest algorithm 5, Information Digest algorithm)
SHA (Secure Hash algorithm, security
public class Md5check {/** * default password string combination, used to convert bytes to 16 binary representation of the character, Apache verify the correctness of the downloaded file is the default combination of this */protected char hexdigits[
Big talk design pattern-modifier pattern C # problems compared with Java
I recently read the decorator mode in the big talk Design Model Book and wrote it again with C #. I found that the running results are different from those in the book, then I
Mybatis BASICS (3) ---- SqlMapConfig. xml global configuration file parsing, mybatis getting started tutorialI. Content and configuration SEQUENCE OF THE SqlMapConfig. xml configuration file are as follows:
Mappers)Ii. properties
Purpose: separately
Apache Shiro User Manual (5) Shiro configuration instructions, apacheshiro
The configuration of Apache Shiro is mainly divided into four parts:
Definition and configuration of objects and Properties
URL filter configuration
Static User
Struts2 default interceptor defastack stack, struts2 default interceptor
When Struts2.3.20 is used for the first time, the foreground page transmits a value to the background. How can I always prompt that the value is null? I forgot to introduce the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service