[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Problems with the integration of multiple Java classes (REST API with annotations) and a Web-Socket Java class
|
Hi,
On Tue, Dec 10, 2024 at 4:41 PM Rob Moolhuijsen via jetty-users
<jetty-users@xxxxxxxxxxx> wrote:
>
> Hi,
>
> I am currently migrating Java 17 + grizzy http server 2.4.4 + grizzly-websockets-server 2.4.4 + jersey 2.43 to Java 17 + jetty 12.0.14 + jersey 3.1.9 + jetty-ee10-websocket-jakarta-server 12.0.14.
>
> My Java application uses an embedded HTTP server with REST API services and Web-Sockets.
>
> I have studied several examples on the Web but I don’t know how to register multiple Java classes (REST API with annotations) and a Web-Socket Java class in the same Jetty server.
Should be enough to use the standard Jakarta annotations.
Jetty will discover these annotations and register your endpoint classes.
--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.