This is one of those problems Marmita. if you are primarily a database programmer, you will think that stored procedures should be used widely. If you are an application programmer - say, Java or an .Net encoder - you will most likely say that they should be completely avoided.
Not that this is consistent with application programmers who want to write their own SQL queries. No, these days they tend to want to abstract away everything related to ORM's confusing services. This is not easy to understand than stored procedures, but are available in the same IDE, so they require less context switching.
There are two big things in favor of stored procedures. Firstly, people who know PL / SQL are likely to be familiar with Oracle databases (T-SQL and SQL Server, etc.), and therefore will seek to write better programs for this database (defined as programs who take advantage of the platform features and are adapted to its functionality) than people who do not.
Secondly, the data is saved. Application developers like to talk about "database independence," but application independence is really important. Front panels come and go, but the data model lasts forever. Over the past ten years, Java applications have been written as applets, servlets, JSP, Tiles and Faces, with add-ons in JavaScript, Groovy, AJAX and JSON, connecting to the database using manual JDBC, EJB (v1, 2,3), TopLink, Hibernate and IBatis ... forgive me if I missed a few. Applications whose interface is a shell on top of the stored procedure level are easier to upgrade to the latest and greatest applications, where business logic needs to be rewritten every time. And they will also work better.
Ultimately, however, applications that interact directly with the database are likely to leave. Everything will talk to the service bus, and it will decide where to get the data. Of course, stores in which the database is viewed through a well-designed API of stored procedures can easily go into this bold new world than the places that all of their ORM logic will need to extract.