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

? on Sockets and user choice as far as picking server or local database?

 
Jim Martin
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My application gives the user a choice to use the local database(i.e. the database on the same computer) or the server database.
My question is, if the user wants to use the server database, the user must know the IP address of the computer that the server is running on and enter that IP in my GUI. Is this good enough? That is, will this suffice, or will I lose some points here?
Did anybody do it the way I did and if so did you lose any points on this part?
Thank you very much!
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To get to any server you always need to know an address. So it is perfectly fine and actually the only way you will be able to connect to the server.
Sometimes it doesn't need to be an IP address if there is a DNS entry. But don't worry about that.
Mark
 
Jim Martin
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for answering Mark.
So I am ok?
[ November 05, 2002: Message edited by: Ahoo Ahoojan ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic