Full Text Retrieval Engine and Tool Lucene Solr

Full Text Retrieval Engine and Tools lucence lucence is a full-text search engine. The usage steps of lucence code level are as follows: Create a document (org.apache.lucene.document.Document) and add fields to it through the add method of Document (lucence.document.Field) Create lucence.index.IndexWriter and add many built Documents through a ...

Posted by Sassy34 on Sun, 21 Apr 2019 12:33:33 -0700

Quartz Thread Processing

Quartz scheduled tasks are executed concurrently by default. They will not wait for the last task to finish. They will be executed as long as the interval arrives. If the scheduled tasks are executed too long, they will occupy resources for a long time, resulting in other tasks blocking. 1. In Spring, you need to set the concurrent value to fal ...

Posted by azhan on Sat, 20 Apr 2019 20:39:33 -0700

The Use of java mina Framework and Some Understanding

@ (java technology notes) The Use of java mina Framework and Some Understanding 1. What is Mina framework and why use mina? The interpretation of the official website is as follows: Apache Mina Server is a network communication application framework, that is to say, it is mainly a communication framework based on TCP/IP, UDP/IP protoco ...

Posted by cesar_ser on Sat, 20 Apr 2019 03:45:34 -0700

Database Operating Tool-Query Runner

After learning about JDBC and database operations, it is obvious that writing JDBC code is not an easy task. In order to help us learn more efficiently and get rid of the heavy code of JDBC, Tong gave us a detailed introduction to a component that simplifies JDBC operations, DBUtils. Today we have mainly studied the two classes and an inter ...

Posted by shwanky on Fri, 19 Apr 2019 23:15:33 -0700

Working Principle of Struts 2

Before learning struts 2, we need to understand the purpose of using struts 2. What benefits can it bring us? design goal The first goal of Struts design is to apply MVC pattern to web programming. The benefits of MVC mode are not mentioned here. Technological superiority Struts 2 has two technical advantages. First, all Struts ...

Posted by dino345 on Fri, 19 Apr 2019 18:51:35 -0700

[Javaweb] poi implements importing data into database in batches by uploading excel tables

1. Import poi-related jar packages For excel, which only operates on 2003 and previous versions, only poi-XXX.jar needs to be imported. If you need to operate on 2007 and later versions, you need to import poi-XXX.jar. poi-ooxml-XXX.jar poi-ooxml-schemas-XXX.jar Maven mode 1 <dependency> 2 <groupId>org.apache.poi ...

Posted by suresh1 on Thu, 18 Apr 2019 20:12:35 -0700

Java Web - File Upload and Download

In the development of Web application system, file upload and download functions are very common functions. Today, let's talk about the implementation of file upload and download functions in Java Web. For file upload, browsers submit files as streams to the server in the process of uploading. If it is more troublesome to get the input stream ...

Posted by eziitiss on Thu, 18 Apr 2019 18:12:33 -0700

Hive UDF Realizes Strong Check of Identity Card

In the work, the ID number in the Hive table needs to be strongly checked. Because the last bit is the checking bit, simple regularization can not be realized, and UDF is used to implement the relevant functions. I just realized the function, did not do in-depth optimization, welcome to leave a message, under the guidance of h ...

Posted by carlg on Wed, 17 Apr 2019 20:06:33 -0700

One reason CAS SSO cannot log out

One reason CAS SSO cannot log out background Our company has developed its internal SSO service based on CASSSO 4.x, temporarily named SSO-INTERN.The following CAS SSO refers to the unmodified SSO, while SSO-INTERN refers to the SSO developed by our company.After 2 SSO-INTERN came online, a very strange problem occurred: applications protected ...

Posted by Whitestripes9805 on Wed, 17 Apr 2019 15:21:33 -0700

Beautify CSDN Blog Articles Based on MarkDown - 100% Width of Pictures, Highlighted Code

For reprinting, please indicate the source: http://blog.csdn.net/gane_cheng/article/details/52244277 http://www.ganecheng.tech/blog/52244277.html (Browse better) Recently, I started using CSDN to write blogs. As soon as I came to catch up with MarkDown editor, the WYSIWYG writing method was very popular with me. When I wrote the firs ...

Posted by gordonrp on Wed, 17 Apr 2019 12:39:33 -0700