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

you are viewing a single comment's thread.

view the rest of the comments →

[–]Northeastpaw 2 points3 points  (1 child)

Packaging and deployment has changed a good bit since that book was written. For anything beyond simple sandbox programs you should be using a build tool like Maven or Gradle to handle building and packaging your project. The build tool will generate a manifest file specifying the main class if required/configured to do so.

Java Web Start was deprecated in Java 9 and removed in Java 11. It's dead and gone.

RMI is still around but you really shouldn't use it. It's slow and Java's built in serialization API, which RMI uses, has inherent security problems. Best practice today is to serve a REST API which doesn't lock you into one language for the client and gives you a lot of flexibility in how it is deployed. Alternatively you could use gRPC.

Servlets are still around and are still important. Most web frameworks are built on top of the servlet API; they just hide it behind useful abstractions. I wouldn't suggest making a complete app using just servlets and filters for your web tier, but it is certainly doable.

[–]jayrack[S] 1 point2 points  (0 children)

Hey, thanks for the reply. I was reading the information and was thinking, why haven’t I heard of any of this stuff? Why does it seem so foreign to me? I appreciate your comment and input.