Win a copy of Head First Android this week in the Android 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Network Client

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic