Commercial software development with the help of J2EE architecture and MVC

Similar documents
Client-Server Architecture & J2EE Platform Technologies Overview Ahmed K. Ezzat

Stock Trader System. Architecture Description

Contents. Client-server and multi-tier architectures. The Java 2 Enterprise Edition (J2EE) platform

Internet Engineering: Web Application Architecture. Ali Kamandi Sharif University of Technology Fall 2007

Instituto Politécnico Nacional Escuela Superior de Cómputo. THEMATIC UNIT: I Introduction to Web Applications

The Design of B2B E-commerce System Based on MVC Model and J2EE

How to Build an E-Commerce Application using J2EE. Carol McDonald Code Camp Engineer

zen Platform technical white paper

SSC - Web development Model-View-Controller for Java web application development

How To Understand The Architecture Of Java 2Ee, J2Ee, And J2E (Java) In A Wordpress Blog Post

Client-server 3-tier N-tier

White Paper: 1) Architecture Objectives: The primary objective of this architecture is to meet the. 2) Architecture Explanation

Performance Prediction, Sizing and Capacity Planning for Distributed E-Commerce Applications

SOFTWARE ARCHITECTURE FOR FIJI NATIONAL UNIVERSITY CAMPUS INFORMATION SYSTEMS

Application of MVC Platform in Bank E-CRM

Java Technology in the Design and Implementation of Web Applications

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

SOFT 437. Software Performance Analysis. Ch 5:Web Applications and Other Distributed Systems

Pro<DOC/> e-commerce Technology An Introduction

Using XML to Test Web Software Services. Modern Web Sites

3-Tier Architecture. 3-Tier Architecture. Prepared By. Channu Kambalyal. Page 1 of 19

Course Title: ITAP 4371: E-Commerce. Semester Credit Hours: 3 (3,0)

Glassfish, JAVA EE, Servlets, JSP, EJB

Core J2EE Patterns, Frameworks and Micro Architectures

An introduction to creating JSF applications in Rational Application Developer Version 8.0

A standards-based approach to application integration

Customer Bank Account Management System Technical Specification Document

Distributed Database Design

Portals, Portlets & Liferay Platform

Design Approaches of Web Application with Efficient Performance in JAVA

MVC pattern in java web programming

Service Oriented Architecture for Enterprise Applications

Case Studies of Running the Platform. NetBeans UML Servlet JSP GlassFish EJB

Distributed Objects and Components

Decomposition into Parts. Software Engineering, Lecture 4. Data and Function Cohesion. Allocation of Functions and Data. Component Interfaces

JEE Web Applications Jeff Zhuk

Web Application Architectures

ARCHITECTURAL DESIGN OF MODERN WEB APPLICATIONS


Enterprise Integration Architectures for the Financial Services and Insurance Industries

MVC Architecture Driven Design and Implementation of Java Framework for Developing Desktop Application

Software Development Kit

OUR COURSES 19 November All prices are per person in Swedish Krona. Solid Beans AB Kungsgatan Göteborg Sweden

CrownPeak Java Web Hosting. Version 0.20

Journal of Chemical and Pharmaceutical Research, 2015, 7(3): Research Article

Service Oriented Architectures

How To Develop A Web Service In A Microsoft J2Ee (Java) 2.5 (Oracle) 2-Year Old (Orcient) 2Dj (Oracles) 2E (Orca) 2Gj (J

PHP Web Authoring for Database Management based on MVC Pattern

Open Access Design and Implementation of Online Shopping System Based on the Struts Framework. Zhang Li 1,* and Zhao Luhua 2

In this chapter, we lay the foundation for all our further discussions. We start

HPC Portal Development Platform with E-Business and HPC Portlets

Oracle WebLogic Server 11g: Administration Essentials

CloudCERT (Testbed framework to exercise critical infrastructure protection)

HPC PORTAL DEVELOPMENT PLATFORM

What Is the Java TM 2 Platform, Enterprise Edition?

Core Java+ J2EE+Struts+Hibernate+Spring

Communiqué 4. Standardized Global Content Management. Designed for World s Leading Enterprises. Industry Leading Products & Platform

B. WEB APPLICATION ARCHITECTURE MODELS

The Regional Medical Business Process Optimization Based on Cloud Computing Medical Resources Sharing Environment

Extending Desktop Applications to the Web

New Methods for Performance Monitoring of J2EE Application Servers

Service Oriented Architecture

Windows 2000 / NT 4.0 / 95 / 98, MS-DOS, Suse Operating Systems

Web Frameworks. web development done right. Course of Web Technologies A.A. 2010/2011 Valerio Maggio, PhD Student Prof.

The Oracle Fusion Development Platform

Tutorial: Building a Web Application with Struts

Design and Functional Specification

Detailed Table of Contents

C/S Basic Concepts. The Gartner Model. Gartner Group Model. GM: distributed presentation. GM: distributed logic. GM: remote presentation

Information and Teleommunications Converged Application Developed Using the SIP Built-in Application Server SipAs on WebLogic

Research Article. ISSN (Print) *Corresponding author Lili Wang

Chapter 1 Introduction to Enterprise Software

Performance Comparison of Persistence Frameworks

Have you ever done something the long way and then

Web Presentation Layer Architecture

How To Retire A Legacy System From Healthcare With A Flatirons Eas Application Retirement Solution

Virtual Credit Card Processing System

Course Name: Course in JSP Course Code: P5

2012 LABVANTAGE Solutions, Inc. All Rights Reserved.

Web Development Frameworks

NetBeans IDE Field Guide

Net-WMS FP Net-WMS SPECIFIC TARGETED RESEARCH OR INNOVATION PROJECT. Networked Businesses. D.8.1 Networked architecture J2EE compliant

Oracle Application Development Framework Overview

This training is targeted at System Administrators and developers wanting to understand more about administering a WebLogic instance.

3M Information Technology

Agile Best Practices and Patterns for Success on an Agile Software development project.

An Architecture for Web-based DSS

A Comparative Study of Web Development Technologies Using Open Source and Proprietary Software

JAVA/J2EE DEVELOPER RESUME

IBM Rational Web Developer for WebSphere Software Version 6.0

New Web Application Development Tool and Its MDA-Based Support Methodology

Client/server is a network architecture that divides functions into client and server

Business Software Rapid Development Platform based on SOA

Web Services and Service Oriented Architectures. Thomas Soddemann, RZG

Productivity Comparison for Building Applications and Web Services

WEB SERVICE FOR STUDENT ATTENDANCE MANAGEMENT SYSTEM

Research on Operation Management under the Environment of Cloud Computing Data Center

1 What Are Web Services?

WEB SERVICES. Revised 9/29/2015

Test Run Analysis Interpretation (AI) Made Easy with OpenLoad

Transcription:

Journal of The International Association of Advanced Technology and Science Commercial software development with the help of J2EE architecture and MVC Anup Kumar Ranjeeta chauhan 1. Abstract The Java 2 Platform,Enterprise Edition(J2EE) provides a standard for developing multitier, enterprise services.the economy and technology of today have intensified the need for faster,more efficient and large- scale information management solutions.j2ee architecture supports component-based development of multi-tier applications.this paper brings forward computing technology which is a key solution of dynamic E-business system through J2EE architecture,mvc design pattern and wed components such as (JSP),Servlet,EJD etc.j2ee technology can easily simplify the development of software.it also improve the performance of software and construct E- business of high maintainability and usability. 2. Introduction In this paper J2EE architecture and MVC design pattern are used to design and implement a dynamic E- business system or a web based application. Today on the internet,with the enterprise level application is developing quickly and the electronic commerce market is expanding fast and more and more enterprise level projects presents the development trend that they take the web technology on the central technology. At the same instant,the dependence to the server end technology like the middleware is also becoming greater.so the department of information and technology of the Enterprise needs a advisable way to germinate the application programs and make the application programs be related to those middleware which are elastic and can be transplanted. These application programs should be able to simultaneously deal with tens of thousands of users uninterruptedly all day long. One of the most problems to build such a complex application program is how to design it, develop it and maintain it. Using J2EE can not only simplify the foundation of the enterprise level application program, but also cause the designers and the programmers to distribute the function in each distinctness of the server end when using J2EE to establish the application programs. As the J2EE adopts the layered thought, and subdivides the process of the corresponding response or the resources that obtains from the user into multi-layer to deal with, and each layer is realized by the component technology, therefore regarding a large-scale enterprise level application, it needs to coordinate the relations of each layer well, and increases the cohesion of each layer, but maintains the incompact coupling. The key of the managing to each layer in J2EE is to control the interior business data and the customer data in the J2EE architecture system.

3. J2EE-3-tier or n-tier architecture J2EE (Java 2 Platform, Enterprise Edition) is an architecture which uses Java platform to simplify many enterprises on the development, deployment and management of the related complex questions. The basic J2EE technology is the core of Java platform or Java 2 platform standard. There are the many advantages of multi-tier architecture these are-easy to maintain, to manage to scale loosely separated and loosely coupled from each other,and may be distributed. It also provides the protected data security pattern in Internet applying and comprehensively supports EJB, Java Servlet, and Java Mail and XML technologies. The multi-tired architecture of J2EE [2] mainly includes the client tier (the behave tier), the presentation tier (the Web tier), the business logic tier (the application tier) and the resource tier (the ERP tier). Each tier has its specific function. Through providing components to the application program, J2EE realizes the multi-tired architecture function [3]. The client tier. The major function of the client layer is to enable the users to carry on the communication smoothly with the server through the user interface. There are three kinds of technologies on the client layer: HTML (a general electronic commerce network, and is also the most universal kind), the radio equipment (can get information anytime and anywhere), and the Applet or the Java application program (can be used to realize the complex and fast user interface) and so on. The presentation tier The presentation tier encapsulates the presentation logic required to serve clients. A servlet or JSP in the presentation logic required to serve clients. A servlet or JSP in the presentation tier intercepts client requests, manages logons, sessions, accesses the business services, and finally constructs a response, which gets delivered to client. The business tier The business tier provides the business services. This tier contains the business logic and the business data. They are mainly used to realize the business logic in the enterprise application program. The socalled business logic refers to the processing demand to the data carried by the specific enterprise (client). For example, in the telecommunication enterprise, there is a series of operations such as inquiring the phone bill, filling the account, calculating the cost and so on. Each enterprise has its unique business logic because of there own distinctive quality, so it needs to be realized in the business logic layer. In the actual project development, the business logic layer is very important as it provides concurrency, flexibility, life cycle management, and fault tolerance. The Resource tier The resource tier is the external resource such as a database, ERP system, mainframe system etc responsible for storing the data. This tier is also known as Data Tier or EIS (Enterprise Information System) Tier.

The integration tier The integration tier is responsible for communicating with external resources such as database, legacy systems, ERP systems, messaging systems like M Q Series etc. Fig.1 J2EE Architecture

1. JSP JSP technology is a new dynamic web application technology standard. JSP web page is composed of the conventional HTML web page files (*.html, *.htm), which are inserted Java program files and JSP tags. As a result, it comes into a dynamic page on the server according to the client request. 2. Servlet Technically a servlet is a java class in java EE that conforms to the java servlet API a standard for implementing java classes which respond to requests. Three methods are central to the life cycle of the servlet.these are init (), service (), and destroy (). 4. Interaction between different layers In the J2EE multi-layered architecture, it should strictly control the visit to the persistence layer. One of the reasons that J2EE adopts the layered thought is to protect the important business data, and avoid exposing the database pattern directly to the client server. Generally, the presentation layer interacts with the database by the business layer and the persistence layer. The word Façade in English means the frontage of the building. But in the design pattern, it means to hide the facility behind the interface (the positive pattern Façade Pattern) by the uniform and simple interface. According to this thought that hides the persistence layer behind the business logic layer, and connects with the presentation layer through the interface that the business layer provided, to realize the separation between the persistence layer and the presentation layer. 5. Model view controller- history MVC is really old and was first described in 1979 by Trygve Reenskaug, then working on Smalltalk at Xerox PARC. The original execution is described in depth in the influential paper Applications Programming in Smalltalk-80: How to use Model View Controller.There have been several derivatives of MVC. For example, Model View Presenter is used with the.net Framework, and the XForms standard uses a model-view-controller-connector architecture. However, standard MVC remains popular. 6. Though MVC comes in different flavors, control flow is generally as follows:- 1. The user interacts with the user interface in some way (for example, presses a mouse button) 2. The controller handles the input event from the user interface, often via a registered handler or callback and converts the event into appropriate user action, understandable for the model. 3. The controller notifies the model of the user action, possibly resulting in a change in the model s state.(for example, the controller updates the user s shopping cart.) 4. A view queries the model in order to generate an appropriate user interface (for example, the view lists the shopping carts contents). Note that the view gets its own data from the model. The controller may (in some implementations) issue a general instruction to the view to render itself. In others, the view is automatically notified by the model of changes in state (Observer) which require a screen update.

5. The user interface waits for further user interactions, which restarts the cycle. Some implementations such as the W3C XForms also use the concept of a dependency graph to automate the updating of views when data in the model changes. By decoupling models and views, MVC helps to reduce the complexity in architectural design and to increase flexibility and reuse of code. 7. MVC Model-View-Controller (MVC) is a software design pattern. This pattern is used to separate application s concerns. Using this pattern, the system is divided into three modules, every module has own function. This is a typical multi-tier structure designing ideas. There are three categories in the following [3]: (1) The model Model is the principal part of an application program. It expresses business data, it is clearly said that one model is a record in database. A model notifies its associated views and controllers when there has been a change in its state. This notification allows the views to produce updated outputs, and the controller to change the available set of commands. (2) The view View represents the visualization of the data that model contains. One of advantages is that it can process many different views for your application program using MVC. (3) The controller Controller controls UI data displaying and updates the model object state (e.g., editing a documents) according to the users input. The controller accepts the user input and calls the model and view to finish the user demand. So when we click the hyperlinks in the web page and send HTML table list, the controller itself does not have any output and make any processing. It only receives the request and determines calling which model to deal with the request, and it confirms to use which view to display the returning data of the model processing.there is the relationship of the model, the view and the controller [4], Shows as fig.

Web server is an important part of J2EE architecture. The main technologies are Servlet and JSP; its function implements UI. Because the essential of JSP and Servlet is a small Java program on the server side, it can exchange Java Applet and 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 The component technology of JSP, Servlet, and EJB etc based on J2EE platform and MVC design pattern can simplify the developing process and improve the performance of software. Further, Based on the development architecture composed by the Struts and the Hibernate, it passes the data by the value object which the layers corresponding to, and strictly controls the visit to the persistence tiers by the users. Thus, it can protect the business data efficaciously. Alongside, it is useful to the upper debug and maintenance by separating the business logic and the data expression, and also by severally the data in different tiers. References [1] Hangzhou, China, April 6-8, 2008 Research on Data Expression in J2EE Architecture system [2] Michael Girdley, J2EE Applications and BEA WebLogic Server, Publishing House of Electronics Industry. 2002. [3] Wu Wei, Lu Jian-de, Research of Layer Pattern on Developing of J2EE Application, Microcomputer Development, Vol.15, No.1, 2005.1, pp.125-127. [4] Chuck Cavaness, Jakarta Struts, O REILLY Publishing, 2004, 151-184. [5] Bambara J.J, J2EE Unleashed, Beijing: China Machine Press, 2002. [6] Zhu Xiaoyi, The 3-tier B/S Enterprise Information System Based on J2EE, Journal of Taiyuan University of Technology, Vol.36, [7] Jim Keogh. J2EE Complete Reference, Publishing House of Electronics Industry. 2003. [8] Mike Brevoort, Sr. Associate, Mike Steinley, Sr. Associate, Heather Spinnenweber, Sr. Associate, A Distributed Component Architecture Model, October 2004. [9] The J2EE 1.4 Tutorial, http:// java.sun.com/j2ee/1.4/docs/tutorial/doc/