I develop a CRUD Spring, Servlet/JSP application. I will develop a desktop Swing application with same functionality. My question is that possible to communicate and resuse servlets on swing application (not applet)?
I develop a CRUD Spring, Servlet/JSP application. I will develop a desktop Swing application
Share
Yes, by making http requests. You can do them with multiple tools. Two of them:
new URL(..).openConnection()RestTemplate. It’s used to invoke restful services. You can expose your logic as restful services through the servlets (or spring-mvc), and consume them withRestTemplate