How do I stop an Arduino sketch?

welchsc:
I just can't find code anywhere on the net that would allow me make the servo move to a specified degree then stop so it can easily be controlled over the net through remogte access.

With such a specific requirement, it's no surprise that the exact code you're looking for isn't readily available.

Is the Arduino code Java or C+?

Neither, it's C++.

I was also under the impression that I could type code in the serial monitor to make the servo move accordingly.

Not sure what gave you that impression, the sweep example has no Serial communications code in it, what-so-ever.

If there were a primer I could reference I would be more than happy to look at it.

There are dozens of example sketches you can look at that already come with the Arduino IDE.