Migrate JavaEE Code to Quarkus 2
Apache 2.0Migrate Standard JavaEE Code to Quarkus 2.
org. openrewrite. quarkus. migrate. javaee. JavaEEtoQuarkus2CodeMigrationmod run . --recipe= org. openrewrite. quarkus. migrate. javaee. JavaEEtoQuarkus2CodeMigrationInstall 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.
- Change type
StatelesstoDependent - Change type
StatefultoSessionScoped - Change type
SingletontoApplicationScoped - Remove annotation attribute
@EJB(name) - Remove annotation attribute
@EJB(description) - Remove annotation attribute
@EJB(beanName) - Remove annotation attribute
@EJB(beanInterface) - Remove annotation attribute
@EJB(mappedName) - Remove annotation attribute
@EJB(lookup) - Change type
EJBtoInject - Remove annotation
@javax.ejb.Local - Remove annotation attribute
@PersistenceContext(name) - Remove annotation attribute
@PersistenceContext(unitName) - Remove annotation attribute
@PersistenceContext(type) - Remove annotation attribute
@PersistenceContext(synchronization) - Remove annotation attribute
@PersistenceContext(properties) - Change type
PersistenceContexttoInject