Quick Start for BDUtils

Summary The main purpose of this article is to help users get started using BDUtils quickly, so there will not be many articles on the principles and related concepts, and only introduce some commonly used classes and methods., start. premise Learn about the basic operations of JDBC. Introduction to BDUtils commons-dbutils is an open ...

Posted by neodaemon on Sat, 06 Jul 2019 13:26:02 -0700

ActiveMQ (13): Cluster of ActiveMQ

I. Brief Introduction1.1 Queue consumer clustersActiveMQ supports consumers'load-balanced consumption of highly reliable messages, and if a Consumer dies, the message is forwarded to other Queue s consumed by Constumer.If a Consumer gets news faster than other consumers, he will get more news.Therefore, it is recommended that Broker and Client ...

Posted by dcro2 on Fri, 05 Jul 2019 13:16:38 -0700

JavaWeb Starter-level Project Reality--Article Publishing System (Section 5)

In the previous section, we successfully passed data from the JSP page in the foreground to the controller layer, but we haven't written the service layer yet. To be honest, there's still a lot of work to do, especially with links to databases. So in this section, we'll focus on database connections. 01 Preamble You may have heard many new te ...

Posted by rubric on Fri, 05 Jul 2019 09:19:51 -0700

[Spring Source Analysis]. properties File Reading and Placeholder ${...} Replacement Source Parsing

Preface We often encounter a scenario in development where some parameters in beans are fixed. In this case, we usually configure these parameters in the. properties file, and then use Spring to replace the parameters in the. properties file with placeholder "${}" when the beans are instantiated. Type read in and set to the correspond ...

Posted by onlyican on Thu, 04 Jul 2019 13:48:55 -0700

Servlet from entry to proficiency

Servlet from entry to proficiency Introduction to Servlet Servlet is a technology provided by sun Company for developing dynamic web resources. Sun provides a servlet interface in its API. Users need to complete the following two steps if they want to send a dynamic web resource (that is, to develop a Java program to output data to the bro ...

Posted by not_skeletor on Wed, 03 Jul 2019 18:11:59 -0700

Database Connection Pool DBCP and C3P0 Details

The database connection pool is generally indispensable to the development of actual projects. Here are two most commonly used open source database connection pool components: DBCP component and C3P0 component. 1.Why use database connection pooling The known method is to make a database connection once when the database needs to be acc ...

Posted by Dragoonus on Tue, 02 Jul 2019 09:49:57 -0700

SpringBook Framework @EableAutoConfiguration Project Application

Scenario: In the project, if you want to automatically assemble other customized Maven project library configurations in the current maven project, you will get multiple maven references. If you want simple configurations, spring boot will automatically assemble database configuration classes. From then on, we think about how our new project a ...

Posted by sasori on Sun, 30 Jun 2019 16:38:56 -0700

Spring Chapter 7 [JDBC Modules for Spring]

Preface The last Spring blog article mainly explained how to use Spring to implement AOP programming. This blog article mainly explained Spring's support for JDBC. For JDBC, we are certainly not unfamiliar, we must have written a lot of JDBC template code when we first learned! Review the process of template code optimization Let's recal ...

Posted by electrix on Sun, 30 Jun 2019 14:22:31 -0700

Detailed explanation of Hibernate configuration file hibernate.cfg.xml

The starting line of a standard XML file, version='1.0'indicates the version of the XML, encoding='gb2312' indicates how the XML file is encoded <?xml version='1.0' encoding='Utf-8'?> Indicates the location of the DTD document where the XML file is parsed. DTD is the abbreviation for Document Type Definition, which is the definition of ...

Posted by colandy on Wed, 26 Jun 2019 10:11:49 -0700

1. The housekeeper project

01 Project Training Objectives * A: Project training objectives * a: Project objectives * Comprehensive use of the knowledge points learned before * Skilled in method invocation operation among View layer, Service layer and Dao layer. * Skilled dbutils operation database tables to complete add, delete and change chec ...

Posted by yitanpaocai on Tue, 25 Jun 2019 15:21:16 -0700