Build a simple SSM framework with idea: (3) Configure spring+mybatis

Before that, please check: Build a simple SSM framework using idea: (1) Create maven projects using idea Build a simple SSM framework with idea: (2) Configure spring MVC   1 Configure spring and mybatis integration files The integration of spring and mybatis is divided into three steps: (1) configuring database, (2) configuring SqlSession Facto ...

Posted on Tue, 16 Jul 2019 12:40:51 -0700 by bmcewan

Listeners First [Basic concepts, Servlet listeners]

What is a listener A listener is a common java program that implements a specific interface. This program is designed to listen for method calls or property changes of another java object. When these events occur on the listened object, a method of the listener will be executed immediately. Why do we use monitors? The listener can be ...

Posted on Tue, 16 Jul 2019 09:31:00 -0700 by Sianide

Maven Engineering Practice

Preface Although Gradle is gaining momentum, Maven remains the preferred choice for Java project construction. This article briefly introduces some Maven project practices Multiple modules If a project is more complex or expected to become more complex in the future, it can be divided into several modules, the commonly used method of module: C ...

Posted on Tue, 16 Jul 2019 09:22:59 -0700 by bundred

Material Design Guidelines for Use and Development

Preface Material Design, Chinese name: Material Design Language, is a completely new design language launched by Google. Google said that this design language aims to provide a more consistent and wider "look and feel" for mobile phones, tablets, desktops and "other platforms". Reference resources: Material Design Ch ...

Posted on Mon, 15 Jul 2019 16:29:23 -0700 by highrevhosting

Simple Differences Between Animation and Animar

In previous blogs, I've talked about how to use view animation, how to use interpolators and how to customize your own interpolators. In this blog, I'll tell you about the simple difference between animator and animation. Compared with view animation, what are the advantages of attribute animation? First, all attribute animation can be done by ...

Posted on Mon, 15 Jul 2019 16:18:15 -0700 by BITRU

How to Build Distributed Engineering in maven--Integrating SSM

1. Configure mybatis resource spring in camel-manger-web image.png mybatis package SqlMapConfig.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"> <configuration> <!-- Configure ...

Posted on Mon, 15 Jul 2019 11:24:31 -0700 by enoyhs

Android Design Mode (2) - Builder Mode

Builder mode is a step-by-step creation mode for creating complex objects.Allows users to have finer control over the construction process without knowing the details of the internal build.This pattern is designed to separate the build process from the representation so that both the build process and the components can be freely extended and ...

Posted on Mon, 15 Jul 2019 10:00:25 -0700 by Ixplodestuff8

View's Click Event

1. Onclick property specification public class FirstActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_first); } public void welcome(View view) { Toast.makeText(this,"Welcome",T ...

Posted on Mon, 15 Jul 2019 09:59:34 -0700 by advancedfuture

Summary of Common maven Plug-ins

maven is a popular building tool in java projects, especially the plug-ins it provides. If used properly, the whole project development process will benefit, thus improving the efficiency of research and development, testing and deployment. Here are a few common plug-ins used to facilitate their own review in the future, but also for interested ...

Posted on Sun, 14 Jul 2019 17:52:30 -0700 by robert_w_ark

Fragment's Packing Problems and Relevant Attentions

We know that android sdk has a v4 package, which, like v7, is mainly used to implement low-level version compatibility of some functions. The official launch of Fragment is after 3.0. If we want to be compatible with Android version 1.6, we need to use Fragment in v4 package. Let's first see which packages need to be imported for normal use ( ...

Posted on Fri, 12 Jul 2019 12:40:18 -0700 by TomatoLover