Post nitpick question: Can I now assume that for this assignment we do not have to worry about multiple simultaneous users trying to add and list the videos? The task is "just" the sharing of the "library" and a single user adding and listing the videos in a nice nonoverlapping sequentially controlled manner? Thanks - Barry
You can assume that you have multiple simultaneous users who are adding and listing the videos in a nice nonoverlapping sequentially controlled manner. They are very polite users and never try to add videos at the same time, nor list the videos while another is adding to them.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Since you're now on the videos assignments, Barry, (and anyone else who's on those assignments for that matter), feel free to follow the lead of this thread and tell us all what movies you use in your testing, so we can make fun of your taste in movies.
Post Attempt 2 nitpick: I do not agree with a nitpick: I believe I can instantate as many of the servlets (in the same VM) as I like and I only get one unique "video library". Using the particular set of modifiers I have chosen ensures the uniqueness. Even if one of the servlets is instantiated out of context there will be just one "video library". I have checked this out by inspecting 5 various instantiations of similarly constructed classes with a debugger. Mind you I could be wrong ( to cover my a..., so to speak ) Cheers -Barry (tiptoeing away...) (tiptoeing meekly back...) Or does it mean "something completely different"? Like one of them servlets should not be instantiated out of context? Maybe I have to look at it in a more abstract sense? Ho hum, what to do? what to do? Exit (on tiptoe...) (Enter Barry....) I wonder... could it be that there are only two servlets after all, and the other thing is a purer form of... (Barry rushes off excitedly...) Hammering noises in distance, and cries of "it works!, it works!..." (Enter Barry...cluching a manuscript...) To send, or not to send?, that is the question. [ February 12, 2003: Message edited by: Barry Gaunt ]