I have a little 'in doubt regarding the ability to use:
- Embedded Jetty Web Server
- External HTTP Web Services
Is there any article that shows a practical example? I try to explain. If I wanted to write a servlet and use Jetty, where it creates the folder containing the files web.xml and .class, and how everything is configured to use it?
Vice versa, if I wanted to use a separate server such as Tomcat installed on another machine, how can I communicate with the serverside extension -> servlet or servlet -> serverside extension? Using socket or Is there some instructions above API SFS ?
One last question. Wanting to manage the registration / login users, there is a safer solution than the other? In the best way to manage transactions with external servers to DB or the serverside extension?
I hope I was clear.
Thank you and sorry for bad English, I'm Italian.