Jakarta
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- Faces XHTML migration for Jakarta EE 10
- JNDI name
jsf/ClientSideSecretKey
has been renamed tofaces/ClientSideSecretKey
, and thejsf/FlashSecretKey
JNDI name has been renamed tofaces/FlashSecretKey
- JSF 2.x to Jakarta Faces 4.x
- Migrate Ehcache from javax to jakarta namespace
- Migrate JSF values inside EcmaScript files
- Migrate Jackson from javax to jakarta namespace
- Migrate Johnzon from javax to jakarta namespace
- Migrate deprecated
javaee-api
dependencies tojakarta.platform
- Migrate deprecated
javax.activation
packages tojakarta.activation
- Migrate deprecated
javax.annotation
tojakarta.annotation
- Migrate deprecated
javax.batch
packages tojakarta.batch
- Migrate deprecated
javax.decorator
packages tojakarta.decorator
- Migrate deprecated
javax.ejb
packages tojakarta.ejb
- Migrate deprecated
javax.el
packages tojakarta.el
- Migrate deprecated
javax.enterprise
packages tojakarta.enterprise
- Migrate deprecated
javax.faces
packages tojakarta.faces
- Migrate deprecated
javax.inject
packages tojakarta.inject
- Migrate deprecated
javax.interceptor
packages tojakarta.interceptor
- Migrate deprecated
javax.jms
packages tojakarta.jms
- Migrate deprecated
javax.json
packages tojakarta.json
- Migrate deprecated
javax.jws
packages tojakarta.jws
- Migrate deprecated
javax.mail
packages tojakarta.mail
- Migrate deprecated
javax.persistence
packages tojakarta.persistence
- Migrate deprecated
javax.resource
packages tojakarta.resource
- Migrate deprecated
javax.security.auth.message
packages tojakarta.security.auth.message
- Migrate deprecated
javax.security.enterprise
packages tojakarta.security.enterprise
- Migrate deprecated
javax.security.jacc
packages tojakarta.security.jacc
- Migrate deprecated
javax.servlet
packages tojakarta.servlet
- Migrate deprecated
javax.soap
packages tojakarta.soap
- Migrate deprecated
javax.transaction
packages tojakarta.transaction
- Migrate deprecated
javax.validation
packages tojakarta.validation
- Migrate deprecated
javax.websocket
packages tojakarta.websocket
- Migrate deprecated
javax.ws
packages tojakarta.ws
- Migrate deprecated
javax.xml.bind
packages tojakarta.xml.bind
- Migrate deprecated
javax.xml.ws
packages tojakarta.xml.ws
- Migrate
org.apache.ws.security
andorg.apache.ws.security.components.crypto
packages toorg.apache.wss4j.common.ext
andorg.apache.wss4j.common.crypto
packages - Migrate to Jakarta EE 10
- Migrate to Jakarta EE 9
- Migrate xmlns entries and javax. packages in
ejb-jar.xml
files - Migrate xmlns entries and javax. packages in
validation.xml
files - Migrate xmlns entries in
beans.xml
files - Migrate xmlns entries in
faces-config.xml
files - Migrate xmlns entries in
orm.xml
files - Migrate xmlns entries in
persistence.xml
files - Migrate xmlns entries in
taglib.xml
files - Migrate xmlns entries in
web-fragment.xml
files - Migrate xmlns entries in
web.xml
files - Remove deprecated API's not supported in CDI4.0
- Remove
getComment
andgetVersion
methods - Remove
jakarta.annotation-api
dependency when managed by Spring Boot - Replace deprecated Jakarta Servlet methods and classes
- Replace
CURRENT_COMPONENT
andCURRENT_COMPOSITE_COMPONENT
withgetCurrentComponent()
andgetCurrentCompositeComponent()
- Replace
ResourceResolver
withResourceHandler
- Replace
doUpgrade(..)
withServerContainer.upgradeHttpToWebSocket(..)
- Substitute deprecated Faces Managed Beans
- Upgrade Faces open source libraries
- Use
StateManagementStrategy
- Use
jakarta.el
instead ofjakarta.faces.el
andjavax.faces.el
- Use
jakarta.xml.soap.SOAPFactory
to createSOAPElements
Recipes
- Migrate Bean Validation messages
- Migrate RestAssured from javax to jakarta namespace by upgrading to a version compatible with J2EE9
- Remove
Bean.isNullable()
- Remove trailing slash from
jakarta.ws.rs.ApplicationPath
values - Rename CDI Extension to Jakarta
- Replace
BeforeBeanDiscovery.addAnnotatedType(AnnotatedType)
withaddAnnotatedType(AnnotatedType, String)
- Update Jakarta EE Platform Dependencies to 10.0.0
- Update Jakarta EE annotation Dependencies to 2.1.x.
- Update
fireEvent()
andcreateInjectionTarget()
calls - Updates
getRealPath()
to callgetContext()
followed bygetRealPath()
- Use
isParametersProvided()