Boost Spring Cloud Development with Mica: The Lightweight Core Library

Mica is a lightweight Java 8 library that enhances Spring Cloud by providing core microservice capabilities, supporting both Servlet and Reactive models, auto‑generating configuration, and offering features like XML/HTML to Bean conversion, retry mechanisms, and extensive update notes, with documentation and examples available online.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
Boost Spring Cloud Development with Mica: The Lightweight Core Library

Mica (Cloud Mother)

Mica, meaning "cloud mother", is the core of cloud services, enhancing Spring Cloud functionality for faster and easier development.

Mica Core Dependencies

Mica is built on Java 8, has no legacy baggage, supports both traditional Servlet and Reactive (WebFlux). It uses mica-auto to auto-generate spring.factories and spring-devtools.properties, depends only on Spring Boot and the Spring Cloud suite, with no third‑party dependencies.

Dependencies: Spring 5.x, Spring Boot 2.1.x, Spring Cloud Greenwich.

Update Notes

⚡ Optimize README with documentation link.

⚡ Add .codacy.yml configuration.

⚡ Add mica-laytpl module.

⚡ Enhance XmlHelper in mica-core to support safe and unsafe modes.

⚡ mica-http: HTML/XML to Bean conversion with type conversion.

⚡ mica-http: Add retry mechanism.

⚡ mica-http: Add EventListener.

⚡ mica-http: Optimize interceptor, support multiple, move log interceptor to the end.

⚡ Gradle: use platform replace enforcedPlatform.

⚡ mica-cloud: Optimize RestTemplate Bean with configuration switch, disabled by default.

⬆️ Dependency upgrade: swagger‑bootstrap‑ui to 1.9.5.

1. Introduction

mica-http has been refined since v1.1.3 and is becoming a lightweight crawler tool.

2. Crawler Proxy and Retry

3. Page Crawling

4. Model

Documentation

Official docs: https://www.dreamlu.net/#/doc/docs

Yuque docs (follow/subscribe): https://www.yuque.com/dreamlu/mica

Example project: https://github.com/lets-mica/mica-example

Follow Us

Scan the QR code above for more exciting content recommended daily!

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

JavaSpring Cloudmica
Java Architecture Diary
Written by

Java Architecture Diary

Committed to sharing original, high‑quality technical articles; no fluff or promotional content.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.