This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bodgitt&scraper Locaction of the database

 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi:
My instrucation says"the program must allow the user to specify the location of the database, and it must also accept an indication that a local database to be used"
Does that mean the user can choose a database file on the server?
If the answer is correct, then how can I bind different Data objects of the same type to the rmi registry?
My data access class has a local variabl dbLocation which referes to the URL of the database file to be accessed.
If I have 2 users connecting to the server, and each user accessing diferent database, then each user need a different Data object.
How can I bind different objects that has differnt local variables?
I am newbie to RMI, and I appreciate any explination.
thanks
[ June 02, 2004: Message edited by: Hanna Habashy ]
 
Charlie Goth
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You just need a little gui on the server, where a user can select the db file. That quote is very wierd though, it doesn't read very well at all.
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Charlie.

I don't think the client program can select its own database. I think all clients connect to the same server, which in turn uses only 1 database file at a time.

In the standalone mode, the user can select his own database.
 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we got a conformation about this from people who passed the certification?
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic