Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Network Approaches

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't understand the following part in an assignment:
"Network Approaches
Your choice of RMI or serialized objects will not affect your grade, but no other approach is acceptable.
In either case, the program must allow the user to specify the location of the database,
and it must also accept an indication that a local database is to be used, in which case, the networking must be bypassed entirely.
No authentication is required for database access.
"


Now my 5 questions.
1.) Means user; the user, who starts the RMI - server? This means the RMI - server choose the location of the database.
2.) Or means user the network client? Then the network client choose the location of the database. But there is only one database file. And in a few month this application will be a web application.
3.) What does it mean a local database is to be used, in which case, the networking must be bypassed entirely.
In my opinion it doesn't make sense for me if somebody starts the RMI - server then he gets a hint "local database is to be used, in which case, the networking must be bypassed entirely."
4.) In my opinion it doesn't make sense for me if somebody starts the network client then he gets a hint "local database is to be used, in which case, the networking must be bypassed entirely"
(You start the application with [<mode>] mode can be alone or server or nothing for the network client java -jar <path_and_filename> [<mode>] .)

Have you an idea whan Network Approaches can mean?
[ January 11, 2007: Message edited by: Manuel Arnoldi ]
 
    Bookmark Topic Watch Topic
  • New Topic