Hello,
In my application I use pretty complex model (there are many sets, many fields etc in each class), let's say there is a big class Project:
class Project { //fields with setters and getters
}
Unfortunately, i need to use my own JTree(its' desktop application, using Swing and Hibernate) model dedicated to my Project class, and it forces me to do so :
class Project implements Serializable { //fields with setters and getters
}
(without clause implements it doesn't work properly when I want to Drag&Drop nodes in this JTree)
It's obvious that I also needed to add implements Serializable to all of the classes which HAS Project(like ProjectState and many more). And here's my question: Can it seriously affect the performance of my application? Or even: Does adding clause implements Serializable changes anything?
Please help,
j.k
|