Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

when to use Serializable backing bean in JSF?

Tags:

jsf

when to use Serializable backing bean in JSF? is there any factors to go for serialization like View Scope, Session Scope, Application Scope or is anything else which requires bean to be serialized.

like image 606
rahul_d_m Avatar asked Oct 15 '22 07:10

rahul_d_m


1 Answers

I'd say that session-scoped beans are eligible for serialization, because the the servlet container tries to serialize everything in the session in case it (the container) is restarted.

like image 54
Bozho Avatar answered Oct 18 '22 13:10

Bozho