eclipse-ee4j / tyrus

Tyrus
Other
113 stars 36 forks source link

Jakarta WebSockets implementation version? #843

Closed quaddan closed 1 year ago

quaddan commented 1 year ago

It seems to me, although I may be wrong, that Tyrus is based on Jakarta WebSockets 1.1.1.

In the tyrus/pom.xml I can read the following:

<websocket-api.version>1.1.1</websocket-api.version>

<dependency>
    <groupId>jakarta.websocket</groupId>
    <artifactId>jakarta.websocket-api</artifactId>
    <version>${websocket-api.version}</version>
</dependency>
<dependency>
    <groupId>jakarta.websocket</groupId>
    <artifactId>jakarta.websocket-client-api</artifactId>
    <version>${websocket-api.version}</version>
</dependency>
quaddan commented 1 year ago

Could you be as quick to answer my question as you were to close my request if there was still someone here (immediate response)? This is a technical question. Thank you for your understanding.

jansupol commented 1 year ago

Tyrus

It is possible to check in maven central each version of Tyrus and the API dependency.

jansupol commented 1 year ago

Please understand that each version of Tyrus (EE8, EE9, EE10) is being actively maintained and developed as required. That can cause some difficulties when browsing our repo, for which we apologize.

quaddan commented 1 year ago

Thank you for your response but you don't answer to my question. Why to go to Maven Central if I can view the source code ? As explained in my question, in your current pom.xml, I can see 1.1.1</websocket-api.version>. It is very confusing.

jansupol commented 1 year ago

You are looking into the master branch, which is Jakarta EE 8 (WebSocket 1.1) implementation. If you want WebSocket 2.1 Tyrus implementation, please check the 2.x branch.

quaddan commented 1 year ago

Ah ok. Thank you very much.