I've to develop an Image Server that should provide REST API supporting Hypermedia. (With basic functionalities like login, register, upload and download images)
I think to use Glassfish as a server to develop my project and Java as the programming language.
How can I develop the project? I think that a possible idea is to create different Servlet (that are my website pages) and insert links that connect different Servlets (example from login Servlet I can send information through post to itself and check the login data, if these are OK it creates a session and sends a GET request to the home Servlet).
It's correct to implement in this way? There are better ways to implement this service? (Maybe JSF)
I am asking here because I've the fear to miss completely the goal.