This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Kubernetes in Action and have Marko Luksa on-line!
See this thread for details.
Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue with starting DVD project in network mode  RSS feed

 
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?
 
Sheriff
Posts: 11338
177
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
Boost this thread!