{"id":201,"date":"2019-02-17T09:49:11","date_gmt":"2019-02-17T09:49:11","guid":{"rendered":"http:\/\/tutorials.retopall.com\/?p=201"},"modified":"2019-02-17T09:53:01","modified_gmt":"2019-02-17T09:53:01","slug":"server-client-application","status":"publish","type":"post","link":"https:\/\/tutorials.retopall.com\/index.php\/2019\/02\/17\/server-client-application\/","title":{"rendered":"Server-Client application"},"content":{"rendered":"\n<p>Nowadays , all aplications are connected with their self cloud services and you can interact easily with other people. You will be able to create a server-client application in Java for your future projects.<\/p>\n\n\n\n<p>The idea is two create 3 projects in Java. One for the Client, other for the Server and finally one share project for the message, server IP and port.<\/p>\n\n\n\n<p>The server side will have a server socket and a thread to listen for the connections. The client instead will create that connections to the server IP in a specified port. <\/p>\n\n\n\n<p>With this structure you can do almost everything. Send messages, objects&#8230;<\/p>\n\n\n\n<p>For example, in the tutorial series you will learn how to create a<strong> CHAT SYSTEM<\/strong><\/p>\n\n\n\n<p>The tutorial series is available here:<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" width=\"860\" height=\"484\" src=\"https:\/\/www.youtube.com\/embed\/videoseries?list=PLVxq4HUq7dJPqV4f9Hu1i6fTVhDxiNerC\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>The github repository:  <a href=\"https:\/\/github.com\/dDevTech\/SimpleServer\">Server-Client&nbsp;repository<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nowadays , all aplications are connected with their self cloud services and you can interact easily with other people. You will be able to create [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":205,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,11,39,6],"tags":[43,42,40,41],"class_list":["post-201","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-explanation","category-java","category-server","category-tutorial","tag-connection","tag-server","tag-server-client","tag-socket"],"_links":{"self":[{"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/comments?post=201"}],"version-history":[{"count":2,"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/posts\/201\/revisions"}],"predecessor-version":[{"id":206,"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/posts\/201\/revisions\/206"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/media\/205"}],"wp:attachment":[{"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/media?parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/categories?post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorials.retopall.com\/index.php\/wp-json\/wp\/v2\/tags?post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}