This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, As I know, our implementation can accept database name as commandline input. If I let the Sun's accessor enter the database name, which of the following the accessor will enter:' a) Just name - db.db b) Relative path name - ../db/db.db c) Absolute path name - C:\project name\src\suncertify\db\db.db Please let me what the accessor will do. Thanks, John Chien
The assessor will do what you instruct him to do in your readme.txt. My recommendation is not to pass anything on the command line: java -jar server.jar java -jar client.jar Simple as that. Eugene.
Joined: Feb 06, 2003
Eugene: Thank you for the response. I was writing the code and running test using JBuilder. I am going to build jar file now. I have 4 packages - a) suncertify.client package contains classes to lookup ConnectionFactory and to get DataAccess Object b) suncertify.server package contains classes to rebind the ConnectionFactory and RemoteDataAccess, ConnectionFactory definition and their implementations. c) suncertify.db package Contains classes for database access and LockManager. d) suncertify.ui package Contains all the HUI classes. The rmic were used to generate ConnectionFactoryImpl_Stub.class and RemoteDataAccessImpl_Stub.class Both classes are in server package. Questions: 1) Which classes should be used to build client.jar and server.jar client.jar - all classes in suncertify.client, suncertify.ui, suncertify.db and two _Stub.classes server.jat - all classes in suncertify.server, suncertify.db including the two _Stub.class Is this a correct jar file building scheme ? 2) When I run the server and client using Jar file, I should allow user input for host DNS and port. Certainly, the server process can find its DNS and running in a predefined port. In a condition like this, I can run the server as you suggested. How about client ? I should allow user to enter server DNS and port. How can I run the client without taking any user input parameters ?
Thanks, John Chien
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com