JSP-Based Network

Source: Internet
Author: User
Tags manage connection

With the rapid development of computer technology, information networks have become an important guarantee for social development. How to quickly, efficiently, and conveniently transfer knowledge through networks, and promote teaching reform through modern means, transforming Traditional Classroom Teaching into classroom + computer + network classroom + internet and other learning methods is the direction for educators to work hard. The JSP-based network teaching platform is designed and developed based on the advantages of the campus network. Through this platform, students are not limited by time, space, and region, allows you to browse teaching content, complete homework, and participate in tests on the Internet. You can also use this platform to publish announcement information, publish questions, upload and download courseware, and organize discussions and Q &.

System Architecture

According to the Browser/Server model, the network teaching platform expands the two-tier architecture of traditional browsers/WEB servers into three-tier architecture: Browser-WEB Server + application Server-database Server, this model uses a variety of standard protocols and technologies, suitable for any hardware platform and software environment. Script language, such as Perl and Tcl. The script engine is a COM (Component Object Model) Component that processes scripts.

The program code of Active Server Pages is hidden. On the client, you can only view the dynamic HTML file output by ASP. Therefore, it can avoid the plagiarism of the source program written by others and improve the security of the program.

You can use the server scripts to generate client scripts.

And extends the ActiveX Server component functions.

ActiveX Server Components (ActiveX Server Component) is infinitely scalable. You can use any programming language to compile the ActiveX Server Components you need.

The advantage of ASP is that it can use ADOActiveX Data Objects, a new Data access model of Microsoft, and a database that provides WEB page developers with easy access to the Internet, the latest WEB page database technology can be instantly updated and displayed on the Internet on the user side .) It is very convenient to access the database, making it easy to access the database.

The system uses the popular JSP technology to develop Web applications, uses XML technology to process teaching data, and uses JSP/Servlet and XML for data interaction, it also uses many mature technologies in computer networks, such as streaming media, customer/Server, and database technologies.

(1) JSP technology: JSP is an excellent Java technology. Based on a powerful Java language, it can run on any Web or application server, it is closely integrated with Java Enterprise APIs (Java Enterprise Application Programming Interface) to quickly create high-performance Web applications. It separates content generation and display so that Web developers can focus on processing application logic. It uses reusable components (Java Btens \ EJB) to accelerate the overall development speed, it also improves the system quality, simplifies page programming by logo, and reduces the difficulty of developers.

(2) XML and HTML technologies: XML and HTML are similar Markup languages. They can describe the structure of data through tags, and allow users to view the needs of the description data on their own, you can customize different tags at will, which is very different from HTML. In addition, XML is different from HTML, which defines the meaning of the display format for all tags. For XML, the display format is not the most important. In contrast, the meaning represented by data is the most important. Therefore, XML is not responsible for marking the display format. However, XML allows you to display data in a complex and flexible manner, such as using XSL, CSS, HTML + XML Island, writing programs, and retrieving data from the DOM for display; XML has the features of cross-platform, language-independent, and application. XML can not only use tags and attributes to describe the meaning of data, the DTD and XML Schema used to describe the file structure are also provided.

(3) Database Technology Based on Connection pool: The system uses the Java class of DB Connection Manager to manage Connection pool objects. Each Connection pool maintains a set of JDBC database Connection objects and can be used by any Servlet. The connection pool has the following functions: loading and registering JDBC drivers; Creating connection pool Objects Based on the attributes defined in the property file; ing between connection pool names and instances; trace the reference of the client program to the connection pool to ensure that all connection pools are closed after the last client program ends.

(4) streaming media technology: video and audio data are transmitted using streaming media technology. Audio/video and other multimedia information are transmitted over the network, including download and stream transmission. During downloading, you must copy the entire file that consumes both time and disk space to your computer before playing. because the entire file can only be played after being downloaded, the download cannot be used for live streams. At the same time, download cannot efficiently use available bandwidth. When the client starts to download digital media files, all available network bandwidth is used to transmit data as quickly as possible, other network functions may be slowed down or interrupted. Streaming Transmission only sends data over the network at the correct display speed on the client, so it uses bandwidth more efficiently than downloading. Therefore, stream transmission helps prevent network overload and maintain system reliability. In the implementation scheme of stream transmission, HTTP/TCP is used to transmit control information, while RTP/UDP is used to transmit audio and video data.

(5) customer/server technology: computers connected to the campus network can be divided into two types: server and client. No matter which type of server, such as file server, FTP server, or data server, the email server, data server, and proxy server are all running in the queue and provide various services for students.

Conclusion

Compared with the closed traditional teaching mode, network-based teaching achieves smooth information channels. It breaks through the restrictions of time, space, and region, and reflects the idea of student-oriented and teaching in accordance with their aptitude, it has promoted the cultivation of students' innovative consciousness and innovative ability, which has contributed to the diversified and all-round development of students.

  1. Brief Introduction to JSP Technology
  2. Ten JSP tag libraries to be mastered
  3. Common Methods of form data storage in JSP Technology
  4. Detailed explanation of JSP technology methods
  5. How to Learn JSP Technology

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.