| Author |
JPA - Managability
|
Nimit Shah
Ranch Hand
Joined: Jul 02, 2007
Posts: 52
|
|
|
Can anyone please explain, how does JPA improves the managability?
|
 |
s patnaik
Ranch Hand
Joined: Jul 17, 2011
Posts: 45
|
|
|
Can you please be more elaborate or more specific with your question?
|
SCJP 5, OCPJP7, OCMJEA 5
|
 |
Vijay keshava
Ranch Hand
Joined: Jul 05, 2011
Posts: 40
|
|
From Why Use JPA or ORM?
Reasons for ORM
*Leverages large persistence library to avoid developing solutions to problems that others have already solved.
*Avoids low level JDBC and SQL code.
*Leverages object oriented programming and object model usage.
*Provides database and schema independence.
*Most ORM products are free and open source.
*Many enterprise corporations provide support and services for ORM products.
*Provides high end performance features such as caching and sophisticated database and query optimizations.
Reasons for JPA
*It is a standard and part of EJB3 and JEE.
* Many free and open source products with enterprise level support.
*Portability across application servers and persistence products (avoids vendor lock-in).
*A usable and functional specification.
*Supports both JEE and JSE.
Most of the points above directly/indirectly help improve manageability
|
 |
ChandanK Pandey
Greenhorn
Joined: Sep 06, 2011
Posts: 10
|
|
|
CRUD like opertaions can be taken care entitymanager hig level api, no need to write basic queries, m:n relationships can be managed via configuration, check out query generated for these associations .. its cumbersome to write and maintain in JDBC ..
|
 |
 |
|
|
subject: JPA - Managability
|
|
|