Hysen Labs
Library / SDK
binarywang/WxJava avatar
binarywang

WxJava

微信开发 Java SDK ,支持包括微信支付,开放平台,小程序,企业微信,视频号,公众号等的后端开发

33,021 stars9,058 forksJavaApache-2.0
01
DEEP OPEN-SOURCE ANALYSIS

WxJava: six modules behind WeChat development in Java

WxJava is a Java SDK for WeChat backend development. Separate modules cover official accounts, mini programs, payment, enterprise WeChat, the open platform, and video accounts and shops.

02
DEEP OPEN-SOURCE ANALYSIS

Pick a module by what you are building

The README starts with a table that maps a business scenario to a module. WeChat official account development points to MP with the artifact weixin-java-mp. Mini programs map to MiniApp and weixin-java-miniapp, payment to Pay and weixin-java-pay, enterprise WeChat to CP, the open platform to Open, and video accounts or shops to Channel. For mobile apps, a note clarifies that client integration still uses the official iOS and Android SDKs, while this project stays on the server side.

03
DEEP OPEN-SOURCE ANALYSIS

What new users are told up front

The README is blunt that this is an SDK toolkit, not a web implementation, and recommends pulling it in with Maven or Gradle. Multi-module projects are pointed at a BOM called wx-java-bom, available from version 4.8.3.B, to keep versions in one place. Compilation relies on Lombok, so the docs suggest learning that first. The minimum JDK is 8, with older JDK 7 users directed to WxJava 3.8.0 and earlier.

04
DEEP OPEN-SOURCE ANALYSIS

A half-year release rhythm

Formal versions come out roughly every six months, with quick timestamp-based builds after each code change. When a formal version is released, the develop branch merges into release and versions take the X.X.0 shape, while test versions carry a B suffix. The README points at 4.8.0 as the latest formal release and links per-module version lookups.

05
DEEP OPEN-SOURCE ANALYSIS

Docs, groups, and one award

The development wiki holds a FAQ that beginners are told to read before opening issues. Javadoc is hosted online for modules including weixin-java-miniapp, weixin-java-pay, weixin-java-mp, weixin-java-common, weixin-java-cp, and weixin-java-open. The project also notes a GitCode 2024 award for top ten open source communities, and there are QQ, WeChat, and DingTalk groups with a code of conduct that asks people to search before asking.

07
DEEP OPEN-SOURCE ANALYSIS

Official sources

08
Community notes

Community notes