TAILIEUCHUNG - head first java second edition phần 10

Bộ sưu tập khung Java có một cấu trúc dữ liệu có nên làm việc cho hầu như bất cứ điều gì bạn sẽ cần phải làm. Muốn giữ một danh sách mà bạn có thể dễ dàng thêm vào? Bạn muốn tìm một cái gì đó bằng tên? Để tạo ra một danh sách tự động lấy ra tất cả các bản sao? Sắp xếp các đồng nghiệp của bạn bằng của số lần | Java Web start How Java Web start works The client clicks on a Web page link to your JWS application a .jnlp file . The Web page link a hraf Click a The Web server HTTP gets the request and sends back a .Jnlp file this Is NOT the JAR . The jnlp file is an XML document that states the name of the application s executable JAR file. Java Web start a small helper app on the client is started up by the browser. The JW5 helper app reads the .Jnlp file and asks the server for the file. 4 The Web server serves up the requested .jar file. Web start Java Web start gets the JAR and starts the application by calling the specified main method just like an executable JAR . Next time the user wants to run this app he can open the Java Web Start application and from there launch your app without even being online. HelloWebS aH i he app in ike J W 598 chapter17 package jars and deployment The Jnlp file To make a Java Web Start app you need to jnlp Java Network Launch Protocol file that describes your application. This is the file the JWS app reads and uses to find your JAR and launch the app by calling the JAR s HiainO method . A .jnlp file is a simple XML document that has several different things you can put in but as a minimum it should look like this xml version encodings utf-8 c Jhere 1 on our I . WOU jnlp spec j f codebase http kathy I Alli 11 nested n some other directory information title kathy App title vendor Wickedly Smart vendor homepage href description Head First Webstart demo description icon href offline-allowed _ TWs wea s J he user Mn run y information it wơrk wants to relaunch a vreviously-downioaaeo yr p-am without he user is offline resources j2se version This says that yorr ay needs version 13 of Java or greater. resources other JAjP f Z u r c e utal e JAR 17 . . application-desc main-class HelloWebStart jnlp This is like the main-fest Main-Class entry. it says

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.