Вы находитесь на странице: 1из 6

`

A Dynamic Distributed E-business System based on MVC and SOA

Abstract
The dynamic E-business is the goal of E-commerce system development. The constructed
commercial condition based on the traditional technologies has two quite prominent problems.

I. Mutual information exchange and cooperation to become difficult.

II. Long development cycle.

To overcome the existing problem the distributed technology (SOA) is introduce in E-


commerce system. A dynamic E-business system instance is designed and implemented.
Distributed technologies are used to improve the software performance and also to construct the
dynamic E-commerce system of the good expansibility, maintainability.

Introduction
E-commerce is very efficient and effective, but it needs programming knowledge to
create and manage. A large percentage of electronic commerce is conducted entirely
electronically for virtual items such as access to premium content on a website, but most
electronic commerce involves the transportation of physical items in some way. E-commerce is a
subset of an overall e-business strategy. E-commerce seeks to add revenue streams using the
World Wide Web or the Internet to build and enhance relationships with clients and partners and
to improve efficiency using the Empty Vessel strategy. Electronic business, may be defined as
the application of information and communication technologies (ICT) in support of all the
activities of business. Commerce constitutes the exchange of products and services between
businesses, groups and individuals and can be seen as one of the essential activities of any
business.

This paper uses distributed technology and MVC (Model View Controller) design pattern to
design and implement a dynamic E-business system.
`

Distributed Technology
A. JSP / ASP.NET

JSP technology is a new dynamic web application technology standard. JSP web
page is composed of the traditional HTML web page files (*.html, *.htm), which are
inserted Java program files (Scriptlet) and JSP tags. Consequently, it comes into being a
dynamic page on the server according to the client request.

ASP.NET ASP.NET is a web application framework. ASP.NET is built on the


Common Language Runtime (CLR), allowing programmers to write ASP.NET code
using any supported .NET language. The ASP.NET SOAP extension framework allows
ASP.NET components to process SOAP messages. ASP.NET is the next generation ASP,
but it's not an upgraded version of ASP. ASP.NET is an entirely new technology for
server-side scripting.
BROWSER

Web
Request Service

JSP/ASP. WEB CONTAINER


SOAP
NET
ser

Services

Response

Database
`

MVC (Model-View-Controller):

Model View Controller architecture aims to separate an application into three parts:

The model manages the behavior and data of the application domain, responds to
requests for information about its state (usually from the view), and responds to instructions to
change state (usually from the controller). In event-driven systems, the model notifies observers
(usually views) when the information changes so that they can react.

The view renders the model into a form suitable for interaction, typically a user interface
element. Multiple views can exist for a single model for different purposes. A viewport typically
has a one to one correspondence with a display surface and knows how to render to it.

The controller receives input and initiates a response by making calls on model objects.
A controller accepts input from the user and instructs the model and viewport to perform actions
based on that input.

Workflow:
`

SOA (Service Oriented Architecture):


Service-oriented architecture (SOA) is a flexible set of design principles used during the
phases of systems development and integration in computing. A system based on a SOA will
package functionality as a suite of interoperable services that can be used within multiple
separate systems from several business domains. SOA also generally provides a way for
consumers of services, such as web-based applications, to be aware of available SOA-based
services. For example, several disparate departments within a company may develop and deploy
SOA services in different implementation languages; their respective clients will benefit from a
well understood, well defined interface to access them. XML is commonly used for interfacing
with SOA services, though this is not required. SOA defines how to integrate widely disparate
applications for a Web-based environment and uses multiple implementation platforms. Rather
than defining an API, SOA defines the interface in terms of protocols and functionality. An
endpoint is the entry point for such a SOA implementation.

Webservice:

A web service is a method of communication between two electronic devices. It is a "solution


logic" that can be exposed over the World Wide Web. The W3C defines a "web service" as "a
software system designed to support interoperable machine-to-machine interaction over a
network. It has an interface described in a machine-processable format (specifically Web
Services Description Language WSDL). Other systems interact with the web service in a manner
prescribed by its description using SOAP messages, typically conveyed using HTTP with an
XML serialization in conjunction with other Web-related standards
`

A Distributed E-Business System Architecture

HTTP Browser

REQUEST

S N OP SE R
E
JSP / ASP.NET

SOAP

Web service

Generate Form input Screen Generates Result Web Report


Controller

Model View

DATABASE
`

There is a system model based on the MVC design pattern. JSP/ASP.NET accepts the
users’ request on the background and then calls business logic for dealing with, finally returns
information to the browser. JSP/ASP.NET pass data between the servers and browsers, and they
do not directly visit database system they pass parameters to EJB component which implements
visiting database, and the database will return the result to display on the stage through
JSP/ASP.NET. This will encapsulate and protect the inner data in the system; components also
may distribute the business to other components to process.

The main technologies are JSP/ASP.NET; its function implements UI. Because the
essential of JSP/ASP.NET is a server side program, it can exchange HTML with the client. Not
only is implementing speed fast and is UI generation flexible, but also is the security very good,
at the same time, it can realize some simple application logic.

Conclusion and future work

This paper has expatiated the main differences between the dynamic distributed E-business
system architecture based on middleware technology and the traditional E-business system, the
former uses JSP/ASP.NET and MVC design pattern. The component technology of
JSP/ASP.NET based on MVC design pattern can simplify the developing process, improve the
software performance and quickly construct the dynamic E-commerce system of the good
expansibility, maintainability, dependability and high usability, thus it promotes the development
of the dynamic distributed E-business system.

REFERENCES

[1] Alexander H., Edward W.N. “A Component-based Framework for Distributed Business
Simulations in E-Business Environments”, ICEB(2004) pp.370–375.
[2] Zhou M.H,Deng J,and Guo C.G. “A Dynamically Reconfigurable Fault-Tolerant Object
Management Framework Based on Middleware”. Chinese Journal of Computers,
2006,09:pp.1431–1439
[3] Chen T.B.,Wu W. “Design and implementation for dynamic ebusiness integration based on
J2EE-enabled Web services”. Journal of Dalian University of Technology, 2005 ,9: pp.749–755
[4] Zhang Y.H Tao,W.J. and Chen N.J. “Architectural Level Performance Modeling of
Component System Based on Container Middleware”. Journal of Software.2006,6:pp.1328–
1337.

Вам также может понравиться