Reply to a comment from Patrick Kwinten

Hi Olivier,

 

I have a question regarding the implementation of the DaoBean in an application.

. I created the DaoBean class (same package as other classes)

- I registered it as a managed bean (same settings as in your example)

- I created a private object in another class (private DaoBean doa )

- In the next step it goes wrong:

 

Database db = dao.getDatabase();

I get the following error:

[0F58:000C-0F78] 2015-10-19 15:57:54   HTTP JVM: com.ibm.xsp.webapp.FacesServlet$ExtendedServletException: com.ibm.xsp.exception.EvaluationExceptionEx: Error while executing JavaScript computed expression

 

 

Do you have any idea what I am doing wrong?

Leave your reply right here