The Jenkins server was recently configured to document the basic process. (Of course, also encountered a number of small problems, the soldiers will block punches just)Jenkins installation
Installing Tomcat
Download Jenkins.war file
About threading methods in the object classThe object class is the parent class for all Java classes, where three methods related to threading are defined, so that all Java classes support multithreading after they are createdThese three methods are:
JAVA IP address-to-grow integer methodThe code is as follows:/** * IP to Integer * @param IP * @return */public static long ip2int (String IP) {Long num = 0l;if (IP = = null) {return num;} Try{ip = Ip.replaceall ("[^0-9\\.]", ""); Remove the null
1. AbstractionWhen we define a class in front, we actually extract the common attributes and behaviors of a kind of things and form a physical model (template). This method of studying the problem is called abstraction.2. EncapsulationEncapsulation
public class Collectiontest { /*** Three steps to play a landlord:* A Buy Card* B Shuffle* C Licensing* D look at the cards*/public static void Main (string[] args) { String[] color={"Spades", "Red Peach", "Plum", "block"};String[] numbers={"A", "2",
Java final and javafinal
The final modifier variable indicates that the variable cannot be changed after initialization.
1. for basic types, the final value cannot be changed after modification.
1.
Final int;
A = 5;
2. final int a = 5;
2. For the
Activit unit I test (integration test with spring), activitspring
1. Test
Install the activiti plug-in and maven in eclipse
Right-click to create the activiti project (the pom dependency and activiti. cfg. xml will be automatically created, but not
[Spring Framework] learning notes -- the foundation of stereotype such as @ Component, and stereotypespring
Before continuing to explain Spring MVC, we need to talk about several annotation commonly used to mark stereotype.
@ Component, @ Controller,
One-to-multiple Hibernate and one-to-one hibernate
One-to-many and multiple-to-one association: Add Foreign keys to multiple parties
Example: Group (one party) and User (multiple parties), a Group can have multiple users, each User can only belong
Four internal classes are created in java, three methods, and internal data access permissions.
The relationship between the internal class and the external class, the data access permission of the internal static class, and the declaration
Java self-study notes (3) -- InputBecause I have learned a lot of practical operations recently, I suggest using code as the subject for new notes!
The main content of this response is input, and the callback class and BufferedReader are mainly used
Java improvements (38) ----- Java Set details (4): Keep compareTo and equals synchronizedIn Java, we often use the Comparable interface to implement sorting. compareTo is the method to implement this interface. We know that compareTo returns 0 to
Java Regular Expression for Dynamic Replacement of stringsScenario: when processing SQL statements today, because the format stored in the database is VARCHAR2, a single quotation mark must be added to the string with digits following the WHERE
Hibernate_HelloWord, phphelloword
Hibernate operation steps
1. create a project 2. add jar package 3. write the XML configuration file hibernate. cfg. xml4. write log4j. properties Log File 5. create a student table in the MySql database. create a
[Spring Framework] learning notes -- Dependency injection (DI), dependencyspring
1. Implement DI through Constructor
Simple Type instance
package examples;public class ExampleBean { // Number of years to calculate the Ultimate Answer private
Ext panel custom image refresh
Recently, it took some time to adapt from management back-to-development. However, to solve the problem from another point of view, it seems to be a good result. Not much nonsense. Recently, EXT js was used in the
Getting started with AJAX --- use XMLHttpRequest object in five stepsXMLHttpRequest introduction:
The XMLHttpRequest object can be used to update webpages without submitting the entire page to the server. After all the pages are loaded, the client
Follow ZHONGHuan to learn the design mode-singleton ModeFollow ZHONGHuan to learn the design mode.
As the object creation mode, the singleton mode ensures that a class has only one instance and is self-instantiated and provides this instance to the
Template Method and callback functionRemember that at the beginning of JDBC learning, every SQL Execution must go through the process of obtaining, executing, and obtaining results from connections. When I was in my sophomore year, I was learning
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.