Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

GUI question

 
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


The user interface should connect to the database using either a local or a network based connection according to user choice.


Does that mean we have to provide inside the HUI the ability to connect local or remote. I mean I am providing it for the user to key in at the command line. So do I still have to provide inside the GUI this feature.
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Samual,


Does that mean we have to provide inside the HUI the ability to connect local or remote. I mean I am providing it for the user to key in at the command line. So do I still have to provide inside the GUI this feature.


Nope. Doing it on the command line is how most everybody takes care of the local/remote connection. All the requirement really means is, once the client has started up in whatever mode, there is no need to provide for reconnection, either local or remote.
Hope this helps,
Michael Morris
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have another question related to the GUI. Do we need to (or if it is recommended to) supply a GUI for the server so that use could enter the hostname, port number and database for the server, in addition, it gives the user an opportunity to shut down the server instead of just <ctrl>+C..
thanks.
Christy
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Christy,


I have another question related to the GUI. Do we need to (or if it is recommended to) supply a GUI for the server so that use could enter the hostname, port number and database for the server, in addition, it gives the user an opportunity to shut down the server instead of just <ctrl>+C..


That's what I did, but many have chosen not to and still garnered perfect scores for server implementation. So, if you think it is necessary do it, otherwise don't.
Michael Morris
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
When the server is down,how do you deal with it?
If I throw a RemoteException,then should I process
it by showing a Dialog("Server is down") to the client or just like System.out.println("Server is
down")?
Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic