Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stopping Server (using rmi)

 
Mark O' Sullivan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just wondering did anyone decide to implement a stop server button for the server and is it necessary? I can imagine it could be quite complex. Is it enough to have a screen with buttons to allow:
(1)server to be started on a particular port
(2)server to be terminated.
Thanks.
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

It all depends on how your server application looks like. Mine has its own GUI, so 2 input fields (database location and port number) and 2 buttons (one to start server and one to exit application = stop server and close server application).
The great Roberto Perillo has no windows and then you have to push Ctrl+C (in console window) to stop the server.

Kind regards,
Roel
 
Mark O' Sullivan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cheers Roel, thanks for your prompt reply. I've the same approach as you, didn't make sense to implement stop server functionality anyway, I reckon.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic