The Use of the Length of Varichar 2 Type Fields in Oracle

In order to commemorate the 90th anniversary of the founding of the People's Republic of China, this article is dedicated to commemorate our military's prestige!!! I. Background of the problem Commodities in the project were released, but they were not saved successfully. II. Problem Orientation Preliminary judgment to save to the database wh ...

Posted by Sephiriz on Sat, 08 Jun 2019 12:49:25 -0700

The Magic of SpringBook Development Case

Programmers have a natural curiosity that guides our programming career. It's very interesting to write a few lines of code, load it into the computer and let it work according to your ideas. But as we develop more and more things, we get busier and busier, and this curiosity slowly fades. From time to time, we should challenge ourselves with ...

Posted by mtmosier on Sat, 08 Jun 2019 12:08:25 -0700

Summary of java web timing task scheduling

When there is time, we need the server to silently perform scheduling tasks in the dead of night. Scheduling tasks based on java tomcat are done in two ways (personally): 1. Implementing the ServletContextListener class 1.SysContextListener class (configuration task timing scan) 1 package com.srba.task; 2 3 4 import java.util.Timer;//Tim ...

Posted by LAMP on Fri, 07 Jun 2019 17:55:17 -0700

On SpringBoot's Auto-Configuration and Startup Process

I. Introduction Spring Boot simplifies the development of Spring applications. By adopting the idea that conventions are greater than configurations, it is easy to build an independent, product-level application with simplicity and simplicity. 1. Disadvantages of traditional J2EE development Development is cumbersome, configuration is complex, ...

Posted by ask9 on Tue, 04 Jun 2019 11:46:48 -0700

Installation of tomcat for CentOS Trample Record

Before installing tomcat, you need to install java first. Install java package directly with centos, so install java directly with yum is simple and fast. See what jdk versions are available in the yum library (only openjdk is found for the time being) yum search java|grep jdk ldapjdk-javadoc.x86_64 : Javadoc for ldapjdk java-1.6.0-open ...

Posted by MentalMonkey on Wed, 22 May 2019 15:48:09 -0700

Ali Yunduo Application Deployment Record

Deploying applications to servers is the last step in publishing. In theory, there should be professional teams and deployment platforms to deal with it. But for personal developers, at first it was only a bit shabby. Recently, many java applications need to be deployed on a server to record their ideas and operations. Please refer to the pre ...

Posted by ryanhowdy on Tue, 21 May 2019 16:55:10 -0700

Automatic Packaging and Publishing of Code by Jenkins+Maven+Svn

Install jdk, tomcat environment [root@centos6 ~]# tar zxf jdk-8u111-linux-x64.tar.gz -C /usr/local/ [root@centos6 ~]# tar zxf apache-tomcat-8.5.9.tar.gz -C /usr/local/ [root@centos6 local]# export JAVA_HOME=/usr/local/jdk1.8.0_111 [root@centos6 local]# export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar [ ...

Posted by expl0it on Sat, 18 May 2019 21:15:49 -0700

Common Questions Set for Linux Enterprise Production

1. How to set the memory size of tomcat-8.5.9 JVM JAVA_OPTS="$JAVA_OPTS -Xmx2048m -Xms1024m -Xss512k -XX:NewRatio=4 -XX:SurvivorRatio=4" -Xmx2048m #Maximum available memory -Xms1024m #Minimum Available Memory (Maximum and Minimum Set to Equivalent) -Xss512k #Stack size for each process 2. nginx proxy ba ...

Posted by lordzardeck on Sat, 18 May 2019 09:42:38 -0700

Simple CAS Implementation of SSO Single Sign-on

Environmental Science cas-server-4.1.8 cas-client-3.4.0 Java-8 Maven-3 Tomcat-7.0.72 CAS Server Installation Click here to enter the CAS download list and select cas-4.1.8.zip to download. https://github.com/apereo/cas/releases Unzip cas-4.1.8.zip and enter the cas-server-webapp directory. Open c ...

Posted by snowplank on Fri, 17 May 2019 08:52:32 -0700

Linux Operations and Maintenance: Nginx-Openresty and Nginx-tomcat

I. Openresty 1. Compile and install opesresty [root@server1 ~]# tar zxf openresty-1.13.6.1.tar.gz [root@server1 ~]# cd openresty-1.13.6.1 [root@server1 openresty-1.13.6.1]# ./configure --prefix=/usr/local/lnmp/openresty [root@server1 openresty-1.13.6.1]# gmake && gmake instal 2. Configuration file [root@ser ...

Posted by TNIDBMNG on Thu, 16 May 2019 11:10:20 -0700