Important Concepts: Publishing

Publish means to copy and paste a project into a portfolio visible to the HTTP server so that others on the Internet can copy it or run it remotely.

For example, suppose you have a portfolio named personal.psf in /local/karen/.jws. You created the project Blink.prj in /local/karen/.jws/Blink in portfolio personal.psf. personal.psf and Blink.prj are in locations local to your file system; only users local to your file system can access them.

You also have a portfolio named public.psf in /home/karen/public_html. This portfolio is in a directory visible to the HTTP server; it can be accessed by WorkShop users on the Internet.

You copy and paste your local Blink project into the "public" portfolio, specifying the destination /home/karen/public_html/Blink, which is visible to your HTTP server. Internet users can now access your project. They can run the public version of the Blink project or they can copy and paste it into their own local portfolio and work with it locally.

When you copy and paste a project, the following files become part of your file system:

The .java source code files are copied only if the original project location contains source files and you specify you want to copy the sources.

Next lesson:

Exercise 1: Creating a Public Portfolio