Results 1 to 1 of 1
- 10-27-2012, 12:47 PM #1
Member
- Join Date
- Oct 2012
- Posts
- 3
- Rep Power
- 0
designing a client/server protocol for my project
I'm doing a project which has a server which loads plugins to communicate with hardware or to perform scheduled tasks. I have a working server, but I'm just starting work on a client gui which will connect to the server over TCP and display a dashboard of what the server is doing in real time. My first question, should I use a plain text protocol and write a class to parse it into an object, or should I use a serialized object to act as packets? My style in the past has been to write a text based protocol and parse it. But I'm also new to doing this in java. If java has a better method, maybe I should be taking advantage of it. Is it faster/slower? Is it more reliable, or just more proper and easier to expand?
Similar Threads
-
client/server event protocol
By kjkrum in forum Advanced JavaReplies: 2Last Post: 04-26-2011, 07:24 AM -
Designing a project in Java
By avisik in forum New To JavaReplies: 0Last Post: 11-23-2010, 07:28 PM -
server-client; client sends a username to the server.
By lkcz in forum New To JavaReplies: 2Last Post: 09-24-2010, 11:31 AM -
File -Server Protocol
By cbn20 in forum NetworkingReplies: 3Last Post: 11-21-2009, 07:23 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks