Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Network Client

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have question that
I am using only RMI for network connection should I provide Connetion type radio button in network client GUI and Server GUI?

In Denny's Dvd there are two types 1. RMI 2.Socket so two radio button are provided in GUI .


please reply



thanks
pramod
 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why provide a radio button when there is only one choice.
 
pramod karnani
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kevin,

I think you are right I should not give radio button with only one choice but should users know what is network connection type(Socket /RMI) they are using ?
I am specifying in choices.txt that I am using RMI but user will never come to know about network connection type.

what do you think?

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

pramod KARNANI wrote:

should users know what is network connection type(Socket /RMI) they are using ?



I do not think the "Average User" would be interested in the connection type or port number.
 
Bartender
Posts: 3648
16
Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Users shouldn't need to know what networking the system is using (RMI or socket). But the project does require to "choose database location" meaning for network clients first run need to type in server ip and port or something to locate the server and the actual database.

If you use radio buttons, it will not be for choosing RMI or socket but for choosing local stand-alone mode or network mode.
 
Kevin Florish
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


k.Tsang wrote:

If you use radio buttons, it will not be for choosing RMI or socket but for choosing local stand-alone mode or network mode.



Not sure I agree with this statement. Standalone and Network client are obtained using the run mode entered on the command line.
 
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic