How can Spring and Hibernate with JPA-enabled applications be useful for business?

I was asked this question in an interview. My answer was as follows.

Spring simplifies, improves Java / J2EE development efficiency. Hibernate helps get rid of complex and tedious data access codes and take advantage of object-oriented principles.

By mixing spring with hibernate, we can create scalable, reliable, supported, and database-independent enterprise applications at lightning speed, thereby reducing time to market.

I am not satisfied with my answer, as the interviewer expected an answer in a business perspective, and my answer was far away and had technical details.

+4
source share
4 answers

Some of the key points that I would say are cost (this is open source, which means there is no licensing fee), application development speed (the time from returning an idea to the final result is much shorter compared to other platforms) (you can transfer an application on any server, and it will be more likely than not just working out of the box), flexibility (making changes to business logic is quick and easy), maintainability (Java has existed for a long time and will probably be around much longer, find Working for a project in the future will not be as difficult as using legacy code), stability (since the architecture is built on a stable platform, downtime should not be a problem), scalability (if the user base is growing rapidly, the transition to the cloud environment is straightforward, without changing the cost of the application)

+4
source

If you are working with Business Guyes, you must use the conditions:

  • cost (total cost of the ship owner)
  • time to market
  • Performance

Everything you said was correct, but you missed the business agreement:

"Spring, Hibernate, ... help develop applications faster and in a very stylish style, so time to market is reduced. On the other hand, Spring and Hibernate want the programmer to produce more supported and tested code, which will reduce software support costs. and provide an opportunity to improve the application at a low real cost. "

+1
source

spring + hibernate framework with jpa provides a productive application. Since the structure is divided into a layer, why a new programmer can easily understand and easily change the enterprise project. The spring structure provides dependency injection, which means there is no need to manually create an object through a new keyword. while spring provides the object, and only the programmer focuses on the used object. And hibernate is an orm structure that is completely rich in a relationship database. He used saving / updating / deleting data in a table, only with the help of a java object. It reduces the Java code to connect to the database and records the SQL query and much more. hibernate provide methods for dml operations (data manipulation).

+1
source

Spring is the final structure, and the sleeping super loop is simply amazing, it helps a lot, security features useful when programming TDD, unit test, integration testing, etc.

very useful very easy to maintain a very bulky project.

Today, most heavy project managers prefer Spring to sleep.

I hope this is useful to you

thanks

0
source

Source: https://habr.com/ru/post/1335039/


All Articles