Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLyBird Questions

 
Alan Fullilove
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Yes, I have questions abou URLyBird and would appreciate any insight
1) Under the SERVER requirements, Sun states: "Any unimplemented exceptions in this interface must all be created as member classes of the 'suncertify.db' package."
What does this mean ?
2) Under NETWORK APPROACHES: "In either case, the program must allow the user to specifiy the location of the database, and it must also accept an indication that the local database is to be used, in which case, the networking must be bypassed entirely." What does this mean ? Should I bring up a file browser dialog allowing them to pick where the database is ? Is allowing the user to enter "server", "alone", or blank enough ?
Thanks
=Al=
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Does your interface mention any exceptions you''ve never heard of before? (Because they don't exist in the standard APIs?) If you, you need to create classes for these exceptions, using the names they've provided. Put them in the suncertify.db package.
2) In my instructions, allowing the user to enter "server" | "alone" | [blank] is all you're allowed to do in the commane line, but it's not "enough" because you will still need to know some other info - this other info must be editable via a GUI. What other info you need may be slightly different in each of the three cases. "Location" is sort of vague - if you're starting a standalone client, "location" of the DB may mean you need to specify the path to the DB file. A JFileChooser is good for this. But if you're starting a network client, "location" may mean what host name and port number the server is found on. You need to think about what info is appropriate to allow the user to configure in each case.
[ November 17, 2003: Message edited by: Jim Yingst ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic