Ali technical experts explain the Fourth Lecture of DDD series - domain layer design specification

During pit filling. Thank you for your expectation of DDD series. You are welcome to pay attention to this account and check the follow-up content. Address of the first part: Alibaba Amoy Technology: Alibaba technical experts explain the first lecture of DDD series - Domain Primitive891 agree · 70 comment articles are being uploaded... ...

Posted on Mon, 29 Nov 2021 12:59:27 -0500 by kevincompton

JDBC addition, deletion, query and modification of Java

preface JDBC is not only the specification of Java operating database, but also the core foundation. The principle of the future framework also encapsulates JDBC and uses reflection, annotation and design patterns to complete simplification. 1, JDBC architecture JDBC interface (API) includes two levels:Application oriented API: Java ...

Posted on Sun, 28 Nov 2021 02:37:32 -0500 by fukas

Reflection simple instance

First, case: payment function - > WeChat, Alipay, cloud flash payment and so on. Provide a payment interface package com.lmh; /**Provide payment interface * @author codelmh * @data 2021/11/24 */ public interface Payment { void payOnline(); }   Wechat payment implements payment interface package com.lmh; /** Wec ...

Posted on Wed, 24 Nov 2021 02:43:11 -0500 by jdubwelch

Java accesses class properties and calls methods through reflection

preface Reflection can access properties and call methods on any unknown class or object during code execution The idea of reflection is to establish a reference to the class, and then pass in the object name, access the object properties or call methods. The Java mechanism is to create a unique instance of each loaded class, and then ass ...

Posted on Mon, 08 Nov 2021 06:44:52 -0500 by pulsedriver

Examples of C# reflection

catalogue Experimental requirements background Step 1. Get a dll file Step 2. Build a txt file Step 3. Use reflection to view member information Step 4. User selects calling method Step5. Random call   Operation results   code Experimental requirements Build a components.txt file, and each line represents the name of a cla ...

Posted on Mon, 01 Nov 2021 07:29:19 -0400 by explorer

Reflection - class loading

Class loading Basic description: reflection mechanism is the key to Java's implementation of dynamic language, that is, class dynamic loading through reflection. Static loading: load relevant classes during compilation. If the relevant classes do not exist, an error will be reported, which is highly dependent.Dynamic loading: loads the requir ...

Posted on Sun, 24 Oct 2021 22:23:20 -0400 by obrienkev

The prototype derivation of IoC thought, whose control is reversed to whom

1. Basic concepts of IoC Inversion of Control (IoC) is a design principle in object-oriented programming, which can be used to reduce the coupling between computer codes. Through control inversion, when an object is created, the external entities of all objects in a control system pass the references of the objects it depends on to it. ...

Posted on Wed, 13 Oct 2021 11:01:13 -0400 by dreamkiller23

Loader like JAVA & Reflection & modularization

1. Class loader Class 1.1 loading 1.Description of class loading When a program wants to use a class, if the class has not been loaded into memory, the system will initialize the class through three steps: class loading, class connection and class initialization. If nothing unexpected happens, JVM These three steps will be completed cont ...

Posted on Sun, 19 Sep 2021 15:58:48 -0400 by riddhi