finds.dev← search

// the find

xuwujing/java-study

★ 1,304 · Java · Apache-2.0 · updated Jan 2024

java-study 是本人学习Java过程中记录的一些代码!从Java基础的数据类型、jdk1.8的Lambda、Stream和日期的使用、 IO流、数据集合、多线程使用、并发编程、23种设计模式示例代码、常用的工具类, 以及一些常用框架,netty、mina、springboot、kafka、storm、zookeeper、redis、elasticsearch、hbase、hive等等。

A personal Java learning notebook covering basics through distributed systems — JDK 8 features, all 23 GoF patterns, Netty/Mina NIO, Kafka, Storm, HBase, Elasticsearch, Redis, and a grab-bag of utility classes. It's aimed at developers who want runnable examples alongside the author's Chinese-language blog posts. Not a library, not a framework — just annotated code you clone and run.

Each technology gets its own package with isolated, runnable main-method examples — easy to pull a single snippet without untangling a larger app. The concurrent/thread section goes beyond toy examples into volatile, lock fairness, and livelock scenarios, which is more honest about Java threading than most tutorial repos. The design patterns coverage is complete: all 23 GoF patterns with dedicated test classes rather than cramming everything into one file. The companion blog series on Elasticsearch (10+ posts) gives meaningful depth that the code alone doesn't.

Last push was January 2024 and the ES client code uses the deprecated high-level REST client — anyone copying that today will hit deprecation walls against ES 8.x. The Netty examples top out at Netty 4 basics with no mention of codecs, idle handlers, or anything you'd actually ship; demo1 through demo6 are variations on hello-world. No tests whatsoever — every class is a main() you run manually, so there's nothing to diff against when dependencies change. Storm and HBase are effectively dead-end technologies for most new projects, and those sections haven't been touched in years.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →