2.1 getting started with ActiveMQ (introduction, JMS, installation, use)

Article directory What is ActiveMQ What is JMS? Object model of JMS Message model of JMS Message structure of JMS Message header Message attribute Message body Features of ActiveMQ ActiveMQ installation Make system service Web management platform using ActiveMQ Web management configuration Using ...

Posted by shainh on Wed, 11 Mar 2020 04:22:26 -0700

Compression transformation (programming)

Xiao Ming is studying compression algorithm recently. He knows that if the compression can make the value very small, he can get a higher compression ratio through entropy coding. However, it is a challenge to keep the value small. Recently, Xiaoming needs to compress some sequences of positive integers ...

Posted by joeysarsenal on Tue, 10 Mar 2020 20:55:46 -0700

c + + communication evolution level 1 -- single thread synchronous blocking communication

This article records an example of using socket to communicate on windows. The code comes from the Internet. As time goes by for a long time, I didn't bookmark at that time, and now it's not easy to find a source. Some key code fragments are given in this paper. On the one hand, they are used to cons ...

Posted by Daukan on Tue, 10 Mar 2020 04:33:44 -0700

php implementation of websocket real-time message push

1, Brief introduction of socket protocol What is WebSocket and what are its advantages WebSocket is a persistent protocol, which is relative to http non persistent. Application layer protocol For example, the life cycle of http1.0 is defined by request, that is, a request and a response. For HTTP, this session between client and server ends ...

Posted by edontee on Tue, 10 Mar 2020 03:01:08 -0700

H5 develops the mobile page. After the detail page returns to the list page, the page refresh fails to locate the original location. The problem is solved

1, Problem Description: 1. In the development of mobile terminal, the list page is generally used to add the content of the next page to the end of the current list page to realize the paging function. When sliding down to a page, click a piece of information to enter the details page, and then click the return of the details page to return to ...

Posted by Shaped on Tue, 10 Mar 2020 02:19:27 -0700

CSRF (Cross Site Request Forgery) Cross Site Request Forgery

0. Preface CRSF is based on session, which sounds like XSS cross site scripting attack, but in fact, the attack mode is totally different. When I wrote XSS, I mentioned that many websites would use cookie s to save the login information of users. For example, when I finished using CSDN last night, I c ...

Posted by Kryllster on Mon, 09 Mar 2020 22:06:02 -0700

CRUD of MyBatis single table

crud of MyBatis single table Create maven project and add dependency, junit, mysql, and mybatis(3.4.6) Create the configuration file of mybatis under Resources <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http ...

Posted by mechamecha on Mon, 09 Mar 2020 20:28:34 -0700

Using sqlalchemy ORM to create tables and insert data

https://blog.csdn.net/littlely_ll/article/details/82706874 1. in storage import datetime import pandas as pd import sqlalchemy from sqlalchemy import create_engine from sqlalchemy.sql import text, func from sqlalchemy.orm import sessionmaker,relationship from sqlalchemy.ext.declarative import decla ...

Posted by kane007 on Mon, 09 Mar 2020 02:28:32 -0700

The use and source code analysis of mybatis

Source code of the project: https://github.com/zhuquanwen/mybatis-learn/releases/tag/with-annotation Construction process: Based on the previous article, some processes are not described in detail. The previous source code has been attached. Please refer to the previous article: https://blog.csdn.net/u0 ...

Posted by davieboy on Sat, 07 Mar 2020 23:49:30 -0800

3 first hibernate program (IDEA+Maven+Hibernate)

1.3 first hibernate program (IDEA+Maven+Hibernate) 1.3.1 create project 1. Create a Maven project first .2. Improve the project We need to create the successful project directory structure manually. Create the java and resources folders in the main directory.       &em ...

Posted by cinos11 on Sat, 07 Mar 2020 23:33:30 -0800