This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Bunkhouse Porch and the fly likes Client to Server Communication for Herbert Schildt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Books » Bunkhouse Porch
Bookmark "Client to Server Communication for Herbert Schildt" Watch "Client to Server Communication for Herbert Schildt" New topic

Client to Server Communication for Herbert Schildt

Bill Lien

Joined: Jan 20, 2005
Posts: 1
Hi Herbert,

Thank you for writing The Complete Reference: Java 2 Fifth Edition. I used it in the instruction of my Java Class, and I cannot express my appreciation for how smooth the class went with the easy to follow examples and explanation presented in the book. Will there be a sixth edition convering Java 2 Version 1.5?

On a another note, I have been reviewing the Scrabblet practical application that you provided at the end of the book. I have a question on the communication sent between the Client and the Server. How's the following event triggered when the Server sends a message to the client?

class ServerConnection implements Runnable {
public void run() {
String s;
StringTokenizer st;
while ((s = readline()) != null) {
st = new StringTokenizer(s);
String keyword = st.nextToken();
switch (lookup(keyword)) {
System.out.println("bogus keyword: " + keyword + "\r");
String from = st.nextToken();

Your response will be much appreciated.

Thank you.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Client to Server Communication for Herbert Schildt
It's not a secret anymore!