Java Foundation (8): Send Mail

[Preface] Earlier, there was an urgent function to do, some of which required email notifications; through consulting and experimentation, a function to send emails quickly was written; now organize your notes. [Send Mail] 1. Introducing dependencies in POMS <dependency> <groupId>javax.mail</groupId> ...

Posted on Thu, 30 Jan 2020 12:01:49 -0500 by PhillNeedsHelp

Spark getting started Idea remote submission project to spark cluster

1, Dependent package configuration The related dependency packages of scala and spark. The number of versions underlined after spark package should be consistent with the first two digits of scala version, that is, 2.11 pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http: ...

Posted on Thu, 30 Jan 2020 10:39:11 -0500 by max_power

Shiro? Day01 Shiro basic concepts and code

Basic concepts shiro: Security Management Framework Subject: the entity class to be verified also serves as the external interface of shiro framework Security Manager: Security Manager, the core of shiro framework, is responsible for calling other modules for authorization and authentication Authen ...

Posted on Thu, 30 Jan 2020 09:56:56 -0500 by Distant_storm

Talk about the max delivery attempts of artemis

order This paper mainly studies the max delivery attempts of artemis maxDeliveryAttempts activemq-artemis-2.11.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/settings/impl/AddressSettings.java public class AddressSettings implements Mergeable<AddressSettings>, Serializable, EncodingSupport { //...... public static ...

Posted on Mon, 27 Jan 2020 11:13:54 -0500 by AdRock

Help: SSH integration cannot be added, deleted or modified

On the problem that SSH cannot be added, deleted or modified after integration Let's see. My background is integrated with spring, spring MVC and hibernate spring.xml: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www. ...

Posted on Mon, 27 Jan 2020 10:11:20 -0500 by tomm098

Detailed explanation of three working modes and directory attributes of Apache (Theory + experiment)

Article directory Preface: 1, An introduction to Apache's working mode 1.1 introduction to Apache working mode 1.2 Apache working mode viewing method 2, event mode 2.1 event working mode 2.2 details of event parameters 3, prefork mode 3.1 introduction to perfork 3.2 working mode of prefork 3.3 d ...

Posted on Mon, 27 Jan 2020 02:09:52 -0500 by Uranium-235

Let's talk about artemis' slowconsumerreperrunnable

order This paper mainly studies the slowconsumerreperrunnable of artemis SlowConsumerPolicy activemq-artemis-2.11.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/settings/impl/SlowConsumerPolicy.java public enum SlowConsumerPolicy { KILL, NOTIFY; public static SlowConsumerPolicy getType(int type) { switch (type) { ...

Posted on Sat, 25 Jan 2020 11:03:01 -0500 by ThunderAI

rocketmq-4.6.0-simple message example

rocketmq-4.6.0-simple message example RocketMQ is used to send messages in three ways: reliable synchronization, reliable asynchronous and one-way transmission. Using RocketMQ to consume messages Add maven dependency <dependency> <groupId>org.apache.rocketmq</groupId> ...

Posted on Fri, 24 Jan 2020 09:41:30 -0500 by aim25

Talk about the push-pull mode of artemis message

order This paper mainly studies the push-pull mode of artemis messages Pull mode receive activemq-artemis-2.11.0/artemis-jms-client/src/main/java/org/apache/activemq/artemis/jms/client/ActiveMQMessageConsumer.java public final class ActiveMQMessageConsumer implements QueueReceiver, TopicSubscriber { //...... @Override public Message ...

Posted on Fri, 24 Jan 2020 09:32:41 -0500 by wrathyimp

Chapter 6 HBase API Operations - Data Operations and Data Migration

Previous: Chapter 6 HBase API Operations (2) 1. Encapsulation of data Encapsulate data using multithreaded thread security First, create a tool class: HbaseUtil Code implementation: package studey.bigdate.util; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfig ...

Posted on Fri, 24 Jan 2020 02:00:18 -0500 by kuma