well since this is the beginner forum I'm gonna assume the answer is easy: instead of doing this: UUID yourUUID = new UUID(); do this: UUID yourUUID = new UUID("Some String goes here");
Well w/o any code its kinda hard to say. With that said, have you checked to see that the vector size EVER decreases? Perhaps you're not starting the thread?
To be able to send an object to any type of stream the object must be serialized. Serializing an object pretty much packs it up so that it can be used again elsewhere. One example would be you can save a serialized object that contains settings to a file when your program exits and next time you run your program you could load the object and have the same settings over again.
JSP is used when you have a lot of HTML to output. Doing that w/ servlets would be a real pain using out.write(). There's nothing that JSP can do that servlets can't. You might what to check out this other thread on the topic: https://coderanch.com/t/279833/JSP/java/JSP-VS-SERVLETS