Java (TM) Web START Technology

xiaoxiao2021-03-06  66

Introduction Javatm Web Start is a deployment solution based on Java technology applications. It is a convenient channel to connect to the computer and the Internet, allowing users to run and manage applications in the event of a Web. Java Web Start provides an easy way to activate your app and ensure that the latest version of the application is always running, allowing complicated installation or upgrade. In the traditional case, users are required to find and download, and then store and perform the installer after you are in the system. After performing the installer, specify the installation path and installation options, such as complete, typical or minimum. This is a time-consuming and complex task and must be repeated when each new version of the installation software is installed.

Instead, through the application of the Web deployment, such as your favorite HTML-based email client software and calendar, auction sites, etc., are very easy to install and use. The web browser makes the entire process automatically. There is no complex download, installation, and configuration process, and make sure you always use the latest version.

Java Web Start technology provides full-featured applications with the same benefits as described above for the HTML application for HTML applications. Java Web Start Technology is a web-oriented application deployment solution. Use full-featured applications to replace HTML-based client software has a variety of benefits:

Highly interactive user interfaces, comparable to traditional applications (such as text processing and spreadsheet software). Lower bandwidth requirements. Applications do not have to connect to the web server every time you click, it can cache the downloaded information. This allows for better interactivity on a low speed connection. Support for offline. Of course, you still have to download the application during the first use. HTML-based applications thus have the first activation overhead. Typically, it takes a few seconds to open a web page. Java TM technology-based applications will take a few minutes by typical modem. Java Web Start caches all the files downloaded on the local computer. Thus, although the first activation overhead of the application is higher than the HTML page, the application can be started in an instant, as the required resources can be obtained locally. Each time you start, Java Web Start will check if the web server has an update version of the application. If so, download it and start it. This way, the application will automatically update. There is no complex upgrade process.

Security Java Web Start is built on the Java 2 platform, which provides a complete security architecture. By default, applications started through Java Web Start will run in a controlled environment ("sandbox"), only for limited access to files and networks. Therefore, starting the application through the Java Web Start to maintain the security and integrity of the system. Applications can request unlimited access to the system. In this case, Java Web Start will display the Security Warning dialog when the application first starts. Safety Warning will display relevant information about the developer of the application. If you select a trusted vendor, the application will be launched. The source information of the application depends on the digital code signature.

Installation Description For installation instructions and system requirements for this release, see the Installation Guide. Using Java Web Start Software Java Web Start allows you to launch Java technology-based applications directly through the web. Applications can be launched in three ways: start from the web browser by clicking on the link. From the Built-in "Application Manager" of Java Web Start, the Manager will track the most recently used application and provide quick access to your app. Start from the desktop icon or "Start" menu (Microsoft Windows only). Whether it is used, each time the application is launched to check if there is an application's update version, Java Web Start will be reconnected to the web server. Starting from a web browser on the Demo page of Java Web Start (http://java.sun.com/products/javawebstart/demos.html), provide a link to many applications, you can start these by clicking application. Try the start button to launch different applications. The web browser will start Java Web Start, which will download, cache and perform the specified application. You will notice that the speed is significantly accelerated when the application is started because it has existed locally without re-download. Most of the demonstrations on the page can be downloaded and executed directly, without user intervention. These applications are run in a restricted environment, and they cannot access local disks and networks, and they can guarantee that they do not install any viruses on your computer. Some demo procedures require additional permissions, such as accessing local hard drives. For these applications, the Safety dialog box will pop up, and the source information about the application is displayed according to the digital signature of the code. Applications are only running in your trust vendor.

This is indeed using all the needs of Java Web Start, but how does it work? The HTML link that launches the application is actually the standard HTML link. However, it does not point to other web pages, but linked to special profiles called JNLP files. Web browser checks the extension and / or MIME type of the file, and determines that it belongs to Java Web Start. Then the following JNLP file is then launched to start Java Web Start. Java Web Start is downloaded, caches, and runs applications in accordance with the JNLP file instructions.

From the Built-in Application Manager, "Application Manager" is launched as the built-in section of the Java Web Start product. It allows you to quickly and easily launch an application that started through Java Web Start. The manager is combined by the History menu and the "Start / Program" menu, providing the corresponding functionality for Java technology-based applications deployed through the web. You can also link to the application's homepage via "Application Manager" to see its additional information. You can double-click the application icon or click the Start button to start the application from the Application Manager.

Another important function of "Application Manager" is "Preferred Settings" dialog that allows you to view and modify the settings used by Java Web Start. For example, it includes tabs that allow you to set the following:

Specify an HTTP agent (or tell Java Web Start to use the default browser settings). Clear the downloaded application cache. Specifies the location of the different versions of Java Runtime Environment. Specifies whether a Java console is displayed. View the root safety certificate collection. "Application Manager" can be started by clicking the icon on the Java Web Start icon or Microsoft Windows "Start" menu. On the SolaristM operating environment and Linux, start on the JavaWS command in the Java Web Start installation directory. You can also launch "Application Manager" from a web browser; for example, see the presentation page (http://java.sun.com/products/javawebstart/demos.html). From the desktop icon or "Start" menu (Microsoft Windows only) Start Java Web Start technology to automatically create shortcuts in the Microsoft Windows Desktop and "Start" menu for Java technology-based applications based on Web deployment. By default, if shortcuts should be created, Java Web Start will prompt when the application is started. This parameter can be changed through the "preferred setting" panel. Shortcuts can also be added and deleted using the Application Manager using the application / creation shortcut and application / deletion shortcut menu item. Using Java Web Start Software after proxy server / firewall Java Web Start software must be configured with the correct proxy settings to initiate applications from firewalls. Java Web Start Software will automatically attempt to detect the system default browser (Microsoft Windows on Internet Explorer or NetscapeTM Browser, Solaris Operation Environment, and Linux) Agent Settings. Java Web Start technology supports most web proxy automatic configuration scripts. It almost detects proxy settings in all environments. If you cannot detect the proxy settings automatically, you will be prompted to specify the proxy settings when you first use Java Web Start for the first time. Java Web Start also prompts to enter the username and password required to access the authentication proxy server. The username and password will be stored as the current entry information of Java Web Start. However, when calling a new Java virtual machine, if you access a secure Web site, you will be prompted to enter the username and password because this information is stored with the Java virtual machine instance.

You can also use the Java Web Start "Preferred Settings" panel to view or edit the proxy configuration. Type "Application Manager" on the Microsoft Windows desktop or on the Java Web Start installation directory (Solaris operating environment and Linux), then select Edit / Premier Settings. If you are in an environment accessed through the proxy server, it is recommended to use the Java Web Start Preferences Settings panel to check if it is set correctly.

转载请注明原文地址:https://www.9cbs.com/read-118920.html

New Post(0)