Quản lý cấu hình web - part 27

Tham khảo tài liệu 'quản lý cấu hình web - part 27', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Content Delivery and Deployment Deploying to multiple servers On a specific receiving server FSR you can configure more than one target. For example you can deploy images to a doc-root of the Apache web server say targett and you can also deploy videos to a streaming server say target2 . Similarly you can install and configure FSR on multiple servers. To configure multiple deployment receivers follow the instructions given in this chapter in the Configuring a web project to use FSR section. In the Add Deployment Receiver form use the Source Path field to specify a folder for the web project to be deployed. Also use the Excludes field to exclude certain types of files to be deployed. Advanced topics on FSR This section covers a few advanced features that are useful to extend the File System Receiver. Configuring prepare and postCommit callbacks On the target receiving servers the FSR can be extended by implementing a prepare or postcommit callback. The prepare callback is called after all files have been successfully deployed to the FSR s temporary storage areas before actually copying them to the target location. The postcommit callback is called after the files are successfully copied to the target location. 242 Download from Wow eBook Chapter 7 These two callbacks allow the developers to implement processing on deployed content through the use of a system command script or Java class. Some examples are Re-indexing of external search engine for newly added content in the filesystem Integrating with a third-party system such as updating a database upon receipt of certain files Copying files to an external filesystem via FTP Sending e-mail notification upon failure or success of deployment Refer to the deployment file which includes prepare and postCommit blocks listed as folows -- Add your prepare callbacks here -- property name prepare list bean class list property -- Add your .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.