Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.45 KB

File metadata and controls

43 lines (33 loc) · 1.45 KB

rust-java-rest v3.3.1

v3.3.1 makes the normal application entry point smaller without hiding handlers, resources, or runtime behavior. Existing annotations, handlers, services, and builder-based startup remain source-compatible.

What's New

  • Added RestApplication.run(Module...) for the minimal explicit lifecycle.
  • Added RestApplication.runStandard(Module...) for the property-controlled production feature lifecycle.
  • Added async launcher counterparts for embedded tests and controlled process startup.
  • Updated the sample application to select a named module in one line.
  • Registered the nested feature sample records for generated DSL-JSON serialization.
  • Kept resource ownership deterministic: context.manage(...) resources close in reverse order on startup failure and shutdown.

Recommended Bootstrap

public static void main(String[] args) {
    RestApplication.run(OrdersModule.INSTANCE);
}

Keep handler and resource wiring in OrdersModule. Use RestApplication.builder() only for custom ports, custom containers, or non-standard lifecycle integration.

Dependency

<dependency>
  <groupId>com.reactor</groupId>
  <artifactId>rust-java-rest</artifactId>
  <version>3.3.1</version>
</dependency>

Compatibility

  • Existing REST annotations and response types are unchanged.
  • Existing builder startup remains available.
  • Native ABI remains REST 23, Dubbo 5, and Redis 5; packaged DLL/SO files are unchanged.