codegenomeproject
Search
MarketplaceModules
PackagesCLIMCP
Sign in
  1. Marketplace
  2. Quarkus
  3. Migrate JavaEE Code to Quarkus 2

Migrate JavaEE Code to Quarkus 2

Apache 2.0

Migrate Standard JavaEE Code to Quarkus 2.

org.openrewrite.quarkus.migrate.javaee.JavaEEtoQuarkus2CodeMigration
mod run . --recipe=org.openrewrite.quarkus.migrate.javaee.JavaEEtoQuarkus2CodeMigration

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

Recipe
  1. Change type Stateless to Dependent
  2. Change type Stateful to SessionScoped
  3. Change type Singleton to ApplicationScoped
  4. Remove annotation attribute @EJB(name)
  5. Remove annotation attribute @EJB(description)
  6. Remove annotation attribute @EJB(beanName)
  7. Remove annotation attribute @EJB(beanInterface)
  8. Remove annotation attribute @EJB(mappedName)
  9. Remove annotation attribute @EJB(lookup)
  10. Change type EJB to Inject
  11. Remove annotation @javax.ejb.Local
  12. Remove annotation attribute @PersistenceContext(name)
  13. Remove annotation attribute @PersistenceContext(unitName)
  14. Remove annotation attribute @PersistenceContext(type)
  15. Remove annotation attribute @PersistenceContext(synchronization)
  16. Remove annotation attribute @PersistenceContext(properties)
  17. Change type PersistenceContext to Inject
© Moderne, 2026
Recipe indexPrivacyTerms