← Explore all skills

JAVA MIGRATION / GitHub community (awesome-copilot)

Javax to Jakarta Namespace Migration

Distinguish migrated Jakarta EE packages from javax packages that remain in the JDK.

“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.”

01 / THE REASONING

Why this made the selection.

  • The definition explicitly exempts javax.sql, naming, crypto, net and other JDK APIs while mapping EE packages and checking residual imports after the migration.
  • Plan a servlet or persistence namespace migration without rewriting JDK crypto, SQL or naming imports.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • skills/javax-to-jakarta-migration/SKILL.md
  • LICENSE
  • README.md

Our findings

  • The definition explicitly exempts javax.sql, naming, crypto, net and other JDK APIs while mapping EE packages and checking residual imports after the migration.
  • The procedure covers Maven dependency coordinates and deployment descriptor namespaces in addition to Java imports, then asks for a changed-file and manual-step migration summary.

Not established by this review

  • Third-party instructions and helpers were not executed; service access, host compatibility and outcomes remain untested.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add github/awesome-copilot/skills/javax-to-jakarta-migration

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

npx skills add https://github.com/github/awesome-copilot/tree/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/skills/javax-to-jakarta-migration
  1. Install the pinned directory interactively and retain its referenced files; inspect the source before granting tool access.
  2. Inventory affected APIs and target container/BOM versions, preserve the explicit JDK exceptions, update dependencies/descriptors and compile/test the changed application.

Before you start

  • Java project source, Maven or Gradle and a verified target runtime/API compatibility matrix

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://github.com/github/awesome-copilot/blob/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/skills/javax-to-jakarta-migration/SKILL.md

    Supports: summary, review, install, access, limitations

  2. Pinned LICENSE ↗Checked

    https://github.com/github/awesome-copilot/blob/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/LICENSE

    Supports: license

  3. Pinned README.md ↗Checked

    https://github.com/github/awesome-copilot/blob/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/README.md

    Supports: summary, review, install, access, limitations

  4. https://raw.githubusercontent.com/github/awesome-copilot/f25421d3f1b8b3bb217f78a7c0567cf7ec117cd8/skills/javax-to-jakarta-migration/SKILL.md

    Supports: review.findings, bestFor

Evidence & Ask