javax APIs
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- Add explicit Common Annotations dependencies
- Add explicit Inject dependencies
- Add explicit JAX-WS dependencies
- Add explicit JAXB API dependencies
- Add explicit JAXB API dependencies and remove runtimes
- Add explicit JAXB API dependencies and runtime
- Migrate from OpenJPA to EclipseLink JPA
- Use modernized
javax.lang.model.utilAPIs - Use modernized
javax.xml.streamAPIs - Use the latest JAX-WS API and runtime for Jakarta EE 8
Recipes
@ElementCollectionannotations must be accompanied by a defined@Columnannotation@Embeddableclasses cannot have an@Idannotation when referenced by an@EmbeddedIdannotation@Entityobjects with constructors must also have a default constructor@JoinColumnannotations must be used with relationship mappings- Add scope annotation to injected classes
- Attributes with automatically generated values require configuration
- Private accessor methods must have a
@Transientannotation - Remove the
@Temporalannotation for somejava.sqlattributes - Unannotated collection attributes require a Transient annotation
- Unannotated entity attributes require a Transient annotation
- Use HttpServletRequest
logoutmethod for programmatic security logout in Servlet 3.0 - Use
javax.lang.model.util.AbstractAnnotationValueVisitor9 - Use
javax.lang.model.util.AbstractElementVisitor9 - Use
javax.lang.model.util.AbstractTypeVisitor9 - Use
javax.lang.model.util.ElementKindVisitor9 - Use
javax.lang.model.util.ElementScanner9 - Use
javax.lang.model.util.SimpleAnnotationValueVisitor9 - Use
javax.lang.model.util.SimpleElementVisitor9 - Use
javax.lang.model.util.SimpleTypeVisitor9 - Use
javax.lang.model.util.TypeKindVisitor9 - Use
javax.management.monitor.CounterMonitor#setInitThreshold - Use
javax.xml.stream.XMLEventFactory#newFactory(String, ClassLoader) - Use
javax.xml.stream.XMLInputFactory#newFactory(String, ClassLoader) - Use
javax.xml.stream.XMLOutputFactory#newFactory(String, ClassLoader) - Use latest JAXB API and runtime for Jakarta EE 8
- Use modernized
javax.management.monitorAPIs - Use the latest JAX-WS API and runtime for Jakarta EE 8
- Use the latest JAX-WS API and runtime for Jakarta EE 8