ko4j registers implementation of Transfer and WSTransfer based on XHR and WebSocket from a browser. The Java implementations of these interfaces has been moved to ko-ws-tyrus module. JavaScript arrays passed as parameters to Java callback methods need to be wrapped.
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.netbeans.html</groupId>
6 <artifactId>pom</artifactId>
7 <version>0.7-SNAPSHOT</version>
9 <groupId>org.netbeans.html</groupId>
10 <artifactId>ko4j</artifactId>
11 <version>0.7-SNAPSHOT</version>
12 <packaging>bundle</packaging>
13 <name>Knockout.js for Java</name>
14 <url>http://maven.apache.org</url>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 <bundleSymbolicName>org.netbeans.html.ko4j</bundleSymbolicName>
22 <groupId>org.apache.felix</groupId>
23 <artifactId>maven-bundle-plugin</artifactId>
26 <groupId>org.apache.maven.plugins</groupId>
27 <artifactId>maven-javadoc-plugin</artifactId>
33 <groupId>org.apache.maven.plugins</groupId>
34 <artifactId>maven-compiler-plugin</artifactId>
35 <version>2.3.2</version>
45 <groupId>com.oracle</groupId>
46 <artifactId>javafx</artifactId>
47 <version>2.2</version>
49 <systemPath>${jfxrt.jar}</systemPath>
52 <groupId>org.netbeans.html</groupId>
53 <artifactId>net.java.html.json</artifactId>
54 <version>${project.version}</version>
57 <groupId>org.testng</groupId>
58 <artifactId>testng</artifactId>
62 <groupId>${project.groupId}</groupId>
63 <artifactId>net.java.html.json.tck</artifactId>
64 <version>${project.version}</version>
68 <groupId>org.netbeans.api</groupId>
69 <artifactId>org-openide-util-lookup</artifactId>
70 <scope>provided</scope>
73 <groupId>org.netbeans.html</groupId>
74 <artifactId>net.java.html.boot</artifactId>
75 <version>${project.version}</version>
79 <groupId>${project.groupId}</groupId>
80 <artifactId>net.java.html.boot.fx</artifactId>
81 <version>${project.version}</version>
85 <groupId>org.glassfish.grizzly</groupId>
86 <artifactId>grizzly-http-server</artifactId>
87 <version>2.3.3</version>
91 <groupId>org.glassfish.grizzly</groupId>
92 <artifactId>grizzly-websockets-server</artifactId>
93 <version>2.3.3</version>
98 <groupId>org.glassfish.grizzly</groupId>
99 <artifactId>grizzly-http-servlet</artifactId>
100 <version>2.3.3</version>
104 <groupId>javax.servlet</groupId>
105 <artifactId>javax.servlet-api</artifactId>
107 <version>3.1.0</version>
110 <description>Binds net.java.html.json APIs together with knockout.js</description>