Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Managed Bean with Services injected

Laerte Camargo
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I am working in a system that uses JSF and Spring and the services used by the Managed Beans are injected.
But now I am with a problem, one of the services injected is not serializable (uses some Jpa classes that I cannot change) AND I need to put the MBean in a a4j:keepAlive (that requires a serializable MBean).

My question is if there is any way to force the JSF to make the set to the service or I will need to use the FacexContext to retrieve the service.

Thank you all
crispy bacon. crispy tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!