This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Main reason for using MVC design pattern as wriiten in books generally is :
" If application is being used by different types of client i.e browser, PDA,cell phones,desktop application etc. Data access logic cannot be mixed with view as every cleint type has differnt data access logic ,so we need to write different versions of application of every client type ,thats why MVC pattern is used in such cases to separate view from data access logic."
I just want to know what format of view is used by PDA or cell phones clients for a J2EE application,for example clients using browser will have HTML or JSP page,client using desktop application will see SWING pages probably jar file.What format is used by other clients?
Also,how come data access logic for cliens using BROWSER (JSP Page) or DESKTOP application is not same?
Trying to write a J2EE application using MVC design pattern,so these basic comes in mind.
Second one, web client talks HTTP where as cellphone/PDA (WAP) may not be using the same exact communication as IE. There are server or containers which are capable handling both protocols.
Regards,<br />Joe<br /> <br />"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live."<br />--Martin Golding
Joined: Aug 21, 2008
So when any kind of client once get connected to application server using different protocols, the logic used in model is same for any type of client for data access and modification as Data access logic is independent of client type ?