Question d’entretien chez Wells Fargo

which one will you prefer Stored procedure vs. Java code for crunching data ? and why?