Web development | hibernate - 06. Persistence class concept and operation of Hibernate

1. What is a persistence class 1. Persistence class: it is a Java class (the JavaBean we wrote), which can be a persistence class if the mapping relationship between the Java class and the table is established. Persistence class = JavaBean + xxx.hbm.xml 2. The concept of persistent classes exists in the Hibernate framework e ...

Posted by just me and php on Sat, 28 Mar 2020 09:10:22 -0700

HBase-1.2.1 cluster building

1.hbase is a distributed system, which needs to rely on HDFS as the storage medium and zookeeper to complete the monitoring of the master-slave nodes. 2. Installation preparation is as follows: 1.HBase role HMaster (master node, one Active, one StandBy) Hreginserver (data node, multiple) 2. dependence HDFS cluster, zookeeper cluster [start] ...

Posted by upnxwood16 on Fri, 27 Mar 2020 07:23:00 -0700

Java integration Alibaba big fish

Next, we learned the message service of Alida fish This article integrates it into the code 1. Use API to send SMS Step 1: view help documents Ali big fish API https://help.aliyun.com/product/44282.html?spm=5176.12212976.0.0.15b31cbeK3Pm5Y Step 2: determine the code in Java development Example demo https://help.aliyun.com/document_detail/ ...

Posted by jabba_29 on Fri, 27 Mar 2020 03:57:42 -0700

Python3 Standard Library: xml.etree.ElementTree XML Manipulation API

1. xml.etree.ElementTree XML Manipulation API The ElementTree library provides tools for parsing XML using event-based and document-based API s, searching for parsed documents using XPath expressions, and creating new documents or modifying existing ones. 1.1 Parsing XML documents Parsed XML documents are represented in memory by ElementTree an ...

Posted by bobc on Thu, 26 Mar 2020 20:48:03 -0700

A comprehensive understanding of Java reflection mechanism

Java's reflection mechanism is ubiquitous in practice. If you have worked for several years and have a little knowledge of Java's reflection mechanism, this article is definitely worth reading. What is reflex Reflection is one of the characteristics of Java. It allows running Java programs to obtain their own information and manipulate the inte ...

Posted by lifeson2112 on Wed, 25 Mar 2020 16:55:01 -0700

Various path issues for Request requests

From: https://blog.csdn.net/qq_27770257/article/details/79438987 Recently, there has been some confusion about several "paths" in request, and the search for online resources is not well summarized. I hope this article can help me understand these "paths".(+++++++++++++++++++++++++++++++++++++++++++++++++ T ...

Posted by benutne on Wed, 25 Mar 2020 09:32:39 -0700

Spring boot -- loading in the preparation stage of spring application

Learning notes are notes made according to my own needs and understanding after learning the core technology of Spring Boot 2.0 in-depth practice by brother Ma on mooc.com. Preface Spring boot is built based on spring, that is to say, Spring Framework is the basis of learning spring boot well. First of all, the premise of und ...

Posted by NiallThistle on Sun, 22 Mar 2020 09:18:17 -0700

Interceptors for Spring MVC

Original link: http://www.yiidian.com/springmvc/interceptor.html Interceptors in Spring MVC are similar to filters in Servlet s, which are used to intercept user requests and process them accordingly.For example, the Interceptor can verify permissions, log requests, determine whether users are logged in, and so on. To use interceptors in Spring ...

Posted by cordex on Sat, 21 Mar 2020 17:44:14 -0700

Use of ControllerAdvice annotations

In order to facilitate the unified management of exceptions, spring mvc provides controlleradvise annotation to deal with exceptions in a unified way. After getting the exception information, you can sit and handle it. For example, it provides a unified web interface to view the exception information, or it sends SMS or email t ...

Posted by Zaid on Fri, 20 Mar 2020 12:20:20 -0700

Java single application - common framework - 05. Integrated instance (IOT admin)

Original address: http://www.work100.net/training/monolithic-frameworks-example.htmlMore tutorials: Beam cloud - free course Comprehensive example Serial number Chapter in text video 1 Summary - 2 Create project - 3 Use AdminLTE template - 4 Create landing page - 5 Login function implementation - 6 Enhance user experience - 7 ...

Posted by funkyres on Fri, 20 Mar 2020 04:18:12 -0700