# the opening

The most indispensable thing for e-commerce platforms is instant messaging, such as notification delivery and customer service chat. Today, I will share with you an open source instant messaging system. If not interested in the article can directly skip to the end of the article, there is a way to obtain the source link.

! [a Java open source IM Springboot instant messaging, attached to the source code] (https://p6-tt.byteimg.com/origin/pgc-image/5022258217e34b228af2aaffe99f675b?from=pc)

But the content of the article is to need you to simply over, I believe you can get to a lot of SAO operation.

# Project Introduction

This project is a push system based on mina or NetTY framework. Perhaps some enterprises need their own instant messaging system, CIM provides a solution for you. Currently, CIM supports Websocket, Android, ios and desktop applications. Multi-terminal access support for system applications, which can be applied to mobile applications, Internet of things, smart home, embedded development, desktop applications, WEB applications and instant elimination services between background systems.

# Project Architecture

The structure of instant messaging chat is relatively simple, usually A server + client, which can realize the chat between user A and user B. The key is to see if cluster scaling is supported.

! [a Java open source IM Springboot instant messaging, attached to the source code] (https://p3-tt.byteimg.com/origin/pgc-image/41b242cdae184278bbc5ba620144e723?from=pc)

Chat architecture

# Main modules of the project

The project is divided into server side and client side. The server side is netty integrated Websocket, and the client side has various forms, which are all called server side. This article will not focus on the introduction.

# directory description

  • Cim -use-examples are examples used by each client

  • Cim -client- SDK is the SDK source code of each client

  • Cim -server- SDK is the source of the server SDK, divided into mina and Netty two versions, one of the two

  • Cim – boot-Server is springboot server project source, using Idea tool development

All SDKS are IntelliJ IDEA projects, and Maven is packaged into JAR exports and introduced into the corresponding client or server projects.

# Feature preview

1. Console page http://127.0.0.1:8080

! [a Java open source IM Springboot instant messaging, attached to the source code] (https://p1-tt.byteimg.com/origin/pgc-image/c7bf0bcd12314174aba5ec0d2865ba65?from=pc)

2. Android client

! [a Java open source IM Springboot instant messaging, attached to the source code] (https://p1-tt.byteimg.com/origin/pgc-image/f66c56bca6ca45e991c6423bee1af50e?from=pc)

3. Web client

! [a Java open source IM Springboot instant messaging, attached to the source code] (https://p6-tt.byteimg.com/origin/pgc-image/5a875fdf63384a929f77a7bb7c0eb141?from=pc)

# epilogue

This set of open source instant messaging system, can be changed to push, can also be changed to chat, back-end change can be used directly, the focus is not in the front end, but Android and ios and Web support, their own code examples, is worth collecting, their first look at the article, feel can be collected, slowly see.

Forward + follow if needed

Forward + follow if needed

Scan below if you need to