Chapter 17. Package, Jars and Deployment: Release Your Code

image with no caption

It’s time to let go. You wrote your code. You tested your code. You refined your code. You told everyone you know that if you never saw a line of code again, that’d be fine. But in the end, you’ve created a work of art. The thing actually runs! But now what? How do you give it to end users? What exactly do you give to end users? What if you don’t even know who your end users are? In these final two chapters, we’ll explore how to organize, package, and deploy your Java code. We’ll look at local, semi-local, and remote deployment options including executable jars, Java Web Start, RMI, and Servlets. In this chapter, we’ll spend most of our time on organizing and packaging your code—things you’ll need to know regardless of your ultimate deployment choice. In the final chapter, we’ll finish with one of the coolest things you can do in Java. Relax. Releasing your code is not saying goodbye. There’s always maintenance...

Deploying your application

What exactly is a Java application? In other words, once you’re done with development, what is it that you deliver? Chances are, your end-users don’t have a system identical to yours. More importantly, they don’t have your application. So now it’s time to get your program in shape for deployment into The Outside World. In this chapter, we’ll look at local deployments, including Executable ...

Get Head First Java, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.