Originally posted by Peter Simon:
Hi,
I have two classes which extend interfaces.
One extends Serializable, the other javax.ejb.EntityBean
I do import the right packages.
java.io.Serializable
and
javax.ejb.*
Compiler complains: no interface expected here.
I guess the solution is pretty straightforward, but I don't see what I'm doing wrong.
thanks for setting this straight.
Yeah, Barry Gaunt is right, you have to use
implement instead of
extends interfaces in your case:
or extends inteface for local/remote interface:
and
implement your serializable object:
...