File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes NX:About modify the location 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 "NX:About modify the location of the database" Watch "NX:About modify the location of the database" New topic
Author

NX:About modify the location of the database

xi ruo
Ranch Hand

Joined: Apr 06, 2003
Posts: 40
Section of my assignment,following:

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.

About "the program must allow the user to specify the location of the database".
Is this operation taked place in server-side or client-side?
Where does the button(or menu item) which touchs off upper event place?
Ulrich Heeger
Ranch Hand

Joined: Jun 06, 2003
Posts: 266
Hi Xi,
I can't help at this point because I'm still working at the data access layer but you can look at this thread: NX: URLy Bird 1.3.1 Suncertify.properties
I think there you can get an answer on your question.
Regards
Ulrich
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Well in local mode it would be on the client side, and in remote mode it would be on the server side.
For example, with remote mode, the location of the db.db file can be supplied when the server is starting up.
In Local mode, since there is no server, then the GUI must provide a mechanism for the user to select the location of the db.db file.
Hope that helps.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
Consider Paul's rocket mass heater.
 
subject: NX:About modify the location of the database
 
Similar Threads
UrlyBird (database file location)
Database connection
database? it's database server or database file?
Local or remote Database
URLyBird database location