Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue with starting DVD project in network mode

 
Helen Ma
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried a different way to start the project.
In the command prompt, I type java sampleproject.gui.Application server to start the server
I type localhost , server port 1099.... I click on the "start server" button.
According to the Monkhouse book, I will see the table with DVD information as shown in figure 9.7 in the book. But I did not see this table. On the command prompt , I only see Server started.
Do I need to do something else to start the client?
 
Roel De Nijs
Sheriff
Posts: 9933
113
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need of course to start also the client application in networked mode.

So java sampleproject.gui.ApplicationRunner server will start the application in server mode. When that's up and running, you then call java sampleproject.gui.ApplicationRunner (without parameter). That will start the application in networked mode.

You could also try to run the application in standalone mode to see the table with dvd records (using java sampleproject.gui.ApplicationRunner alone).

Good luck!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic