72 people want to do this.

Publish a research paper.


 

How to publish a research paper.


People doing this are also doing these things:

Entries

RESEARCH PAPER ON JAVA(J2EE and MVC ARCHITECTURE) 4 weeks ago

J2EE and MVC ARCHITECTURE

Submitted By:   ROHAN KAPOOR 
NEERAJ VIJH

Abstract
J2EE architecture has many complicated layers, including client, presentation, business logic and data persistence layer. There is respective data presentation in relevant layer of J2EE, with strictly rules to access and transform data objects between these layers. According to the Façade pattern, In J2EE, it should control the access
to data persistence layer seriously to protect important enterprise data and avoid showing database pattern to client directly. The data persistence layer hides behind the business logic layer and provide business interfaces via the business logic layer to communicate with the presentation layer to package the data persistence layer, separates the data persistence layer from the presentation layer. This paper brings forward middleware technology which is the kernel and key to the solution of the dynamic E-business system through analyzing J2EE architecture, MVC design pattern, the component technology of JSP, Servlet and EJB etc. J2EE technology and MVC design pattern can simplify the software development, improve the software performance and quickly construct the dynamic E-business system of the good expansibility, maintainability, dependability and high usability.

Key-Words: – Persistence Layer, Presentation layer, Business logic layer, Model, View, Controller etc.

Introduction
This paper uses J2EE architecture and MVC (Model-View-Controller) design pattern to design and implement a dynamic E-business system or a web based application. On the Internet today, with the enterprise level
application is developing quickly, and the electronic commerce market is inflating fast, more and more enterprise level projects presents the development trend that they take the Web technology as the central
technology. At the same time, the dependence to the server end technology like the middleware is also increasing. So the information and technology department of the Enterprise needs a feasible way to
develop the application programs, and make the application programs be related with those middleware which are flexible and can be
transplanted.
These application programs should be able to concurrently deal with tens of thousands of users uninterruptedly all day long. One of the 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 discreteness 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.

The multi-layered architecture of J2EE

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. Not only does it consolidate many advantages of the standard and more convenient JDBC, JNDI, RMI, CORBA API, but also provides the protected data security pattern in Internet applying and comprehensively supports EJB, Java Servlet, Java Mail and XML technologies. The multi-layered architecture of J2EE [2] mainly includes the client layer (the behave layer), the presentation layer (the Web layer), the business logic layer (the application layer) and the data persistence layer (the EIS layer). Each layer has its specific function. Through providing components to the application program, J2EE realizes the multi-layered architecture function [3].

The client layer

J2EE supports many kinds of client types [4]. Because of the B/S structure [5], the main body of the program runs at the server end, and the client server does not need to undertake the complex calculate duty (this is the so-called “the thin client server”). 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 layer

The presentation layer is also called the Web layer [6], it runs in the J2EE Web vessel. Its major function is to deal with the HTTP request, and produce the response of HTTP dynamically according to the Servlet and JSP in the Web server.

The business logic layer

The different technologies the business logic layer [7] use run in the corresponding vessels. They are mainly used to realize the business logic in the enterprise application program. The so-called 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; it provides concurrency, flexibility, life cycle management, and fault tolerance and so on for the entire project.

The persistence layer

The persistence layer describes the business data of the application program, and simulates the real entity and the business flow of the organizations, so it is the foundation of the enterprise application.
The business object is the simple software abstract of the real world entity, it represents some concrete object in the business domain.

Fig.1 J2EE Architecture8

J2EE programming is extremely simple through using J2EE architecture based on the component, delaminating and the platform irrelevant, because the business logic is encapsulated into reused component, and J2EE server provides the background services for all components types through using container, it need not develop this kind of service by oneself. Therefore we may concentrate the energy on solution handy business problems.J2EE provides a variety of developing technologies, there are more commonly used in the following:

(1) JSP

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.

(2) Servlet

Servlet is a small Java program on the server side and it must realize HttpServlet interface. It can respond and deal with client request through Servlet API, and even it can bring a dynamic HTML page.

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, as the Fig.2 shows.

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.

HISTORY OF MVC

MVC was first described in 1979 by Trygve Reenskaug, then working on Smalltalk at Xerox PARC. The original implementation 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.
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.

MVC

Model-View-Controller (MVC) is a software design pattern. 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
The model is the principal part of application program. It expresses business data, it is clearly said that one model is a record in database. It is independent of the data form, in other words one model may provide the data for many views, in this way it reduces the repeated code for our application program.

(2) The view
The view is an interrelated part of User Interface (UI) in application program and a seeing and exchanging interface by users. One of advantages is that it can process many different views for your application program using MVC. Actually does not have the true processing to take place in the view, and the view is only regarded as a means of output data and user operation.

(3) The controller
The controller controls UI data displaying and updates the model object state according to the users’ input. The controller accepts the user input and calls the model and view to complete 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], shown as Fig.3

Fig.3 MVC design pattern

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, EJB etc based on J2EE platform and MVC design pattern can simplify the developing process, improve the software performance.
Moreover, 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 layer by the users. In this way, it can protect the business data effectively. Besides, it is useful to the upper debug and maintenance by separating the business logic and the data expression, and also by separating the data in different layers.

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/



SERVER VIRTUALIZATION 1 month ago

Virtualization is a term that is often applied to a wide range of technologies. Essentially, virtualizing a technology decouples the software used in that realm from the hardware. In the area of server virtualization, this means that multiple server environments (Windows, Linux etc) can be housed on a single piece of physical hardware. In this way, two Linux servers and a Windows server running on three separate machines could be virtualized and run on a single blade server box.



Untitled 1 month ago

Mudit Jain
I really want to publish a paper on L.I.G.O



Identification of Parkinson’s disease candidate genes 6 months ago

Abstract :

Parkinson’s disease(PD) is the second most common neurodegenerative disorder. The main pathological characteristic of the disease is degeneration of dopaminergic neurons in Substantia Nigra pars compacta(SNpc). Familial linkage studies have linked 13 human chromosomal loci, called PARK, which are to the disease and 9 out of hundreds of genes located in these loci have been identified as PD genes. Identification of responsible gene(s) within large number of genes residing in these loci requires approaches, including screening methods to narrow down the number of genes. Since several of the indentified PD genes are expressed in SNpc, expression within the neurons of this area could be a suitable criterion to limit the number of genes in PARK loci. In this work we have used the combination of findings from six transcriptome analysis studies, carried out on mice and rats, studying the gene expression profile of midbrain dopaminergic neurons, in addition to the PD linkage studies to identify further candidate genes for PD association studies. Merging the two sets of studies, we identified 20 genes in different PARK loci, 9 of which are located in orphan PD loci and one has been previously identified as a gene responsible for PD. This list expands the number of candidate genes, which can be further analyzed in genetic association studies and provide cues into the molecular and cellular basis for degeneration of mesencencephalic dopaminergic neurons in SNpc, during the course of PD.



THE EFFECT OF SONICATION TIME ON NANOCLAY/PEO COMPOSITE STRUCTURES 9 months ago

ABSTRACT
Nanocomposites are a novel class of material. The nanoclay has dimensions in the range of 1-100nm. One of the main limitations of the PEO/nanoclay composite is the creation of homogeneous mixture due to its poor solubility in the solvent. To solve this problem, we investigated the use of different techniques to mix the nanoparticles. However, this is certainly not limited to the effect of sonication time factor. It is very essential to have a
homogeneous mixture of PEO/nanoclay in order to improve and develop nanocomposites materials with excellent biological and mechanical properties. Strong chemical bonding between the reinforcement and the matrix can also be achieved. The PEO/nanoclay composite can be
readily used to address the problem of cellular deformation in the cytoskeleton as a result of applied forces, thus solving the problem of certain diseases such as cancer. On the whole, the
bioengineering communities are taking crucial effort to invest and develop biodegrable and biocompatible polymer scaffolds suitable for tissue engineering applications. This paper will address the preparation, characterization and structures of PEO/nanoclay with respect to the effect of sonication time before exposure to supercritical carbon dioxide.



write a paper 11 months ago

on control systems



BIOTECHNOLOGY 12 months ago

Synthetic media designing for recombinant E.coli for production of recombinant protein



PHARMACY 16 months ago

RUPESH



PHARMACY 16 months ago

RUPESH



Done ... kinda 20 months ago

Paper written, just gotta present it. Fingers crossed it’ll go without a hitch! :)



See all 20 entries

 

I want to:
43 Things Login