Java Enumeration Class Use

Articles Catalogue I. Examples of Several Enumeration Classes 1. Simplest Enumeration 2. General Enumeration Class Usage 3. Use enumeration in switch Enumeration Class Method I. Examples of Several Enumeration Classes 1. Simplest Enumeration enum Nuber { One, Two }// enum's grammatica ...

Posted by dujed on Thu, 10 Oct 2019 01:15:30 -0700

Several ways of eclipse maven beating war bags

Links to the original text: https://www.cnblogs.com/qlqwjy/p/8231032.html Reproduced from: https://www.cnblogs.com/qlqwjy/p/8231032.html First: Packing with pom.xml files. Right-click the pom.xml file and select Debug as or Run as. But ...

Posted by jtown on Wed, 09 Oct 2019 05:10:39 -0700

Apache Flink Zero Foundation Getting Started Writing the Simplest Hello World

Experimental environment JDK 1.8 IDE Intellij idea Flink 1.8.1 Experimental content Create a Flink Simple Demo that counts the number of words from the stream data. Experimental steps First, create a maven project, where the pom.xml file is as follows: <properties> <flink.version>1.8.1</flink.version> ...

Posted by kavitam on Wed, 09 Oct 2019 00:08:13 -0700

Spark streaming manually saves offset to zk java implementation

Article directory Preface pom Dependent Version Dome Preface There are some cases on the Internet about setting offset manually in kafka, but most of them use 0.8 version of kafka, which is written by scala. The version of kafka-0.10 is rarely mentioned or incomplete. Version 0.10 is compatible ...

Posted by artin on Tue, 08 Oct 2019 21:41:57 -0700

Eclipse uses Maven to build MyBatis quickly

what is maven? Maven Project Object Model (POM) is a project management tool software that can manage project construction, reporting and documentation through a short description of information. Maven provides advanced project management tools in addition to program building capabilities. Because Maven's default build rules are highly reus ...

Posted by xt3mp0r~ on Tue, 08 Oct 2019 21:27:50 -0700

JAVA Recording Operational Logging Steps

Explain System log plays an important role in daily management and maintenance, but there are many problems in log recording. Irregularity of log records Repeatability of log records Difficult classification of log records At present, there are three main aspects of log records. Entry and exit ...

Posted by BigX on Tue, 08 Oct 2019 18:21:02 -0700

MapReduce programming in detail

Writing MapReduce Program Writing wordcount Program Scenario: There are a lot of files in which words are stored and one word occupies one line. Task: How to count the number of occurrences of each word Similar application scenarios: Statistics of the most popular K search terms in search engines Stati ...

Posted by Avochelm on Tue, 08 Oct 2019 16:02:03 -0700

dubbo provider does not print error log resolution

Reason analysis: By default, dubbo uses log4j as its logging framework. If you use a different logging framework, you may not have a log. Solve: It can be resolved by configuring the logger attribute of the application //slf4j,jcl,log4j,jdk,log4j2 <dubbo:application logger="log4j2" /> T ...

Posted by jesirose on Tue, 08 Oct 2019 14:45:01 -0700

Implementing QQ login in java

Links to the original text: https://blog.csdn.net/qq_37618797/article/details/90344835 -------- Forwarding Statement: This article is reprinted to the CSDN blogger "Drunk Three Lives". It is reprinted to the CSDN blogger. Links to ...

Posted by DeadDude on Tue, 08 Oct 2019 10:10:15 -0700

Single Sign-on Performance Test Scheme

Project login system upgrade to single sign on: English full name Single Sign On. SSO is a multi-application system. Users can access all trusted applications with only one login. Previous unified login methods have been abandoned, because the single sign-on system is much more complex than the previous login system. The previous scheme request ...

Posted by eastcoastdubs on Tue, 08 Oct 2019 03:25:00 -0700