Web Frameworks caring about persistence?
Posted
by
Mik378
on Programmers
See other posts from Programmers
or by Mik378
Published on 2012-09-14T15:16:16Z
Indexed on
2012/09/14
21:48 UTC
Read the original article
Hit count: 417
I have noticed that Play! Framework encompasses persistence strategy (like JPA etc...)
Why would a web framework care about persistence ?!
Indeed, this would be the job of the server-sides components (like EJB etc...), wouldn't this?
Otherwise, client would be too coupled with server's business logic.
UPDATE: One answer would be : it's more likely used for simple application including itself the whole business logics. However, for large applications with well-designed layers(services, domain, DAO's etc..), persistence is not recommended within web client layer since there would be several different web(or not) clients.
© Programmers or respective owner