I’m looking to get into experience for making a very basic Java server that hosts a simple HTML web page. That’s it.
I have used bulk/mass code to host Java servers before for Java client programs, but not Java servers to host web pages. I have not filtered this code down either to fully understand how it works.
I’m hoping someone can help give me a book recommendation.
Java and the Spring libraries are a great pairing for HTTP request/response code. You literally can serve the HTML documents from the HTTP request, like you did when responding to the Java client apps from your Java server apps (I would be stunned if you did SOAP and RESTful things without using HTTP connectivity). “Spring in Action” by Craig Walls gets good reviews.
I hate to be “That Guy”, but have you tried using a LLM as a coach to get you where you want to go?
A book or a structured course is still a really good option to get full coverage of a topic or subject, but as long as you know where you want to get to as an end point, chatGPT or others are essentially priceless at taking a user step by step though a process as long as you remember your code may not be entirely robust and/or secure. It just shifts the responsibility to the student to ask the right questions.
If you haven’t given it a whirl, I highly recommend it as a good starting point, or as a tutor to work in tandem with a published book on the subject.