How to call a java method asynchronously
Hello All,
I am using a managed bean for calling a method to send email after records are commited, the email is sent through pl sql procedure in oracle database.
But this procedure takes some time to send the email , due to which the next page navigation becomes slow. I do not want to wait for this procedure to be completed, I want to call this method asynchrounosly. Please advice me .
Thanks in advance.