Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can the Verify tool check that return types and parameters that should implement java.io.Serializable, actually do?

0
Posted

Can the Verify tool check that return types and parameters that should implement java.io.Serializable, actually do?

0

Although this is a good idea, in general it is not the signature type that is required to be an instance of java.io.Serializable, but the actual type. Note however that when running EJBDebug mode, we do attempt to verify the marshalability of your parameters (checking the actual type, not the signature type), and emit warnings when an illegal type is passed. In short, static type checking does not work in most cases, and instead the container does dynamic type checking.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123