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
- Migrate the JAX-WS Maven plugin
- Replace
one.gfwJAXB artifacts with their official coordinates - Use modernized
javax.lang.model.utilAPIs - Use modernized
javax.xml.streamAPIs - Use the latest JAX-WS API and runtime for Jakarta EE 8
Recipes
- Add
@Transientto private accessor methods - Add
@Transientto unannotated collection attributes - Add
@Transientto unannotated entity attributes - Add a
@TableGeneratorto automatically generated@GeneratedValueattributes - Add a default constructor to
@Entityand@MappedSuperclassclasses - Add an API dependency for explicit imports
- Add scope annotation to injected classes
- Call
HttpServletRequest.logout()beforeHttpSession.invalidate() - Remove
@Idfrom@Embeddableclasses referenced by an@EmbeddedId - Remove the
@Temporalannotation for somejava.sqlattributes - Replace
@Columnwith@JoinColumnon relationship mappings - Set
@Column(name = "element")on@ElementCollectionattributes - 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