Research of Structure Integration based on Struts and Hibernate

Size: px
Start display at page:

Download "Research of Structure Integration based on Struts and Hibernate"

Transcription

1 2009 World Congress on Computer Science and Information Engineering Research of Structure Integration based on Struts and Hibernate Juanjuan Yan,Bo Chen,Xiu-e Gao,Le Wang Information Engineering College,Dalian University,Dalian Liaoning, China Abstract Struts framework based on MVC has brought the best code reuse and the legible code structure in entire system by far, but it has some problems such as complicated program, high coupling among layers and hard maintenance because its model part adopts JDBC to connect databases directly. The ORM characteristics of Hibernate make it simple and easy to implement the transplant and manipulation of databases. The development and maintenance of entire system become easier because of these characteristics. This paper proposed the integration of Struts and Hibernate and showed a simple system to explain the advantages of the integration. 1. Introduction Following the rapid development of network technique, the distributed enterprise Web application technique is becoming mature day by day. With the extensive application of Java technology, the Web application system of Java 2 Platform Enterprise Edition (J2EE)[1] is accepted by the great majority companies gradually for its stratification and the independence of platform. J2EE has been testified to be a trusting enterprise technique of software development and supported by many important firms of IT industry. But J2EE has some disadvantages, for instance, the high price, long periods and complex realization which bring from Enterprise Java Bean(EJB). Now Struts has already become the most popular framework based on Java language because of bringing the excellent layer division to Web application. At present, a few large-scale firms embed Struts in J2EE of the assembly development implement. But in the model part of Struts the realization of the interaction between system and database is not ideal. While Hibernate provides the mapping mechanism from Java class to datasheet, the data inquiring and recovering mechanism and so on, and it realizes the object permanence of data layer. Hibernate gets rid of the disadvantages of operating the relational database in system directly. Therefore, adopting the multi-layer framework of integration based on Struts and Hibernate can bring the both merits to play sufficiently which solves some disadvantages of the traditional J2EE well. 2. Struts Framework Based on MVC In the traditional Web application, Java Server Pages(JSP) pages are responsible for handling all things, for example, receiving requests, executing business logics, choosing the next page. These complicated things may lead to chaos of JSP pages codes and be harmful for the extension and maintenance of pages. The Model-View-Controller (MVC)[1] mode separates the programming codes into three different areas, which has solved the above problem. MVC can realize J2EE application system's stratification and the loose coupling of three layers or multilayer, and it is a realization way of orienting dynamic content. The MVC mode divides application into three core components of Model, View and Controller. Struts is a realization of MVC. It is an open source Web application framework and uses Servlet and JSP marks that belong to the J2EE norm as a part of the realization. Struts inherits MVC characteristics and realizes some corresponding changes and extension according to J2EE traits. Struts separates Java codes of JSP by Java Bean and Action class to be the MVC mode, transmits data among the three partitions of Model, View and Controller, demonstrates the connection between various classes and JSP pages by configuration files finally and it intends to realize the separation of presentation layer, business layer and data layer. The Struts structure is shown in Figure 1. The Model contains the business logic that exchanges data with a persistence layer. The View is in charge of producing what is directly visible to the user, e.g. web pages. The Controller is the layer that receives requests from clients, determines what business logic takes place and where to go next. In the Struts framework, the Model uses Java classes for the business logic. The View can be implemented with JSP and the Taglib of Struts. The Controller is a J2EE component known as Servlet, more specifically an ActionServlet object, which determines what or when logic gets executed and where the control should get directed. The research is sponsored by IT industry bureau of Dalian (No ) /08 $ IEEE DOI /CSIE

2 Event Controller ActionServlet Http Request Dispatch Business Logic (Action) application server, and nearly support all popular databases server. 3.2 Principle of Hibernate Client (Browser) Update Http Response Struts-Taglib Forward View (JSP) Struts-config.xml Get Figure 1. Struts structure Model (Application State) Application Resource 3. Hibernate Framework Based on ORM Working with both the object-oriented software and the relational database is a complicated task with Java Database Connectivity (JDBC) because there is mismatch between how data is represented in objects versus relational database. So with JDBC, developers have to write pure the Structured Query Language (SQL) statements to map an object model's data representation to a relational data model and its corresponding database schema Introduction of Hibernate Hibernate is a flexible and powerful Object- Relational Mapping (ORM)[2] solution to map Java classes to database tables. It is a powerful, high performance object-relational persistence and query service. Hibernate allows developers to express queries in its own portable SQL extension (Hibernate Query Language (HQL))[3], as well as in native SQL, or with an object-oriented criteria and example Application Programming Interface(API). Hibernate itself takes care of this mapping using XML files so developers don t need to write code for this. Hibernate is an open source and it is free to use for both development and production deployments, which is a bridge between Java application and relational database and takes charge of mapping between Java objects and relational data. The inside of Hibernate packs the operation of accessing database by JDBC, which provides API of object-oriented database access to upper layer application. So developers can use the object programming thought to operate database sufficiently, caring for the bottom database structure unnecessarily. Hibernate relieves the developer from 95 percent of common data persistence related programming tasks, compared to manual coding with SQL and the JDBC API[4]. And it can integrate various Web server or Application Persistent Objects Hibernate Hibernate.properties XML.Mapping Database Figure 2. Hibernate systematic structure As shown in figure 2, Hibernate lies in the middle layer that is between application and database. In the provided persistent service, Hibernate maps class to rows of datasheet by properties and mapping files of class (mapping.xml) itself. Application interacts with database by Persitstent Object (PO) to handle data directly. 4. The Integration of Struts and Hibernate In the open source frameworks, for the presentation part, Tapestry[2] has the powerful and natural combination of pages, its document is too conceptional to benefit programming. And its learning curve was too steep and so on. For the logic part, Spring has a good integration function, but there is a lack of public controller. And EJB[2] depends on the EJB containers, at the same time, it is realized complicatedly. While Struts has been applied extensively because of its advantages. At present, most of systems apply the relational databases mainly, while Java is an object-oriented language essentially. In Model part of Struts framework application, using SQL and JDBC to operate databases when storing and fetching objects reduces programming efficiency and the systematic maintainability. Traditional J2EE-based application applies heavyweight framework based on EJB that adapts to the large enterprise development, while development and debugging by EJB container need to consume a plenty of time and high price. EJB3 improves the disadvantages of original EJB, but its application is not mature yet. Hibernate can substitute Container-Managed Persistence (CMP) to accomplish heavy responsibility of permanence in J2EE framework of applying EJB[3]. In a word, Hibernate can resolve the difficulties coming from using traditional CMP, JDBC and Data Access Object(DAO)[5] in a technological development. For reducing the coupling of code and raising systematic development efficiency, this paper suggests J2EE 531

3 application development tactics based on Struts and Hibernate. The Struts design shows the MVC framework sufficiently, which all control flows need a configuration file (Struts-config.xml) to manage, and which is convenient to maintain. The integration of Struts and Hibernate is that Hibernate solves the model layer of Struts, which makes developers operate Java objects instead of database. The integration shows the object-oriented thought sufficiently and solves some problems of the database operation in traditional J2EE well Flow of Framework The flow of integration framework based on Struts and Hibernate is shown in Figure 3[6]. At first, users send Http requests by Browser, then Http requests are accepted by ActionServlet of the control component in business layer, then gave to RequestProcessor which gets corresponding Action from ActionMapping by request URL[3]. Besides, ActionForm packs JSP pages, which can make a checking to data of datasheet if it is needed, send back ActionErrors to visual pages if there are mistakes and transfer the data of pages to Action if it passes validation. RequestProcessor transfers the execute method of Action and the method transfers the business logic module. Hibernate accomplishes interaction of databases and JavaBean. The operation of processing business logic interacts with database by data permanence layer and field object layer. The execute method of Action will return ActionForward objects that are accepted by ActionServlet after executing. Thereby, ActionServlet is transmitted to the appointed resource of ActionForward, which means the correct view chosen is shown to users Systematic Structure of the Integration Framework The EIS layer of the multi-layer J2EE systematic structure can be partitioned into the data permanence layer[7] and the data resource layer. It means a system can be divided into five layers as a whole: Client Layer: This layer runs in the Browser of users machines and handles interaction with users, transmits and shows messages to users. J2EE platform supports different type users including HTML users, Java Applets, Java application, etc. Presentation Layer: This layer works in J2EE Web container, produces the systematic representation logic, handles users requests and makes the responses. The entire Web is built on Struts framework, in which the View component is composed of JSP/HTML pages whose data is expressed by ActionForm Bean, the Controller component is composed of ActionServlet united Struts-config.xml and Action Classes, and the Model component is realized by business logic layer. Business Logic Layer: This layer accomplishes the required business of system, provides the required business method to presentation layer. It can receive data from client programs and save them to the storage equipment after proper disposal, read data from the data storage equipment, then send them out to client programs. This layer is composed of Business Objects (BO) such as JavaBean and session EJB. Client layer Presentation layer Request Bro wser JSP(Taglib) ActionForward Response <View> Data verificat ion Choose correct views ActionServlet (ActionMapping) fill request data ActionForm Mapping Action ActionForward <Control> pages data Business logic layer JavaBean EJB <Model> Hibernate Permanence layer Relational database Figure 3. Flow chart of the integration framework based on Struts and Hibernate Data Permanence Layer: This layer is composed of Hibernate that gains data from data source, then generates PO, and passes it to the business logic layer. In Hibernate, the Value Object(VO) acts as PO. Data Source Layer: The layer s another name is database layer, which stores the systematic application data. The entire system framework may be expressed by JSP-BO-DAO/VO(Hibernate)-DB[8]. The maximal characteristic of system frame is the combination 532

4 between presentation layer of Struts and data permanence layer of Hibernate. It adopts the multi-layer systematic structure to restrict the expression of application data within corresponding layers, which reduces data coupling among layers and improves the maintainability and expansibility of the overall framework. 5. Instance The realization of login system shows the flow of development the WEB application adopting by Struts and Hibernate framework. The system completes the input and checking of relevant messages including username and password. If the username input exists in the database and the password is correct, users can log on successfully. The other way round, users gets a frustrated result. 5.1 Application of Struts Framework Struts famework realizes the VC component of the Model-View-Controller design mode. (1)Jsp corresponds View component, and the HTML Taglib of Struts make Jsp become a pure View layer, the part codes of the login page are as follows: <html:form action="/login" method="post"> username : <html:text property="username"/> <html:errors property="username"/><br/> password : <html:password property="password"/> <html:errors property="password"/><br/> <html:submit/><html:cancel/> (2)ActionServlet corresponds Controller, transmits and controls by a configuration file of Strutsconfig.xml,whose part codes are as follows: <action attribute="loginform" input="/login.jsp" name="loginform" path="/login" scope="request" type="com.yourcompany.struts.action.loginaction"> <forward name="failed" path="/failed.jsp" /> <forward name="success" path="/success.jsp" /> </action> After ActionServlet receives the login request of user(login.jsp) according to the configuration file, the LoginForm that belongs to ActionForm class checks whether the username input exist in the database. The messages which LoginForm gets are past to LoginAction. LoginAction does with the operation transaction of checking the messages. (3)ActionForm pack up the form domain to become ActionForm object, which avoid the operations of get and set. ActionForm takes charge of collection messages. The statement of ActionForm(loginForm) in Struts-config.xml are as follows: <form-beans > <form-bean name="loginform" type="com.yourcompany.struts.form.loginform" /> </form-beans> 5.2 Application of Hibernate Framework The system creates Hibernate mapping while invoking Hibernate connection for the first time. At the same time the mapping file(user.hbm.xml) and the table object(user.java) are maked automatically. The User class is a POJO(Plain Old Java Object) which represent the user table of database. The properties of User mappings to the relational database by User.hbm.xml of configuration mapping-file. Every row of data in the relational database is a VO and every field in it is a property value. Hibernate mapping file explains the mapping relation of persistent classes and relational database tables, including of the relation of persistent classes. (1) The part codes of User.hbm. xml are as follows: <hibernate-mapping> <class name="org.jjyan.vo.user" table="user" catalog="database"> <id name="userid" type="java.lang.integer"> <column name="userid" /> <generator class="native" /> </id> <property name="username" type="java.lang.string"> <column name="username" length="20" notnull="true" /> </property> <property name="password" type="java.lang.string"> <column name="password" length="20" notnull="true" /> </property> </class> </hibernate-mapping> (2)Create an interface(iuserdao.java) to declare the methods of operating database,then adopt a java class(usermysqldao.java) inheriting the interface to realize the methods in order to operate the related table.here applying the inerface can easy to extend database.the codes of IUserDAO.java and UserMysqlDAO.java are as follows: (IUserDAO.java) public interface IUserDAO { public User ValidateUser(String username,string password); (UserMysqlDAO.java) public class UserMysqlDAO implements IUserDAO { 533

5 public User ValidateUser(String username, String password) { Session session = HibernateSessionFactory.getSession(); Query query = session.createquery("from User u where u.username=? and u.password=? "); query.setparameter(0,username); query.setparameter(1,password); User user=(user)query.uniqueresult(); return user; (3)Data transformation(operation logic transaction) between presentation layer and persistence layer is proceeded in Action which corresponds to Model layer and executes transaction logic. In Action the method of execute does many operations and returns ActionForward transmitted by controller. The action realizes the integration of Struts and Hibernate. The realization is as follows: public ActionForward execute(actionmapping mapping, ActionForm form,httpservletrequest request, HttpServletResponse response) { LoginForm loginform = (LoginForm) form; IUserDAO userdao = new UserMysqlDAO(); LoginForm lf = (LoginForm)form; String username=lf.getusername(); String password=lf.getpassword(); User user=userdao.validateuser(username, password); if(user!=null) { return mapping.findforward("success"); return mapping.findforward("failed"); 5.3 Advantages of the Integration In the login application, Struts realizes the complete division of View, Model and Controller, especially the labor of mend and maintenance of transaction is lighten by adopted configuration files. The system applies less SQL statements by Hibernate, such as the connection to database, search data and so on. So the development and maintenance of system become easier. design of applying Hibernate in Struts realizes the more effective framework of permanence layer. The integration of these two frameworks utilizes respective advantages fully to reach the consummate union as shown in the login system. Compare to writing SQL statements by hand, however, the fixed code generated by Hibernate when interacting with database lack of flexibility so developers can add SQL statements according to the need of systems. References [1] Hou Ting, The research and application of building Web application based on Struts and Hibernate,the Master's degree thesis of Wuhan University of Technology, Wuhan, April 2006, pp.6-7,9-11. [2]Xiong Ke, Design and Realization of Producing Management System on Basis of Struts and Hibernate, the Master's degree thesis of Sichuan University, Chengdu, April 2006, pp , [3] Wu Ming-hui, Wu Chao, Developing Web Application by Struts and Hibernate, Beijing: Posts & Telecom Press, Beijing, May [4] Hibernate Core for Java, 2008 [5] Gao Ang, Wei Wen-xue, Application of Java data persistence with Hiberna te and Struts framework, Computer Applications, Vol. 25 No. 12, Chengdu, Dec. 2005,pp [6] Ren Wenjuan, Wang hua, Ju Hongwei, Song Zhuqin, The Design and Implement of Web applications Based on Struts and Hibernate Framework, Microcomputer Information, Vol. 22 No. 9,Beijing,2006,pp [7]Liu Pan, Design and Reality of the Data-Operation Platform Based on Hibernate, the Master's degree thesis of Nanchang University, Nanchang, June 2005, pp [8] Zhao Qiang, Qiao Xin-liang, J2EE application development WebLogic JBuilder. Beijing: Electronic industry press, Summary In the entire system realization, Struts framework based on the MVC mode realizes layers partition of J2EE and solves code partition between the presentation layer and the business logic layer to realize code reuse. Hibernate can complete conversion between the relational database and the object model effectively. And it realizes the connection of objectoriented development and relational database. The 534

Development of E-Institute Management System Based on Integrated SSH Framework

Development of E-Institute Management System Based on Integrated SSH Framework Development of E-Institute Management System Based on Integrated SSH Framework ABSTRACT The J2EE platform is a multi-tiered framework that provides system level services to facilitate application development.

More information

The Struts MVC Design. Sample Content

The Struts MVC Design. Sample Content Struts Architecture The Struts MVC Design Sample Content The Struts t Framework Struts implements a MVC infrastructure on top of J2EE One Servlet acts as the Front Controller Base classes are provided

More information

Research on software development platform based on SSH framework structure

Research on software development platform based on SSH framework structure Available online at www.sciencedirect.com Procedia Engineering 15 (2011) 3078 3082 Advanced in Control Engineering and Information Science Research on software development platform based on SSH framework

More information

Remote Health Service System based on Struts2 and Hibernate

Remote Health Service System based on Struts2 and Hibernate St. Cloud State University therepository at St. Cloud State Culminating Projects in Computer Science and Information Technology Department of Computer Science and Information Technology 5-2017 Remote Health

More information

Struts interview questions

Struts interview questions Struts interview questions 1.What is MVC? Model-View-Controller (MVC) is a design pattern put together to help control change. MVC decouples interface from business logic and data. Model : The model contains

More information

Construction of SSI Framework Based on MVC Software Design Model Yongchang Rena, Yongzhe Mab

Construction of SSI Framework Based on MVC Software Design Model Yongchang Rena, Yongzhe Mab 4th International Conference on Mechatronics, Materials, Chemistry and Computer Engineering (ICMMCCE 2015) Construction of SSI Framework Based on MVC Software Design Model Yongchang Rena, Yongzhe Mab School

More information

APPLICATION OF JAVA TECHNOLOGY IN THE REGIONAL COMPARATIVE ADVANTAGE ANALYSIS SYSTEM OF MAIN GRAIN IN CHINA

APPLICATION OF JAVA TECHNOLOGY IN THE REGIONAL COMPARATIVE ADVANTAGE ANALYSIS SYSTEM OF MAIN GRAIN IN CHINA APPLICATION OF JAVA TECHNOLOGY IN THE REGIONAL COMPARATIVE ADVANTAGE ANALYSIS SYSTEM OF MAIN GRAIN IN CHINA Xue Yan, Yeping Zhu * Agricultural Information Institute of Chinese Academy of Agricultural Sciences

More information

JavaEE Interview Prep

JavaEE Interview Prep Java Database Connectivity 1. What is a JDBC driver? A JDBC driver is a Java program / Java API which allows the Java application to establish connection with the database and perform the database related

More information

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module Java Platform, Enterprise Edition 5 (Java EE 5) Core Java EE Java EE 5 Platform Overview Java EE Platform Distributed Multi tiered Applications Java EE Web & Business Components Java EE Containers services

More information

A Decision Support System Based on SSH and DWR for the Retail Industry

A Decision Support System Based on SSH and DWR for the Retail Industry A Decision Support System Based on SSH and DWR for the Retail Industry Chunyang Wang and Bo Yuan Division of Informatics, Graduate School at Shenzhen Tsinghua University Shenzhen 518055, P.R. China tsinglong@163.com,

More information

Welcome To PhillyJUG. 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation

Welcome To PhillyJUG. 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation Welcome To PhillyJUG 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation Web Development With The Struts API Tom Janofsky Outline Background

More information

Java Advance Frameworks

Java Advance Frameworks Software Development & Education Center Java Advance Frameworks (Struts Hibernate Spring) STRUTS 2.0 Apache Struts is an open-source framework for creating Java web applications that use the MVC design

More information

Advanced Action Classes

Advanced Action Classes CH05 8/21/03 8:22 AM Page 91 5 Advanced Action Classes In this chapter, we dig further into the Controller components of the Struts framework by covering the built-in Action classes that come with Struts.

More information

appendix A: Working with Struts

appendix A: Working with Struts appendix A: A1 A2 APPENDIX A From among the many Java-based web server frameworks available, we settled on a Struts/Hibernate/MySQL solution as our representative framework for developing enterprise-class

More information

JDBC [Java DataBase Connectivity]

JDBC [Java DataBase Connectivity] JDBC [Java DataBase Connectivity] Introduction Almost all the web applications need to work with the data stored in the databases. JDBC is Java specification that allows the Java programs to access the

More information

114. Jakarta Struts. Prerequisites. Version 1.1.3

114. Jakarta Struts. Prerequisites. Version 1.1.3 114. Jakarta Struts Version 1.1.3 This advanced course shows JSP and servlet programmers how to build "Model-2" Web applications using the Jakarta Struts project from Apache. Students learn the Struts

More information

Struts: Struts 1.x. Introduction. Enterprise Application

Struts: Struts 1.x. Introduction. Enterprise Application Struts: Introduction Enterprise Application System logical layers a) Presentation layer b) Business processing layer c) Data Storage and access layer System Architecture a) 1-tier Architecture b) 2-tier

More information

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/-

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/- www.javabykiran. com 8888809416 8888558802 Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/- Java by Kiran J2EE SYLLABUS Servlet JSP XML Servlet

More information

Design and Implementation of Inspection System for Lift Based on Android Platform Yan Zhang1, a, Yanping Hu2,b

Design and Implementation of Inspection System for Lift Based on Android Platform Yan Zhang1, a, Yanping Hu2,b 2nd Workshop on Advanced Research and Technology in Industry Applications (WARTIA 2016) Design and Implementation of Inspection System for Lift Based on Android Platform Yan Zhang1, a, Yanping Hu2,b 1

More information

Prototype 1.0 Specification

Prototype 1.0 Specification Prototype 1.0 Specification Javier Ramos Rodríguez Use Case View The prototype 1.0 will implement some basic functionality of the system to check if the technology used is the appropriate one to implement

More information

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1 Umair Javed 2004 J2EE Based Distributed Application Architecture Overview Lecture - 2 Distributed Software Systems Development Why J2EE? Vision of J2EE An open standard Umbrella for anything Java-related

More information

Web Development with MyEclipse and JBoss

Web Development with MyEclipse and JBoss Web Development with MyEclipse and JBoss Part 3 J2EE Application Development with MyEclipse The WebStock Case Study The WebStoThe WebStock Case Study Study Module 1 By Karim Djaafar and Sebastian Hennebrueder

More information

Service-Oriented Architecture (SOA)

Service-Oriented Architecture (SOA) Service-Oriented Architecture (SOA) SOA is a software architecture in which reusable services are deployed into application servers and then consumed by clients in different applications or business processes.

More information

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers 1. Introduction Applications are developed to support their business operations. They take data as input; process the data based on business rules and provides data or information as output. Based on this,

More information

Building Web Applications With The Struts Framework

Building Web Applications With The Struts Framework Building Web Applications With The Struts Framework ApacheCon 2003 Session TU23 11/18 17:00-18:00 Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. Slides: http://www.apache.org/~craigmcc/

More information

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline Advanced Java Database Programming JDBC overview SQL- Structured Query Language JDBC Programming Concepts Query Execution Scrollable

More information

Oracle Developer Day

Oracle Developer Day Oracle Developer Day Sponsored by: Session 2 Oracle Application Development Framework Speaker Speaker Title Page 1 1 Agenda Development Environment Expectations Challenges Oracle ADF Architecture Business

More information

Pattern Language for Data Driven Presentation Layer for Dynamic and Configurable Web Systems ABSTRACT

Pattern Language for Data Driven Presentation Layer for Dynamic and Configurable Web Systems ABSTRACT Pattern Language for Data Driven Presentation Layer for Dynamic and Configurable Web Systems Sharad Acharya s.acharya@computer.org July 26, 2004 ABSTRACT Data driven presentation layer is one of the alternatives

More information

2005, Cornell University

2005, Cornell University Rapid Application Development using the Kuali Architecture (Struts, Spring and OJB) A Case Study Bryan Hutchinson bh79@cornell.edu Agenda Kuali Application Architecture CATS Case Study CATS Demo CATS Source

More information

Data Expression Methods in Enterprise application using J2EE Architecture

Data Expression Methods in Enterprise application using J2EE Architecture Data Expression Methods in Enterprise application using J2EE Architecture Zhang Xiaoshuan 1,2,Chen Peijun 1, Zhao Ming 1 1 College of Information and Electrical Engineering China Agricultural University

More information

MVC, 2. MVC

MVC, 2. MVC 1 2 2 MVC, 2 MVC ( ) (access number) (PIN, personal identification number), [ 3-1] 3 (security realm) 27) login( ) [ 3-1] package comoreillystrutsbankingservice; import comoreillystrutsbankingviewuserview;

More information

Spring & Hibernate. Knowledge of database. And basic Knowledge of web application development. Module 1: Spring Basics

Spring & Hibernate. Knowledge of database. And basic Knowledge of web application development. Module 1: Spring Basics Spring & Hibernate Overview: The spring framework is an application framework that provides a lightweight container that supports the creation of simple-to-complex components in a non-invasive fashion.

More information

Chapter 6 Enterprise Java Beans

Chapter 6 Enterprise Java Beans Chapter 6 Enterprise Java Beans Overview of the EJB Architecture and J2EE platform The new specification of Java EJB 2.1 was released by Sun Microsystems Inc. in 2002. The EJB technology is widely used

More information

A Quick Introduction to Struts

A Quick Introduction to Struts A Quick Introduction to Struts Presented By DevelopIntelligence LLC A Quick Introduction to Struts What is Struts? Motivation for Struts Components of Struts Adopting Struts Working with Struts What is

More information

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format. J2EE Development Detail: Audience www.peaksolutions.com/ittraining Java developers, web page designers and other professionals that will be designing, developing and implementing web applications using

More information

Java Enterprise Edition

Java Enterprise Edition Java Enterprise Edition The Big Problem Enterprise Architecture: Critical, large-scale systems Performance Millions of requests per day Concurrency Thousands of users Transactions Large amounts of data

More information

Oracle 10g: Build J2EE Applications

Oracle 10g: Build J2EE Applications Oracle University Contact Us: (09) 5494 1551 Oracle 10g: Build J2EE Applications Duration: 5 Days What you will learn Leading companies are tackling the complexity of their application and IT environments

More information

Wiring Your Web Application with Open Source Java

Wiring Your Web Application with Open Source Java 1 of 13 5/16/2006 3:39 PM Published on ONJava.com (http://www.onjava.com/) http://www.onjava.com/pub/a/onjava/2004/04/07/wiringwebapps.html See this if you're having trouble printing code examples Wiring

More information

Struts. P. O. Box Austin, TX Fax: +1 (801) (877) 866-JAVA

Struts. P. O. Box Austin, TX Fax: +1 (801) (877) 866-JAVA Struts P. O. Box 80049 Austin, TX 78708 Fax: +1 (801) 383-6152 information@middleware-company.com +1 (877) 866-JAVA Copyright 2002 Agenda In this presentation we will discuss: Struts Overview Where to

More information

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes Java CORE JAVA Core Java Programing (Course Duration: 40 Hours) Introduction to Java What is Java? Why should we use Java? Java Platform Architecture Java Virtual Machine Java Runtime Environment A Simple

More information

TOPLink for WebLogic. Whitepaper. The Challenge: The Solution:

TOPLink for WebLogic. Whitepaper. The Challenge: The Solution: Whitepaper The Challenge: Enterprise JavaBeans (EJB) represents a new standard in enterprise computing: a component-based architecture for developing and deploying distributed object-oriented applications

More information

DESIGN AND IMPLEMENTATION OF TOURIST WEBGIS BASED ON J2EE

DESIGN AND IMPLEMENTATION OF TOURIST WEBGIS BASED ON J2EE DESIGN AND IMPLEMENTATION OF TOURIST WEBGIS BASED ON J2EE WANG Jizhou, LI Chengming Institute of GIS, Chinese Academy of Surveying and Mapping, No.16, Road Beitaiping, District Haidian, Beijing, P.R.China,

More information

Comparative Analysis of EJB3 and Spring Framework

Comparative Analysis of EJB3 and Spring Framework Comparative Analysis of EJB3 and Spring Framework Janis Graudins, Larissa Zaitseva Abstract: The paper describes main facilities of EJB3 and Spring Framework as well as the results of their comparative

More information

Reusability Evaluation of a Domain-Specific Web Application Framework

Reusability Evaluation of a Domain-Specific Web Application Framework Reusability Evaluation of a Domain-Specific Web Application Framework Feng Zhou and Takeshi Chusho Abstract Web application is used in various business fields on the Internet and intranets. It is an efficient

More information

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP 2013 Empowering Innovation DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP contact@dninfotech.com www.dninfotech.com 1 JAVA 500: Core JAVA Java Programming Overview Applications Compiler Class Libraries

More information

MARATHWADA INSTITUTE OF TECHNOLOGY, AURANGABAD DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS ADVANCE JAVA QUESTION BANK

MARATHWADA INSTITUTE OF TECHNOLOGY, AURANGABAD DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS ADVANCE JAVA QUESTION BANK MARATHWADA INSTITUTE OF TECHNOLOGY, AURANGABAD DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS ADVANCE JAVA QUESTION BANK Second Year MCA 2013-14 (Part-I) Faculties: Prof. V.V Shaga Prof. S.Samee Prof. A.P.Gosavi

More information

Appendix A - Glossary(of OO software term s)

Appendix A - Glossary(of OO software term s) Appendix A - Glossary(of OO software term s) Abstract Class A class that does not supply an implementation for its entire interface, and so consequently, cannot be instantiated. ActiveX Microsoft s component

More information

purequery Deep Dive Part 2: Data Access Development Dan Galvin Galvin Consulting, Inc.

purequery Deep Dive Part 2: Data Access Development Dan Galvin Galvin Consulting, Inc. purequery Deep Dive Part 2: Data Access Development Dan Galvin Galvin Consulting, Inc. Agenda The Problem Data Access in Java What is purequery? How Could purequery Help within My Data Access Architecture?

More information

/ / JAVA TRAINING

/ / JAVA TRAINING www.tekclasses.com +91-8970005497/+91-7411642061 info@tekclasses.com / contact@tekclasses.com JAVA TRAINING If you are looking for JAVA Training, then Tek Classes is the right place to get the knowledge.

More information

Page 1

Page 1 Java 1. Core java a. Core Java Programming Introduction of Java Introduction to Java; features of Java Comparison with C and C++ Download and install JDK/JRE (Environment variables set up) The JDK Directory

More information

A web application serving queries on renewable energy sources and energy management topics database, built on JSP technology

A web application serving queries on renewable energy sources and energy management topics database, built on JSP technology International Workshop on Energy Performance and Environmental 1 A web application serving queries on renewable energy sources and energy management topics database, built on JSP technology P.N. Christias

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 0 0 DEPARTMENT OF COMPUTERAPPLICATIONS QUESTION BANK V SEMESTER MC70- Web Application Development Regulation 0 Academic Year 07 8 Prepared by Mr.M.AsanNainar,

More information

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java COURSE DETAILS: CORE AND ADVANCE JAVA Core Java 1. Object Oriented Concept Object Oriented Programming & its Concepts Classes and Objects Aggregation and Composition Static and Dynamic Binding Abstract

More information

Developing Applications with Java EE 6 on WebLogic Server 12c

Developing Applications with Java EE 6 on WebLogic Server 12c Developing Applications with Java EE 6 on WebLogic Server 12c Duration: 5 Days What you will learn The Developing Applications with Java EE 6 on WebLogic Server 12c course teaches you the skills you need

More information

Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX

Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject

More information

Course Content for Java J2EE

Course Content for Java J2EE CORE JAVA Course Content for Java J2EE After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? PART-1 Basics & Core Components Features and History

More information

Java J Course Outline

Java J Course Outline JAVA EE - J2SE - CORE JAVA After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? CHAPTER 1: INTRODUCTION What is Java? History Versioning The

More information

THIS IS ONLY SAMPLE RESUME - DO NOT COPY AND PASTE INTO YOUR RESUME. WE ARE NOT RESPONSIBLE Name: xxxxxx

THIS IS ONLY SAMPLE RESUME - DO NOT COPY AND PASTE INTO YOUR RESUME. WE ARE NOT RESPONSIBLE Name: xxxxxx Name: xxxxxx Email ID: xxxxxx Ph: xxxxxx Summary: Over 7 years of experience in object oriented programming, design and development of Multi-Tier distributed, Enterprise applications using Java and J2EE

More information

In the most general sense, a server is a program that provides information

In the most general sense, a server is a program that provides information d524720 Ch01.qxd 5/20/03 8:37 AM Page 9 Chapter 1 Introducing Application Servers In This Chapter Understanding the role of application servers Meeting the J2EE family of technologies Outlining the major

More information

J2EE Interview Questions

J2EE Interview Questions 1) What is J2EE? J2EE Interview Questions J2EE is an environment for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces

More information

SOCIAL NETWORKING WEB APPLICATION USING STRUTS FRAMEWORK

SOCIAL NETWORKING WEB APPLICATION USING STRUTS FRAMEWORK InSight: RIVIER ACADEMIC JOURNAL, VOLUME 14, NUMBER 1, FALL 2018 SOCIAL NETWORKING WEB APPLICATION USING STRUTS FRAMEWORK Saroj Maharjan* Student, M.S./Computer Science Program, Rivier University Abstract

More information

Design and Implementation of Remote Push System of Resources Based on Internet

Design and Implementation of Remote Push System of Resources Based on Internet 2010 3rd International Conference on Computer and Electrical Engineering (ICCEE 2010) IPCSIT vol. 53 (2012) (2012) IACSIT Press, Singapore DOI: 10.7763/IPCSIT.2012.V53.No.1.16 Design and Implementation

More information

Hibernate Interview Questions

Hibernate Interview Questions Hibernate Interview Questions 1. What is Hibernate? Hibernate is a powerful, high performance object/relational persistence and query service. This lets the users to develop persistent classes following

More information

Migrating traditional Java EE applications to mobile

Migrating traditional Java EE applications to mobile Migrating traditional Java EE applications to mobile Serge Pagop Sr. Channel MW Solution Architect, Red Hat spagop@redhat.com Burr Sutter Product Management Director, Red Hat bsutter@redhat.com 2014-04-16

More information

Design and Implementation of unified Identity Authentication System Based on LDAP in Digital Campus

Design and Implementation of unified Identity Authentication System Based on LDAP in Digital Campus Advanced Materials Research Online: 2014-04-09 ISSN: 1662-8985, Vols. 912-914, pp 1213-1217 doi:10.4028/www.scientific.net/amr.912-914.1213 2014 Trans Tech Publications, Switzerland Design and Implementation

More information

Distributed Multitiered Application

Distributed Multitiered Application Distributed Multitiered Application Java EE platform uses a distributed multitiered application model for enterprise applications. Logic is divided into components https://docs.oracle.com/javaee/7/tutorial/overview004.htm

More information

Data Access on Tourism Resources Management System Based on Spring JDBC Jifu Tong

Data Access on Tourism Resources Management System Based on Spring JDBC Jifu Tong 3rd International Conference on Education, Management, Arts, Economics and Social Science (ICEMAESS 2015) Data Access on Tourism Resources Management System Based on Spring JDBC Jifu Tong Higher Professional

More information

COURSE 9 DESIGN PATTERNS

COURSE 9 DESIGN PATTERNS COURSE 9 DESIGN PATTERNS CONTENT Applications split on levels J2EE Design Patterns APPLICATION SERVERS In the 90 s, systems should be client-server Today, enterprise applications use the multi-tier model

More information

A General ecommerce Platform with Strong International and Local Aspects

A General ecommerce Platform with Strong International and Local Aspects A General ecommerce Platform with Strong International and Local Aspects By Martin Ramsin A Master s Thesis August 2000 Examiner: Professor Seif Haridi Supervisors:Andy Neil and Mark Bünger, Icon MediaLab

More information

Chapter 2 Introduction

Chapter 2 Introduction Chapter 2 Introduction PegaRULES Process Commander applications are designed to complement other systems and technologies that you already have in place for doing work. The Process Commander integration

More information

Outline. Project Goal. Overview of J2EE. J2EE Architecture. J2EE Container. San H. Aung 26 September, 2003

Outline. Project Goal. Overview of J2EE. J2EE Architecture. J2EE Container. San H. Aung 26 September, 2003 Outline Web-based Distributed EJB BugsTracker www.cs.rit.edu/~sha5239/msproject San H. Aung 26 September, 2003 Project Goal Overview of J2EE Overview of EJBs and its construct Overview of Struts Framework

More information

ive JAVA EE C u r r i c u l u m

ive JAVA EE C u r r i c u l u m C u r r i c u l u m ive chnoworld Development Training Consultancy Collection Framework - The Collection Interface(List,Set,Sorted Set). - The Collection Classes. (ArrayList,Linked List,HashSet,TreeSet)

More information

Introduction to JSP and Servlets Training 5-days

Introduction to JSP and Servlets Training 5-days QWERTYUIOP{ Introduction to JSP and Servlets Training 5-days Introduction to JSP and Servlets training course develops skills in JavaServer Pages, or JSP, which is the standard means of authoring dynamic

More information

Research and Application of Mobile Geographic Information Service Technology Based on JSP Chengtong GUO1, a, Yan YAO1,b

Research and Application of Mobile Geographic Information Service Technology Based on JSP Chengtong GUO1, a, Yan YAO1,b 4th International Conference on Machinery, Materials and Computing Technology (ICMMCT 2016) Research and Application of Mobile Geographic Information Service Technology Based on JSP Chengtong GUO1, a,

More information

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand) Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand) Code: URL: D101074GC10 View Online The Developing Applications for the Java EE 7 Platform training teaches you how

More information

Services Management Model Based on the SOA

Services Management Model Based on the SOA , pp.52-56 http://dx.doi.org/10.14257/astl.2015.82.11 Services Management Model Based on the SOA Xuemin Zhang, Zenggang Xiong *, Guangwei Wang, Conghuan Ye, Fang Xu School of Computer and Information Science,

More information

Chapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc.

Chapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc. Chapter 1 GETTING STARTED SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: The IDE: Integrated Development Environment. MVC: Model-View-Controller Architecture. BC4J: Business Components

More information

Research and Implementation on e-learning System based on EGL

Research and Implementation on e-learning System based on EGL 2014 3rd International Conference on Informatics, Environment, Energy and Applications IPCBEE vol.66 (2014) (2014) IACSIT Press, Singapore DOI: 10.7763/IPCBEE. 2014. V66. 31 Research and Implementation

More information

APPLICATION ON IOC PATTERN IN INTEGRATION OF WORKFLOW SYSTEM WITH APPLICATION SYSTEMS

APPLICATION ON IOC PATTERN IN INTEGRATION OF WORKFLOW SYSTEM WITH APPLICATION SYSTEMS APPLICATION ON IOC PATTERN IN INTEGRATION OF WORKFLOW SYSTEM WITH APPLICATION SYSTEMS Limin Ao *, Xiaodong Zhu, Wei Zhou College of Information Engineering, Northeast Dianli University, Jilin, Jilin, China,

More information

index_ qxd 7/18/02 11:48 AM Page 259 Index

index_ qxd 7/18/02 11:48 AM Page 259 Index index_259-265.qxd 7/18/02 11:48 AM Page 259 Index acceptance testing, 222 activity definition, 249 key concept in RUP, 40 Actor artifact analysis and iterative development, 98 described, 97 136 in the

More information

Module 3 Web Component

Module 3 Web Component Module 3 Component Model Objectives Describe the role of web components in a Java EE application Define the HTTP request-response model Compare Java servlets and JSP components Describe the basic session

More information

Object-relational mapping EJB and Hibernate

Object-relational mapping EJB and Hibernate T A R T U Ü L I K O O L MATEMAATIKA-INFORMAATIKATEADUSKOND Arvutiteaduse instituut Infotehnoloogia eriala Aleksandr Tkatšenko Object-relational mapping EJB and Hibernate Referaat aines Tarkvaratehnika

More information

Upon clicking Place Bid, the business logic of the web application uses a given

Upon clicking Place Bid, the business logic of the web application uses a given Consider an auction web application that provides a page like this and allows the user to bid on an item, specified by an item ID that the user somehow (we do not care how) obtained. Validate the ID is

More information

Full Stack Java Developer Course

Full Stack Java Developer Course T&C Apply Full Stack Java Developer Course From Quick pert Infotech Learning Process Java Developer Learning Path to Crack Interviews Full Fledged Java Developer Spring & Hibernate (Framwork Expert) PL

More information

Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture

Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture Preface p. xix About the Author p. xxii Introduction p. xxiii Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture

More information

Strecks Java 5 Extensions

Strecks Java 5 Extensions Strecks Java 5 Extensions Presented by Phil Zoio, Realsolve Solutions March 17, 2006 (1) Agenda Background and introduction The Details Form validation Data binding and conversion Actions Interceptors

More information

(p t y) lt d. 1995/04149/07. Course List 2018

(p t y) lt d. 1995/04149/07. Course List 2018 JAVA Java Programming Java is one of the most popular programming languages in the world, and is used by thousands of companies. This course will teach you the fundamentals of the Java language, so that

More information

Design and Implementation of Computer Room Management System in University

Design and Implementation of Computer Room Management System in University Design and Implementation of Computer Room Management System in University YOUwen Zhang, Dong Kang* {Zhangyouwen521@163.com} HaiNan college of Economics and Business Haikou 571127, China Abstract. With

More information

Ch04 JavaServer Pages (JSP)

Ch04 JavaServer Pages (JSP) Ch04 JavaServer Pages (JSP) Introduce concepts of JSP Web components Compare JSP with Servlets Discuss JSP syntax, EL (expression language) Discuss the integrations with JSP Discuss the Standard Tag Library,

More information

Enterprise Java Unit 1- Chapter 3 Prof. Sujata Rizal Introduction to Servlets

Enterprise Java Unit 1- Chapter 3 Prof. Sujata Rizal Introduction to Servlets 1. Introduction How do the pages you're reading in your favorite Web browser show up there? When you log into your favorite Web site, how does the Web site know that you're you? And how do Web retailers

More information

CORE JAVA. Saying Hello to Java: A primer on Java Programming language

CORE JAVA. Saying Hello to Java: A primer on Java Programming language CORE JAVA Saying Hello to Java: A primer on Java Programming language Intro to Java & its features Why Java very famous? Types of applications that can be developed using Java Writing my first Java program

More information

Architectural patterns

Architectural patterns Architectural patterns Open Source & DOTNET platform Understanding architectural design patterns (like MVC, MVP, MVVM etc.) is essential for producing a maintainable, clean, extendable and testable source

More information

Chapter 2 FEATURES AND FACILITIES. SYS-ED/ Computer Education Techniques, Inc.

Chapter 2 FEATURES AND FACILITIES. SYS-ED/ Computer Education Techniques, Inc. Chapter 2 FEATURES AND FACILITIES SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: JDeveloper features. Java in the database. Simplified database access. IDE: Integrated Development

More information

Oracle Application Development Framework Overview

Oracle Application Development Framework Overview An Oracle White Paper July 2009 Oracle Application Development Framework Overview Introduction... 1 Oracle ADF Making Java EE Development Simpler... 2 THE ORACLE ADF ARCHITECTURE... 3 The Business Services

More information

Flex Data Services for Component Developers

Flex Data Services for Component Developers Flex Data Services for Component Developers Jeff Vroom Adobe Systems 1 Flex Data Services in Flex 2 Flex Data Services (Client library) FlexBuilder (Eclipse based IDE) Flex Framework Flash 9 / AVM+ Channels

More information

Data Interface Design for Java-Based Mysql Database

Data Interface Design for Java-Based Mysql Database 2014 International Conference on Computer Science and Electronic Technology (ICCSET 2014) Data Interface Design for Java-Based Mysql Database Hongxia Liu Department of Electronic Information Engineering,

More information

Table of Contents. Introduction... xxi

Table of Contents. Introduction... xxi Introduction... xxi Chapter 1: Getting Started with Web Applications in Java... 1 Introduction to Web Applications... 2 Benefits of Web Applications... 5 Technologies used in Web Applications... 5 Describing

More information

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I http://www.tutorialspoint.com HIBERNATE MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Hibernate Framework. You can download these sample mock tests

More information

J2EE Technologies. Industrial Training

J2EE Technologies. Industrial Training COURSE SYLLABUS J2EE Technologies Industrial Training (4 MONTHS) PH : 0481 2411122, 09495112288 Marette Tower E-Mail : info@faithinfosys.com Near No. 1 Pvt. Bus Stand Vazhoor Road Changanacherry-01 www.faithinfosys.com

More information

CMP 436/774. Introduction to Java Enterprise Edition. Java Enterprise Edition

CMP 436/774. Introduction to Java Enterprise Edition. Java Enterprise Edition CMP 436/774 Introduction to Java Enterprise Edition Fall 2013 Department of Mathematics and Computer Science Lehman College, CUNY 1 Java Enterprise Edition Developers today increasingly recognize the need

More information