File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please review Server design

 
Rajesh So
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have come up with the following class and interface design for my server side. Please review and give your suggestions, for the bad and the right ideas. Please tell me both, else I may spoil the good ones, unknowingly, in an effort to correct the wrong.
This is the complete public interface for the 2 independent modules DataServer and Connection which together work to make up the server. Hence not much of the private parts/implementations are implemented. I have written few important private attributes, which came to my mind. I would add more private parts, as I start implementing the algorithms, but the public parts would not change.


Thanks in advance,
Rajesh
 
Rajesh So
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The package name is not sun.db. It is mistakenly written. The package is the same as given in the assignment.
" Package suncertify.db "
Rajesh
 
Aruna Raghavan
Ranch Hand
Posts: 194
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just an observation-
Your APIs look very detailed. I wasn't going to include any admin capability at all as it wasn't required in the guidelines I received. I was going to just use the db.db file and use the data in it as input.
 
Rajesh So
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since there was a function given in the code about creatimg a new datbase file, I wanted to fit this somewhere. Giving this in the hands of Normal users may not look nice, hence I made an Admin user and gace the function to him. Is it right ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic