HTML APIs via Java 1.5.1 API

The HTML/Java API provides basic building blocks as well as advanced high level concepts to make communication between JavaScript and Java as smooth as possible.

See: Description

JSON for Java 
Package Description
net.java.html.json
This API allows you to write your application logic in Java and present it using modern HTML rendering technologies like Knockout and communicate with a server via REST or WebSockets.
Core Client APIs 
Package Description
net.java.html
Representation of the browser context.
net.java.html.boot
Builder class to bootstrap your Java/HTML based application.
See BrowserBuilder for description how to launch your application.
net.java.html.boot.fx
Implementation of BrowserBuilder that renders using JavaFX WebView and additional utilities to configure individual WebViews.
net.java.html.js
Essential support for those who write native methods communicating directly with JavaScript.
Mix your Java and JavaScript code seamlessly - perform calls from Java to JavaScript and back with as much freedom as JavaScript gives you and as much type safety you can get from Java.
Geolocation API 
Package Description
net.java.html.geo
HTML Geo API for Java provides annotation based way of obtaining geolocation information from a browser or any other device capable of providing it.
Sound API 
Package Description
net.java.html.sound
Control sound in your HTML for Java applications.
Testing and Headless API 
Package Description
net.java.html.boot.script
Factories to create headless browser environment which is useful for testing.
Service Provider APIs (not commonly interesting) 
Package Description
org.netbeans.html.boot.spi
Interfaces for integrators of various execution environments.
Not really interesting for clients.
org.netbeans.html.context.spi
Service provider classes to build BrwsrCtx instances.
org.netbeans.html.geo.spi
Service provider interfaces for those willing to provide their own way of obtaining proper geolocation.
org.netbeans.html.json.spi
Service Provider Interfaces for those who wish to integrate own technology with the HTML for Java API.
org.netbeans.html.json.tck
Entry point to the test compatibility kit.
org.netbeans.html.sound.spi
Give your AudioClip real behavior!

Copyright © 2018 NetBeans. All rights reserved.