-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jakarta EE support in Slack Java SDK #919
Comments
Hi @kuzuha, thanks for writing in! This is a great suggestion. As stated at #724, we were planning to completely migrate to Jakarta EE in the next major version (v2.x). However, while reading this issue, I came to think that this SDK should support both javax.servlet and jakarta.servlet as long as both are widely used in the communities. Taking these into account, I'm leaning towards the following idea. We can add these new one in v1.x series as adding these are not a breaking change.
I'm not sure what Jakarta EE based solutions you use (or you're going to use) but the newly added |
Thanks for your response. Supporting both EE is no pain for community. expressly depending
expressly depending
IMO, supporting both EE in one version is hard work. |
@kuzuha Thanks for your prompt reply! I just submitted a pull request resolving the Servlet side issue: #920 If you have any comments or suggestions, please feel free to leave comments. Also, I appreciate your time to check the points to be changed for fully supporting Jakarta EE.
Yes, this is a good point (again). Let me clarify my thoughts on the rest of
In this package, In the pull request #920, I've marked these classes deprecated. That being said, we won't remove them for a while.
This module will continue to work only with
The Currently, this project supports only tyrus-standalone-client v1.x, which is compatible with javax.websocket. Their 2.x series are compatible only with jakarta.websocket API. In this case, it's not feasible to support both in a single version. Thus, we are planning to migrate to jakarta.websocket in the next major version. Migrating slack-api-client project to jakarta.* APIs means that we have to drop Java 1.8 support. As we still think there are needs for 1.8 in reality, we are not planning to do this soon. It may take a bit long. See also: #720 All things considered, my understanding is:
What do you think about this plan? If you have any other suggestions, letting us know them would be greatly appreciated. |
@seratch Thanks for more details. This plan seems reasonable 💯 |
Thanks for clarifying this! Sounds good to me 👍 |
👋 If you're looking for a way to migrate both servlet and websocket, #1352 provides a way to migrate websocket. These new modules will be available in version 1.42.0. |
I'm trying to migrate Java EE to Jakarta EE for some reason (e.g. native-image, spring 6).
This project has example code for many platform.
It's good for SDK users, but it includes some problems.
Now, some projects depends
javax
namespace, some other projects dependsjakarta
namespace.(e.g. Jetty already migrated. Quarkus desided to stay
javax
)So, I propose to separate example code from this project before Jakarta EE migration.
How do you think about this?
The text was updated successfully, but these errors were encountered: