aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Bodgitt&scraper Locaction of the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Bodgitt&scraper Locaction of the database" Watch "Bodgitt&scraper Locaction of the database" New topic
Author

Bodgitt&scraper Locaction of the database

Hanna Habashy
Ranch Hand

Joined: Aug 20, 2003
Posts: 532
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 ]

SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle
Charlie Goth
Ranch Hand

Joined: Feb 26, 2004
Posts: 60
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.


SCJP (77%)
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
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

Joined: Aug 20, 2003
Posts: 532
Can we got a conformation about this from people who passed the certification?
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bodgitt&scraper Locaction of the database