0
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 accesses 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 set up the call timeout serviceImplRemote.userRequired()
because the default timeout is too small and the processing of this function takes too long. Someone knows how to do this?