TAILIEUCHUNG - Teach Yourself J2EE in 21 Days phần 2

Hữu ích nhất trong số này là ODBC Logging và W3C Extended Log File Format. ODBC Logging Định dạng cho phép nhiều trang web để đăng nhập thông tin tương tựBây giờ bản đồ bộ lọc để trang mà truy cập bạn muốn đăng nhập. Trong trường hợp này, HTMLPage | 88 Day 3 Specify command-line parameters to be passed to an application Specify parameters to be passed into an applet Hard-code the parameters into the program The last option is the weakest approach because it restricts the program to working with one type of JNDI service provider on one specific host. The first two options are the most suited to production environments. They both require that you distribute simple text configuration files with the program. JNDI Properties Files An application resource file called defines the JNDI service. The JNDI system automatically reads the application resource files from all components in the program s CLASSPATH and from lib in the Java runtime home directory this is the jre sub-directory of the Java JDK home directory . The following example from Sun Microsystems J2EE RI shows a typical file localhost 1099 Each entry in the property file defines a name value pair. The InitialContext object uses these properties to determine the JNDI service provider. The J2EE server vendor usually supplies a sample file defining the properties that need to be configured with their server. You can find the J2EE RI file in the lib classes directory in the J2EE RI installation directory. Normally any given JNDI service will require the following named properties This defines the DNS host name of the machine running the JNDI service and the service port number. This is the only property that the network administrator needs to customize. The property value is a machine name with an optional colon and port number. By default JNDI uses port 1099 and most sites do not change this value. The default server is usually localhost. Consider a host called nameserver in the Sams Publishing .

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.