File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes java.io.notserializable 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 "java.io.notserializable Exception HELP" Watch "java.io.notserializable Exception HELP" New topic
Author

java.io.notserializable Exception HELP

blackcarlos Dibia
Greenhorn

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 java.io.NotSerializable 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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30361
    
150

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

Agreed. Moving to our I/O forum.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
 
subject: java.io.notserializable Exception HELP