java icon indicating copy to clipboard operation
java copied to clipboard

Question: any plans to migrating from javax to jakarta package namespaces?

Open al3xandru opened this issue 2 years ago • 10 comments

In Jakarta EE 9.1 APIs package namespace was changed from javax to jakarta. Jakarta EE 9.1 is supported by many popular frameworks like Quarkus, Helidon, etc.

Here are some links talking about this namespace change:

  • Quarkus https://github.com/quarkusio/quarkus/issues/21574
  • Helidon https://helidon.io/docs/v3/#/mp/guides/migration_3x

Are there any plans for such a migration in the k8s client?

al3xandru avatar Mar 23 '23 16:03 al3xandru

I think it would be fine to migrate the javax.annotation.* to jakarta.annotation.* The other javax references are for SSL and I don't believe that is present in the jakarta namespace (nor do I necessarily want to switch ssl implementations)

But we'd definitely take a PR to update all of the annotations if you wanted to send it.

brendandburns avatar Mar 23 '23 23:03 brendandburns

/assign

Mohdcode avatar Apr 01 '23 23:04 Mohdcode

/assign

akshatarora0013 avatar Apr 05 '23 14:04 akshatarora0013

/assign

tmrpavan avatar Apr 10 '23 09:04 tmrpavan

@brendanburns, @yue9944882 Can you review my PR -> https://github.com/kubernetes-client/java/pull/2627

tmrpavan avatar Apr 12 '23 16:04 tmrpavan

Some reference/background reading:

https://www.infoworld.com/article/3600158/enterprise-java-gets-a-new-namespace.html

brendandburns avatar Apr 26 '23 14:04 brendandburns

When the PR can be merged, with the spring security issue, we have to all go to Jakarta with Spring6, but it's also blocked with K8s-client and doesn't support Jarkarta.

Or can we have two build one with Jakarta, the other with javax?

ann-ibm avatar Jun 14 '23 03:06 ann-ibm

@brendandburns When does kubernetes-client team plan to release jar file with Jakarta ?

quietsnail avatar Jun 14 '23 04:06 quietsnail

/assign

dasarathirout avatar Aug 15 '23 16:08 dasarathirout

/assign

aishuarya avatar Jul 14 '24 10:07 aishuarya

/assign

abhinavvrm2020 avatar Oct 12 '25 17:10 abhinavvrm2020