Igor Vaynberg wrote:
Having code like this

Class Person {
        private long id;
        private String username;
        private String firstname;
        private String lastname;
        
        ...getters/setters...

        public void save() {...}
        public void loadById(long id) {...}
}

Can be done with anything from hibernate to db40 to jdbc - its still a poor
way to write an application.


I don't like having to create a class for each data entity. On the other hand, those bean-style POJOs are very common and supported by various frameworks.

Can you give reasons for your opinion?


Timo


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to