Browse Prior Art Database

Framework to integrate Mobile presentation layer with MVC based Legacy Web application by reusing the core business logic (Controller and Model Layer).

IP.com Disclosure Number: IPCOM000239305D
Publication Date: 2014-Oct-28
Document File: 5 page(s) / 82K

Publishing Venue

The IP.com Prior Art Database

Abstract

A powerful framework (based on Plugin, Servlet and Rest Services), which can integrate mobile presentation layer with legacy business logic exposed as Rest services. It provides flexibility to change core business for mobile layer and maintain separation of mobile and web application calls. Concept is simple enough to be implemented with any MVC based web application.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 40% of the total text.

Page 01 of 5

Framework to integrate Mobile presentation layer with MVC based Legacy Web application by reusing the core business logic (Controller and Model Layer).

Disclosed is a framework API, which can be used to integrate mobile presentation layer with MVC based legacy business application. The current market shift towards mobile application present a challenge to IT Firms, either they need to look for a way to integrate these legacy business with new technology or writing the whole legacy business from scratch is very cost incentive and time consuming. If observed Mobile and Web applications, it is the presentation layer which is different. Mobile presentation layer is using the current set of technologies to support wide range of mobile devices, which Web presentation layer can't accommodate.

There is no solution available in market which allows IT firms just to replace Mobile presentation layer with Web application's presentation layer, allows reuse of whole business code of legacy web application. To make these, business intensive web application accessible via mobile in faster and cost effective manner, a framework is required, which can allows replacement of presentation layers, reuse legacy business logic, validations and have ability to recognize whether a call is coming from mobile or web application to maintain them in better manner.

Concept of integration framework: Power of plug-in, servlets and Rest Services has been used to conceptualize this framework. Abstraction is used at every layer to hide the complexity of implementation and to provide simple API methods for implementation. The concept is so powerful that every single line of core business can be reused in mobile application, including exception handling and server side validations.

Rest Plug-in: This plug in will map the REST Service request with MVC based framework action. It will be used to extract all the information of struts action. When web application will be deployed to application/web server restActionConfig object will get created with moduleConfig object, which will be used to map the rest action url with struts action url.

MobileBaseServlet: This component will be called from the deployment descriptor of the web based application. It will take the REST service input object, extract the form- bean associated with struts action, populate the data from REST service input object to struts's Form bean and call the struts action- the core business logic, execute the business logic and prepare the output object for REST service, which can be consumed by the mobile layer. In this layer business logic can be modified by manipulating the inputs and output of the web logic, as per mobile app requirement.

Rest Services: Rest services will be used to communicate with mobile layer. Mobile layer will send a REST- Request with JSON object to Web Application and Web application will return the successful response back to mobile layer via Rest service. Error response will...