codegen-assets icon indicating copy to clipboard operation
codegen-assets copied to clipboard

Add Java Quarkus codegen

Open Keyruu opened this issue 2 years ago • 1 comments

Quarkus is a very good microservice framework for Java. The codegen is fairly simple and straight forward. This is actually just the JAX RS syntax for a REST resource. So it could work with any framework that uses JAX RS (Java EE, Jakarta EE, Microprofile compatible).

Keyruu avatar Jul 27 '22 20:07 Keyruu

Great idea! Thanks for the commit.

Just a few small pieces of feedback:

  1. Does the resource class need to be @ApplicationScoped?
  2. Quarkus is undergoing migration to Jakarta EE namespace, so to future-proof this probably better to use jakarta instead of javax
  3. Probably best to call it JAX-RS codegen, maybe something like java-jax-rs

GavinRay97 avatar Aug 22 '22 17:08 GavinRay97