Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
github avatar

Javax To Jakarta Migration

  • 1 installs
  • 37.5k repo stars
  • Updated August 5, 2026
  • github/awesome-copilot

javax-to-jakarta-migration skill documents Migrate Java code from javax.

About

javax-to-jakarta-migration skill documents Migrate Java code from javax. to jakarta. namespace. Use when upgrading to Tomcat 11, Jakarta EE 10, or when javax imports are detected in the codebase.. name: javax-to-jakarta-migration description: "Migrate Java code from javax. to jakarta. namespace. Use when upgrading to Tomcat 11, Jakarta EE 10, or when javax imports are detected in the codebase."

  • Migrate Java code from javax.
  • Platform-specific setup patterns for javax-to-jakarta-migration.
  • Evidence-backed steps from upstream SKILL.md.
  • When-to-use criteria for javax-to-jakarta-migration versus alternatives.

Javax To Jakarta Migration by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,983 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

javax-to-jakarta-migration capabilities & compatibility

Capabilities
javax to jakarta migration quick start · javax to jakarta migration when to use guidance · javax to jakarta migration integration patterns
From the docs

What javax-to-jakarta-migration says it does

argument-hint: "File, package, or module to migrate"
SKILL.md
Upgrading to Tomcat 11 / Jakarta EE 10+
SKILL.md
npx skills add https://github.com/github/awesome-copilot --skill javax-to-jakarta-migration

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars37.5k
Last updatedAugust 5, 2026
Repositorygithub/awesome-copilot

How do I use javax-to-jakarta-migration correctly?

Migrate Java code from javax.* to jakarta.* namespace. Use when upgrading to Tomcat 11, Jakarta EE 10, or when javax imports are detected in the codebase.

Who is it for?

Teams implementing javax-to-jakarta-migration workflows from the catalog.

Skip if: Skip when requirements clearly match a different specialized stack.

When should I use this skill?

User asks about javax-to-jakarta-migration, migrate java code from javax.* to jakarta.* namespace. use when upgrading to tomcat 11, ja.

What you get

Working javax-to-jakarta-migration setup with validated configuration and next steps.

Files

SKILL.mdMarkdownGitHub ↗

javax → jakarta Migration Skill

When to Use

  • Upgrading to Tomcat 11 / Jakarta EE 10+
  • Code review detects javax.* imports
  • Migrating an existing project to the jakarta namespace

Procedure

Step 1 — Scan for javax Usage

Search the codebase for all javax.* imports that need migration:

javax.servlet.*      → jakarta.servlet.*
javax.persistence.*  → jakarta.persistence.*
javax.validation.*   → jakarta.validation.*
javax.annotation.*   → jakarta.annotation.*
javax.inject.*       → jakarta.inject.*
javax.enterprise.*   → jakarta.enterprise.*
javax.faces.*        → jakarta.faces.*
javax.ws.rs.*        → jakarta.ws.rs.*
javax.el.*           → jakarta.el.*
javax.json.*         → jakarta.json.*
javax.mail.*         → jakarta.mail.*
javax.websocket.*    → jakarta.websocket.*

Do NOT migrate these (they remain in javax.*):

  • javax.sql.* — part of JDK
  • javax.naming.* — part of JDK (JNDI)
  • javax.crypto.* — part of JDK
  • javax.net.* — part of JDK
  • javax.security.auth.* — part of JDK
  • javax.swing.*, javax.xml.parsers.* — JDK packages

Step 2 — Update pom.xml

Replace dependency coordinates:

OldNew
javax.servlet:javax.servlet-apijakarta.servlet:jakarta.servlet-api:6.0.0
javax.persistence:javax.persistence-apijakarta.persistence:jakarta.persistence-api:3.1.0
javax.validation:validation-apijakarta.validation:jakarta.validation-api:3.0.2
javax.annotation:javax.annotation-apijakarta.annotation:jakarta.annotation-api:2.1.1

Step 3 — Update web.xml (if present)

<!-- Old namespace -->
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" version="4.0">

<!-- New namespace -->
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee" version="6.0">

Step 4 — Update Java Source Files

Replace all javax. imports with jakarta. equivalents in .java files.

Step 5 — Verify

1. Run mvn clean compile or gradlew build — fix any compilation errors 2. Run mvn test or gradlew test — ensure all tests pass 3. Search for any remaining javax.* imports (excluding JDK packages)

Output

Provide a migration summary listing all files changed, imports replaced, and any manual steps required.

Related skills

FAQ

What does javax-to-jakarta-migration do?

javax-to-jakarta-migration skill documents Migrate Java code from javax.

When should I use javax-to-jakarta-migration?

User asks about javax-to-jakarta-migration, migrate java code from javax.* to jakarta.* namespace. use when upgrading to tomcat 11, ja.

Is this skill safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.