Home  >  Article  >  Java  >  java what is entity

java what is entity

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-11-14 17:33:114037browse

java what is entity

Java entities are specific classes, like the M in MVC refers to entities, which are divided into business logic layer, DAO layer, and controller layer. The DAO layer and business logic layer operate on entity objects. Generally, a single piece of data taken out from the database is packaged into an entity class for easy operation, or a specific class in a Java program is packaged into an entity.

For example, in the student management system, the student's name, age, and grades are defined as entities. This is also extended to ORM mapping relationships, and related packages are entities.

Many java training videos, all on the PHP Chinese website, welcome to learn online!

The above is the detailed content of java what is entity. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn