At the end of a service my project has a function that takes an EJB from another project that is installed on the same server, and access one of its functions.
My function that takes the EJB and accesses the function:
[...]
ServiceImplRemote serviceImplRemote =
beanFactory.getBean("ServiceImplEJB",ServiceImplRemote.class);
Collection<UserDTO> result =
serviceImplRemote.userRequired(**parametro da função**, **parametro da função**);
return result;
[...]
What I want to do is configure the timeout of the serviceImplRemote.userRequired()
call because the default timeout is too small and processing this function takes too long. Does anyone know how to do this?