Browse DevX
Sign up for e-mail newsletters from DevX


Use Stored Procedures for Java Persistence : Page 3

Find out why you should use stored procedures to build your Java persistence layer instead of embedded SQL, entity beans, or tools such as Hibernate. Then learn how to do it.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

Java and Database Efficiency Gains

As with anything, this approach can be taken too far. Since it's more difficult to scale database servers than application servers, it's not wise to put all of an application's business logic into stored procedures. However, if you follow the general guideline to place data-related business logic into stored procedures, you will see gains in efficiency both at the Java layer and within the database server.

Eric Bruno is a New York-based consultant who has built high-volume Web applications, database systems, and real-time transactional systems in Java and C++. Visit www.ericbruno.com for more about him.
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date