Research and Implementation of the Servlet Gateway

Author
CaiJiaChun
Advisor
KeJinSuo
School
Huaqiao University
Major
Applied Computer Technology
Classification
TP393.03 Network interconnect technology
Degree
Master's thesis
Year
2000
Downloads
80
Citations
0

Request the full text

Abstract

In this paper , I set forth my view : Base Network Communication on Object, I try to make network communication easy by transmitting Java Object. I would presented a 3-tier database application that use Java Servlet the Java Database Connection(JDBC), JavaBeans. The application design model is partitioned into three tiers:the user interface layer, the business rules layer and the data store layer. The first tier could use any number of Java-enabled browsers, including ones running on Network Computers(NCs) as well as ones built on more traditional platforms such as personal computers or workstations. Complex user interface tasks would be handled by Java applets downloaded from the second tier servers; simpler tasks could be handled using standard HTML forms. The second tier is implemented with a web server plus a ServletEngine which be capable of executing Java Servlets. The second tier of such a system would consist of servlets which encapsulate the particular business rules and logic of the application.The Java Servlet harnesses the power of JDBC to access the database to retrieve information as needed. A dynamic object is generated by the servlet based on the database result. The third tier is composed of back-end database. The database stores the information that is used by the application. Servlet can access the database in a portable fashion by using relational database interfaces such as JDBC. I achieve distributed computing on Internet and make it easy by using java computing. That is my idea :One of the keys to simplifying distributed application development is to be able to write code that can run on either the server or the client with no modification needed. The first step toward reaching this goal is to have a common language for the server application and all of the clients with their different operating systems. So I choose Java The next step is to be able to dynamically load new classes on the client as needed. Of course applet on client can do that. The last step is to pass objects back and forth between the server and the client, so I make us of Object Serialization , in other word, using Object Serialization to transport object across the Internet. My idea went beyond the normal method of sending name /value pairs over the HTTP/CGI protocol. The techniques present leveraged the feature of Java object serialization. As you can see, this provided an elegant way of transmitting serialized Java Object over network connections.

Table of contents

The first chapter of the server-side Java Servlet technology six Introduction the 6-11 1.1 JavaServlet Technical 6-7 1.2 Servlet operating environment 7 1.3 Servlet interface and its survival cycle 1.4 to maintain state and session information (Session) 7-8 <br / > 1.5 Servlet and Applet distinction 8 1.6 Servlet uses 8 superiority of the 1.7 server-side Servlet programming model - 10 Summary 10-11 Second System Design 11-16 2.1 3-tier Web application framework 11-12 2.2 Servlet a heterogeneous database objects gateway the Servlet Gateway 2.3 Web server and database separation 12-13 13 2.4 online bookstore the 13-14 2.5 development environment and conditions 14-15 Summary 15-16 Chapter the Java collaboration calculate nbsp calculate About 16-24 3.1 Java; 16 3.2 JDBC technology 16-17 3.2.1 JDBC using the principle nbsp in the design; 16-17 3.2.2 JDBC application 17 3.3 Jave Beans component technology 17-21 3. 3.1 Swing components the 17-18 3.3.2 Java Beans Servlet objects gateway 18-21 3.4 object migration 21-24 3.4.1 the moving objects Profile 21 the 3.4.2 related technologies 21-22 3.4.3 the advantages of object migration; nbsp nbsp the the 3.4.4 network object recovery 22 ; 22 the 3.4.5 this design object migration 22-24 Chapter Servlet the heterogeneous database objects gateway 24-39 the 4.1 JDBC-ODBC bridge to access the remote database security 24 <br / > 4.2 Socket handling 24 4.3 JDBC do JDBC server 24-25 4.4 of heterogeneous database access 25 <br / > 4.5 Servlet distributed computing 25-26 4.6 communication between objects and object migration 26-28 4.7 DBSerial oriented object modeling 28-32 4.7.1 Object Model 29 4.7.2 object description 29-32 4.8 dynamic model 32-35 4.9 function model 35-36 4.10 system test 36-38 conclusion 38-39 < br /> Chapter Web Servlet Gateway server database separation 39-46 5.1 data distribution and operation of the distribution model design 39-40 5 .2 object model 40-42 5.3 function model 42-43 5.4 system test 43-45 conclusions 45-46 Chapter online bookstore 46-58 6.1 Dynamic model 46-47 6.2 object model 47-49 6.3 function model 49-51 6.4 Java static object model to a relational database mapping 51-52 6.5 client state tracking 52-54 6.5.1 the Session in the design 53-54 6.5.2 the Session maintenance way 54 < br /> JDBC 6.6 servlet environment optimized the 54-56 6.6.1 a synchronous and open connection 54-55 6.6.2 JDBC connection pool 55-56 JDBC connection pool 6.6.3 Summary 56 conclusion 56-58 achievements the outlook 58 -59 Resources 59-61

Related dissertations

  1. Design and Implementation of a Secure Online Banking System
    Samuel Otieno Adhola ·Central South University ·2004 ·Master's thesis
  2. Studies and examples of the architecture of the J2EE specification resolution
    XuYe ·PLA Military Academy of Medical Sciences ·2003 ·Master's thesis
  3. Research on Object Persistence Based on J2EE
    YangJian ·Wuhan University of Technology ·2005 ·Master's thesis
  4. Web-based heterogeneous database stamping process research and development of integrated application platform
    ShenYaMing ·Fuzhou University ·2002 ·Master's thesis
  5. Mobile Robot’s Control Research Based on Mobile-C
    LiChuang ·Tianjin University of Technology ·2013 ·Master's thesis
  6. The Application of Ant Colony Algorithm in the Routing of Wireless Sensor Networks
    YuanXinLai ·Hunan University ·2012 ·Master's thesis
  7. Research on Fault Detection Method of Heterogeneous Network Based on Mobile Agent
    SuiZuo ·Harbin Engineering University ·2013 ·Master's thesis
  8. Design and Implementation of Mobile Agent Based Information Retrieval System
    XiaoShuAn ·Jilin University ·2013 ·Master's thesis
  9. Based on Mobile Agent the Research and Implementation of the Flexible Workflow Collaboration Model
    ZuoJuHui ·South China University of Technology ·2013 ·Master's thesis
  10. Research and Development Distributed Multi-tier Application System for the Water Conservancy Fields Based on J2EE Technology
    AnGuoZhi ·Beijing University of Technology ·2013 ·Master's thesis
  11. The Design and Implementation of Online Chat System Basedon JSP
  12. Design and Implementation of a University Science Research Management System
  13. The Design and Implementation of Mobile Medical Management System
    LiuXiZhou ·Central China Normal University ·2014 ·Master's thesis
  14. Data Gathering in Wireless Sensor Networks Using Mobile Assistant Agent
    MaLuYao ·Tianjin University ·2012 ·Master's thesis
  15. Technology Research of Mobile Agent Search Based on Complex Network Theory
  16. Implementation of Multi-platform Robots Remote Control Based on Mobile-C Mobile Agent
    ZhangZuo ·Tianjin University of Technology ·2012 ·Master's thesis
  17. Design IT Test Management System Based on Mobile Agent and Web Service
    HeWenJuan ·Ocean University of China ·2012 ·Master's thesis
  18. Exploration and practice of electronic commerce based on mobile Agent
  19. And realize the model of resource discovery based on mobile Agent
  20. Research on Low-power Task Scheduling Strategy Based on Mobile Agent in Cloud Environment