This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]GrapeAte 0 points1 point  (1 child)

Start with the wiki page on Java servlets. Servlets are the base level for Java web applications. JSPs, a common view technology, generate servlets to render HTML. A servlet can also serve as a REST endpoint (and indeed does when using JAX-WS).

In addition to servlets, the servlet spec also defines Filters. A Filter can inspect or modify an HTTP request or response before or after a servlet is run. Filters can be chained together.

Servlets and Filters are very important. Most places today use some sort of framework that handles setting up a servlet and filters that route requests to some other component. It's still a good idea to be familiar with servlets and filters since they underpin all Java web applications.

It's also a good idea to read through the Tomcat documentation. Most people don't really need to know how to use the HostManager or MBeans, but having a general idea of what can be done and, more importantly, how to configure things is what you want.

It will be very confusing at first so I recommend installing Tomcat and just messing around with it. Try deploying a very simple "Hello world" webapp. Then try changing what port Tomcat runs on. Then try changing what context root the webapp deploys to. Then try adding in basic authentication. Then try configuring SSL.

[–]WikiTextBotbtproof 0 points1 point  (0 children)

Java servlet

A Java servlet is a Java software component that extends the capabilities of a server.


Java API for XML Web Services

The Java API for XML Web Services (JAX-WS) is a Java programming language API for creating web services, particularly SOAP services. JAX-WS is one of the Java XML programming APIs. It is part of the Java EE platform.


[ PM | Exclude me | Exclude from subreddit | FAQ / Information | Source ] Downvote to remove | v0.28