Use of ViewModel and Livedata of jettpack architecture components

Author: stars one Reprint address: https://juejin.cn/post/7128993794283798536 The Jetpack architecture recommends the use of MVVM structure. For this reason, several MVVM component libraries have been launched for our developers to quickly access. The first thing to talk about is ViewModel Personal understanding: Activity is View, VM is ...

Posted by hassanz25 on Wed, 17 Aug 2022 10:50:46 +0300

Want to know how Java Web communication develops. Is TCP and IP protocol just TCP and IP protocol?

Author: Le byte - Keng Wang Lao Xue For our developers who study technology, there are many technologies. At present, they may feel very complex and powerful, but in fact, all these technologies have been achieved through the gradual efforts of predecessors from the most basic functions over time. We are standing on the shoulders of many gian ...

Posted by subcool on Sat, 21 May 2022 20:48:37 +0300

Beijing Taobao project day02

1.SpringBoot program enhancement 1.1 attribute assignment Note: if the configuration information is written into the code in the form of code, the coupling of the program is high and it is inconvenient to expand Requirement: whether the attribute of the object can be assigned dynamically package com.jt.controller; import org.springframework.we ...

Posted by tnewton on Sat, 21 May 2022 18:13:23 +0300

Invest in a milk tea shop and coffee shop (code implementation) [the web page can be modified by yourself]

catalogue 1 investment 2 coffee shop code display 2.1 ideological source 2.2? Pictures and videos 2.3 code 2.4 write at the end? 1 investment **There is only one criterion for real investment, that is, whether it is creating real value and whether this value is beneficial to the overall prosperity of society** Adhering to this standar ...

Posted by solar_ninja on Fri, 20 May 2022 23:52:30 +0300

SOA distributed software architecture combined with Domain Driven Design

1, Definition of SOA and DDD SOA and DDD are common system architectures, but the core of them is different. SOA (service-Oriented Architecture) was proposed by Gartner in 1996. It is a distributed software architecture. It can deploy, combine and use loosely coupled coarse-grained application components through the network according to requi ...

Posted by marcela1637 on Wed, 18 May 2022 13:32:18 +0300

How does the Mybatis framework implement dynamic SQL?

How does the Mybatis framework implement dynamic SQL? One of the powerful features of MySQL is its dynamics. If you have experience using JDBC or other similar frameworks, you can realize how painful it is to splice sql statements according to different conditions. When splicing, make sure you don't forget the necessary spaces, and pay attentio ...

Posted by kovudalion on Sun, 15 May 2022 17:41:32 +0300

A bug triggered a contest between hair. I won an overwhelming victory. Can you keep your hair?

I met a very strange problem while debugging the company's project a few days ago. Today I'll study it here Follow official account: Java architects alliance, update technical articles every day scene As a PDA interface is newly added to the company to query the historical parking flow data, I first check the qualified data from the database ...

Posted by Sangre on Fri, 06 May 2022 20:42:28 +0300

[Java advanced camp] Java concurrency -- CountDownLatch + CyclicBarrier

// There are unreconciled orders while (existUnreconciledOrders()) { // Query unreconciled orders pOrder = getPOrder(); // Query dispatch order dOrder = getDOrder(); // Perform reconciliation Order diff = check(pOrder, dOrder); // Write difference to difference Library save(diff); } Performance bottleneck [ ...

Posted by genesysmedia on Tue, 03 May 2022 06:57:07 +0300

Security statement markup language saml2 0 preliminary study

brief introduction SAML, whose full name is Security Assertion Markup Language, is a set of open standards based on XML format developed by OASIS, which is used to exchange authentication and authorization data between identity providers (IDPs) and service providers (SPS). Web based SSO is a very important application. Next, let's take a look a ...

Posted by SlyOne on Mon, 02 May 2022 03:20:25 +0300

[Java advanced camp] SpringBoot technology topic - integrating SpringCache and Redis

Spring annotation based caching For cache declaration, spring's cache provides a set of java annotations: @Cacheable: trigger cache write. @CacheEvict: triggers cache cleanup. @CachePut: updates the cache (does not affect the operation of the method). @Caching: recombines multiple cache operations to be applied to the method. @Cach ...

Posted by Ruzzas on Mon, 25 Apr 2022 14:17:44 +0300