• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Servlets 4a Video Library

 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
whippersnapper
Posts: 1843
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok Marilyn, it's a good thing I got Eclipse backed up with CVS. I get a chance to become the "Demolition Man" again.
OK Mike, I'll let you guys have your fun on that there thread.
Cheers -Barry
 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are lot of things you dont have to worry about in this assignment. Like, no need for record lock , non-unique titles is another. A lot simpler in the second case for me.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Marilyn de Queiroz
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Maybe I have to look at it in a more abstract sense?

 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Marilyn.
Sorry, for lack of response. Been hijacked by 'flu aliens. Back right soon now...
-Barry
 
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic