Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yonatankinfe/news_post_deskopapp_using-_socket_programing_java

This repository contains two JavaFX applications demonstrating real-time communication between client and server applications. The "Post News" application allows users to input and post news to a local server, while the "View News" application listens for news updates from the server and displays them.
https://github.com/yonatankinfe/news_post_deskopapp_using-_socket_programing_java

client-server-communication desktop desktop-app desktop-application graphical-user java javafx javafx-desktop-apps maven networking networking-in-java newspost real-time-applications socket

Last synced: about 1 month ago
JSON representation

This repository contains two JavaFX applications demonstrating real-time communication between client and server applications. The "Post News" application allows users to input and post news to a local server, while the "View News" application listens for news updates from the server and displays them.

Awesome Lists containing this project

README

        

# 📰 Post and View News JavaFX Applications

This repository contains two JavaFX applications for posting and viewing news. These applications are designed to communicate over a local network, allowing users to post news from one application and view it in another.

# 🎯 Purpose Of This Repo

The purpose of these applications is to demonstrate real-time communication 📡 between multiple users using JavaFX and sockets. The "Post News" 📝 application allows users to input short text and post it as news to a server running on localhost 🖥️. On the other hand, the "View News" 👀 application continuously listens 🎧 for news updates from the server and displays them in a list view.

These applications showcase a basic client-server architecture 🖧 for sharing information in real-time over a local network.

# ✍️ Post News Application

The "Post News" application (com.mycompany.mavenproject11) provides a simple interface 🖊️ for users to input short text and post it as news. The news 🗞️ is then sent to a server running on localhost 🖥️.

# 🚀 Usage

+ Enter your short text in the provided text field 🖋️.

+ Click the "Post News" button 📰 to send the news to the server.

# 👁️ View News Application

The "View News" application (com.mycompany.seethenews) displays news received 📩 from the server. It continuously listens 🔄 for news updates and displays them in a list view 📃.

# 🚀 Usage

+ Click the "View News" button 👁️ to start listening for news updates.

+ As news is posted 📥 from the "Post News" application, it will be displayed 📋 in the list view.

# 🔧 Prerequisites

+ Java Development Kit (JDK) installed ☕

+ Maven installed 🛠️ (for building the projects)

+ JavaFX installed 🎨

# 📷 Images 🖼️
![Screenshot 2024-03-02 211843](https://github.com/Yonatankinfe/News_Post_DeskopApp_Using-_Socket_Programing_Java/assets/158090444/603510aa-e010-4068-b625-53076237d303)

# 📹 Video
+ Sorry for the inconvenience
I will re upload the video one I have found it