Hi Amit,
Thanks for sharing the good news.
To avoid the problem with the Logger, you should make it static. Static fields are never serialized. This is also a common practice.
Regarding the other point, I'm not sure if you're talking about object serialization or about class loading, could you clarify?
If this is about class loading, then there are 2 different things you can do:
- just ignore it, the class loading overhead will happen only once for a given JPPF client instance (which is create dby the resource adapter). This means the first job execution will take longer, but then the nodes will have the required classes loaded and won't need to load them again and subsequent jobs will have the expected execution time. So the class loading overhead is a one-time thing
- you may also deploy your libraries in the classpath of the server or of the nodes. I suggest you read this
other thread where more details are provided on this.
Sincerely,
-Laurent