Why do some projects have duplicated Model classes in database module and view module?

I have seen some projects that have structs/POJOs/Data classes like class Post { public String title; public String content; } duplicated one in packages related to View and rendering, and another in packages related to database and persistence. Are there any advantages in doing this?

submitted by /u/happycoder97
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! http://bit.ly/2GNdsEE

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close