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 dependencies
- Migrate from OpenJPA to EclipseLink JPA
- Use modernized
javax.lang.model.util
APIs - Use modernized
javax.xml.stream
APIs - Use the latest JAX-WS API and runtime for Jakarta EE 8
Recipes
@ElementCollection
annotations must be accompanied by a defined@Column
annotation@Embeddable
classes cannot have an@Id
annotation when referenced by an@EmbeddedId
annotation@Entity
objects with constructors must also have a default constructor@JoinColumn
annotations 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
@Transient
annotation - Remove the
@Temporal
annotation for somejava.sql
attributes - Unannotated collection attributes require a Transient annotation
- Unannotated entity attributes require a Transient annotation
- Use HttpServletRequest
logout
method 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.monitor
APIs - Use the latest JAX-WS API and runtime for Jakarta EE 8
- Use the latest JAX-WS API and runtime for Jakarta EE 8