What is the architecture for web apps with mobile apps?

I have a web application running under Apache Wicket (Java EE MVC framework). This is currently a website. I think of the architecture used to create mobile applications. Mobile applications will simply provide information and accept user inputs (e.g., profile configuration).

I have an N-tier architecture where:

  • The database is the same as the one used by the current webapp.
  • Building a business logic level, which will be a web service that provides all the information I need from the database and processes user inputs. This is the server side.
  • A web service that queries the level of business logic and provides information via XML or JSON
  • The user interface level, which is mainly my mobile application (iOS, Android, ...). They send requests to the business layer through the web service. Requests return data to display or send user interface information.

I thought that the level of web service could serve the website as well as the mobile applications.

Does this architecture make sense? If so, is my last sentence breaking the MVC framework already in place?

+5
source share
2 answers

I would not rewrite the existing web application, perhaps it is not worth the effort.

() . HTML- HTML - MVC -.

. - JSON , ( ), . MVC javascript, .

+1

, , HTML, CSS, JavaScript. API- JavaScript, , , , . iOS, Android, Blackberry, WebOS, Symbian Windows Mobile. , , - , , HTML, CSS JavaScript. : http://www.hongkiat.com/blog/mobile-frameworks/. , PhoneGap. , .

0

All Articles