1.1 --- a/json/src/main/java/net/java/html/json/package.html Thu May 16 21:14:23 2013 +0200
1.2 +++ b/json/src/main/java/net/java/html/json/package.html Mon May 20 14:49:00 2013 +0200
1.3 @@ -52,9 +52,19 @@
1.4 The model classes can be used for JSON based server communication. Just
1.5 use <a href="OnReceive.html">@OnReceive</a> annotation to define a communication
1.6 point in the model class. Please note, that the model classes can easily
1.7 - be used on server as well (tested with Jersey) - the same code can run
1.8 - in your browser as well as on your server.
1.9 + be used on server as well - the same code can run
1.10 + in your browser as well as on your server. Just add following to your <em>pom.xml</em>
1.11 + to use your classes generated by <a href="Model.html">@Model</a> annotation
1.12 + as <a href="http://jersey.java.net" target="new">Jersey</a> entities:
1.13 </p>
1.14 + <pre>
1.15 +<dependency>
1.16 + <groupId>org.glassfish.jersey.media</groupId>
1.17 + <artifactId>html-json</artifactId>
1.18 + <version>2.1-SNAPSHOT</version>
1.19 + <scope>runtime</scope>
1.20 +</dependency>
1.21 + </pre>
1.22 <p>
1.23 Behavior of model classes can be enriched by using
1.24 <a href="ComputedProperty.html">@ComputedProperty</a> annotation (to