In Java I see this class, ELProcessor and a typical usage:
ELProcessor elp = new ELProcessor();
elp.defineBean("employee", new Employee("Charlie Brown"));
String name = elp.eval("employee.name");
My question is: can I execute some more complex code inside the expression ? For example, can I do:
elp.eval("employee.name && someService.check('param1', 'param2')") ?
Here someService should be a CDI bean injected into this code and “check” should be a method that receives 2 parameters. I’m using WebLogic with CDI.