It's not a secret anymore!
The moose likes I/O and Streams and the fly likes Exception HELP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark " Exception HELP" Watch " Exception HELP" New topic
Author Exception HELP

blackcarlos Dibia

Joined: Mar 30, 2005
Posts: 21
please I need help with this jdbc call from a network application
I created a server and a GUI client that retrieves a table from the server appliction which connects to MSSql
here are the codes

this is the client application
but when I run the codes everything is okay but I get 5 rows returned by the server and a Exception :p ublishers
on the command promt with the server application
and no data is shown on the client
pls help

[edited to add code tags]
[ February 18, 2006: Message edited by: Jeanne Boyarsky ]
stu derby
Ranch Hand

Joined: Dec 15, 2005
Posts: 333
You need to make Pulishers serializable, which it is not, and which has nothing to do with JDBC.

Free clue: Serializable is an interface, this means that a class that you try to serialize must implement the interface. A first step in implementing any interface is to declare that your class implements it, e.g.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33130

Originally posted by stu derby:
and which has nothing to do with JDBC.

Agreed. Moving to our I/O forum.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Exception HELP
It's not a secret anymore!