Đang chuẩn bị liên kết để tải về tài liệu:
o'reilly database programming with JDBC and Java 2nd edition phần 6

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Tham khảo tài liệu 'o'reilly database programming with jdbc and java 2nd edition phần 6', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | JDBC and Java 2nd edition across the network unchanged from its original form. As long as you are not concerned with what prying eyes might see this state of affairs will work just fine for you. Encrypting your network communications actually involves very few changes to the way you write application code. It is largely a matter of installing a custom socket factory. I will briefly outline the steps here required to install a custom socket factory for RMI. A more detailed discussion of these issues can be found in Java Network Programming by Elliotte Rusty Harold O Reilly Associates . Your first task is to decide what sort of socket will handle your network communications. In fact this discussion is not limited to helping you encrypt your RMI communications. It will also help you perform such things as compression of large amounts of binary data. JDK 1.2 lets you support different sockets for different objects so the choice of which socket to use depends very much on the type of data coming in and out of an object. For encryption you will likely want to use a secure socket layer SSL socket. Unfortunately Java does not ship with any SSL socket implementations. You have to buy these from third-party vendors. Next you need to write an implementation of java.rmi.server.RMIClientSocketFactory 3 to hand out the client sockets you wish to use. This pattern is an excellent example of the factory design pattern mentioned in the previous chapter. By relying on a class that constructs sockets rather than relying on direct instantiation of the sockets themselves you ll find that the sky is the limit for the type of sockets you can use for your RMI communications. Example 8.5 shows a custom socket factory for creating a fictional ssLClientSocket. 3 If you are lucky the custom socket package you use will ship with RMI client and server socket factories so that you do not need to write them yourself. Example 8.5. A Custom Client Socket Factory for RMI import java.io.IOException .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.