Forums Register Login

regarding ejbPassivate()

+Pie Number of slices to send: Send
What will happen if we leave non serializable things like Database connections with out closing or making null? will ejbPassivate() works or not?
+Pie Number of slices to send: Send
Hi raghu,

by the espec, the container may destroy bean instance if the instance does not meet the requirements for serialization after ejbPassivate, therefore the container may throw an exception if you leave non serializable things like you sad !!! ...

hope this help.

Paulo Nunes (Brazil)
MCP OCP IBM285 SCJP 1.4 SCWCD 1.4 SCBCD 1.3
If you try to please everybody, your progress is limited by the noisiest fool. And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 544 times.
Similar Threads
Shridar Ramas's Test
releasing resources
How to simulate stateful session bean program on weblogic server?
ejbRemove for a session bean
ejbActivate() and ejbPassivate()
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 01:14:14.