• Post Reply Bookmark Topic Watch Topic
  • New Topic

Must not use ssubclass of Java Serialization Protocol.

 
Himai Minh
Ranch Hand
Posts: 1400
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On p. 600 of the spec,
The enterprise bean must not attempt to use the subclass and object substitution features of the Java Serialization Protocol.


But on p. 73,
While the container is not required to use the Serialization protocol for Java Programming language to store the state of a passivated session instance.....


The first quote says the bean cannot use object substitution of Java Serialization Protocol.
The second quote says the container is not required to use the Java Serialization Protocol for @PrePassivate and @PostActivate.

Are these two conflicting each other ?

(source: EPractice Lab asks about EJB restrictions.)
 
I found a beautiful pie. And a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!