Product Search


Java Web Start


In computing, Java Web Start (also known as JavaWS, javaws or JAWS) is a deprecated framework developed by Sun Microsystems (now Oracle) that allows users to start application software for the Java Platform directly from the Internet using a web browser. The technology enables seamless version updating for globally distributed applications and greater control of memory allocation to the Java virtual machine. Java Web Start was distributed as part of the Java Platform until being removed in Java SE 11, following its deprecation in Java SE 9. The code for Java Web Start was not released by Oracle as part of OpenJDK, and thus OpenJDK originally did not support it. IcedTea-Web provides an independent open source implementation of Java Web Start that is currently developed by the AdoptOpenJDK community, RedHat and Karakun AG, and which is bundled in some OpenJDK installers. Next to this OpenWebStart provides an open source based implementation that is based on IcedTea-Web but offers more features and commercial support options.


Unlike Java applets, Web Start applications do not run inside the browser. By default they run in the same sandbox as applets, with several minor extensions like allowing to load and save the file that is explicitly selected by the user through the file selection dialog. Only signed applications can be configured to have additional permissions. Web Start has an advantage over applets in that it overcomes many compatibility problems with browsers' Java plugins and different JVM versions. Web Start programs are no longer an integrated part of the web page, they are independent applications that run in a separate frame. Web Start can also launch unmodified applets that are packaged inside .jar files, by writing the appropriate JNLP file. This file can also pass the applet parameters. Such applets also run in a separate frame. Applet launcher may not support some specific cases like loading class as resource. Like applets, Java Web Start is cross-platform.


With JDK9, several deployment technologies including applets and Java Web Start were deprecated by Oracle. In March 2018, Oracle announced it will not include Java Web Start in Java SE 11 (18.9 LTS) and later. Developers will need to transition to other deployment technologies. A few stand-alone alternatives have since arisen. The developer prepares a special XML file with JNLP extension. This file describes the application requirements, code location, parameters and additional permissions (if any). The browser downloads this file as any other and (following its MIME type, application/x-java-jnlp-file) opens it with Web Start tool. Web Start tool downloads all necessary resources and launches the application. Java Web Start provides a series of classes in the javax.jnlp package which provide various services to the application. Sun designed most of these services with the aim of allowing carefully controlled access to resources (such as files and the system clipboard) while restricting the application to authorized operations.


The JNLP protocol, defined with an XML schema, specifies how to launch Java Web Start applications. JNLP consists of a set of rules defining how exactly to implement the launching mechanism. JNLP files include information such as the location of the jar package file and the name of the main class for the application, in addition to any other parameters for the program. A properly configured browser passes JNLP files to a Java Runtime Environment (JRE) which in turn downloads the application onto the user's machine and starts executing it. Important Web Start features include the ability to automatically download and install a JRE in the case where the user does not have Java installed, and for programmers to specify which JRE version a given program needs in order to execute. The user does not have to remain connected to the Internet to execute the downloaded programs, because they execute from a locally maintained cache. Updates of the software download from the Web and become available when the user has a connection to the Internet, thus easing the burden of deployment.


Any computer user can use JNLP simply by installing a JNLP client (most commonly Java Web Start). The installation can occur automatically such that the end-user sees the client launcher downloading and installing the Java application when first executed. JNLP works in a similar fashion to how HTTP/HTML works for the web. For rendering an HTML webpage, after the user clicks on a weblink, the browser submits a URL to a webserver, which replies with an HTML file. The browser then requests the resources referred to by this file (images, css), and finally renders the page once it has received enough information. Page rendering usually starts before all resources have downloaded; some resources not critical to the layout of the page (such as images) can follow on afterwards. JNLP mirrors this process; in the same way that a Web browser renders a webpage, a JNLP client "renders" a Java app. After the user clicks on a weblink, the browser submits a URL to a webserver, which replies with a JNLP file (instead of a HTML file) for the application. The JNLP client parses this file, requests the resources specified (jar files), waits for the retrieval of all required resources, and then launches the application. The JNLP file can list resources as "lazy", which informs the JNLP client that the application does not need those resources to start, but can retrieve them later on when/if the application requests them. The example below gives a simple JNLP file to launch the applet, specifying code base, source, main class and window size. Such file contains all necessary references and is self-sufficient to launch the application. As no permissions are requested, the code will run in a sandbox. JNLP also states that this application can run offline (if already cached) and should be updated as a background process.



Featured Products






Articles


Essential Tips When Collecting Antique Pocket Watches As A Hobby
What Type Of Grass Is Used On Putting Greens
The Best Long Pillow That Helps You Sleep Better
Home Page Web Of Ai
Make Your Loved Ones Feel Special By Sending Diwali Gifts In India
The Law Of Magic The Law Of Attraction
How To Choose The Best Toaster Oven
Why Tote Bags Are Popular Trade Show Promos
Knock Their Socks Off With Vanity 800 Numbers
How To Pack Your Backpack Like A Pro
Bad Sleep Can Influence Children S Moods
Some Basic Designing Ideas For A Home Office
Hire Best Piano Movers To Make Transfer Easy
Web Hosting Nz New Zealand Based Firstclass Website Hosting
Ergonomic Garden Tools Will Protect You Against Injury
Super Comfort Latex Pillows To Enrich Your Rest Relaxation And Posture
5 Ways To Make Your Bbq A Memorable Family Event
Table Tents Printing Presentation Folders Printing Folders Printing
Latest Home Appliances Connecting To The World Wide Web
Affordable And Luxurious Fireplace Installation Within A Click Of Mouse
How To Earn Money Online
Can Ebook Readers Save Our Forests
Bring The Great Outdoors Inside With Patio Covers
Getting The Best Out Of Your Solar Security Lights
How Much Fertilizer Is Applied Annually
In These Days Of Fast Fashion
Apps That Make The Iphone And Ipad What They Are Highly Digital
4 Spectacular Games Meant For Android Devices
Women Wear Many Hats
Used Trucks For Sale Buy Used Ones To Save Money
How To Install Your Own Garden Lighting
Travel Safely With Children
The Top Benefits Of Wooden Garden Offices
How To Choose Womens Bowling Shoes Read This Article To Find Out
Scientific Data Q 1 127 Bibcode224natsd1127t
Bubble Tea Delightful Tea And Dessert In One
Of The Best Compression Gloves Of
What Type Of Growing Bag Should You Choose
Jeans Instability Of Interstellar Gas Clouds In The Background Of Weakly Interacting Massive Particles
Different Types Of Home Garden Composite Wooden Flooring
Top 8 Online Courses To Learn Web Development In Best Of Lot
Better The Backpack Great The Hiking Experience
Apart From The Basic Cooper Convertible
Customized Groupon Clone Script At Affordable Cost
Do You Go Camping With Your Truck Truck Tents
My Dream Became A Reality With Ski Instructor Courses
Important Tips To Use When Working With Epoxy Resins
Arrange Furniture In Studio Apt Interior Design
How Can I Download Mp3 Songs
13 Essential Car Accessories Car Owners Must Have