Connect Vaadin to java server application

Hello!!
I am new to this web stuff and I am wondering is there a way to connect to a java server application through like a socket or something?

Thank you!!

Hi! When you’re developing a Vaadin application, it runs on the application server just like any other Java application. You could use, for example, a Spring service to communicate between a Vaadin app and another one.

Thanks! Sockets worked perfectly!