Debian Codegraph @

glassfish/v2-package/internal/src/main/resources/jersey/README.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><title>Jersey RESTful Web services for GlassFish</title></head>
3
4
5 <body>
6 <h1>Jersey RESTful Web services for GlassFish</h1>
7
8 <p>This subirectory contains Jersey samples end javadocs.</p>
9
10 <h2>Javadocs</h2>
11 <ul>
12 <li><a href="apidocs/jersey/index.html">Jersey Javadocs</a></li>
13 <li><a href="apidocs/jsr311/index.html">JAX-RS Javadocs</a></li>
14 </ul>
15
16 <h2>Samples</h2>
17 <p>Selection of Jersey samples are placed in the <a href="samples">samples</a> subdirectory.
18 All of them were taken from Jersey project at <a href="http://jersey.java.net">http://jersey.java.net/</a>,
19 and are available also on java.net maven <a href="http://maven.java.net/">repository</a>
20 at <a href="https://maven.java.net/content/repositories/releases/com/sun/jersey/samples/jersey-samples/">https://maven.java.net/content/repositories/releases/com/sun/jersey/samples/jersey-samples/</a>.
21 They represent samples, which could be packaged as wars and easily deployed onto GlassFish instance.
22
23 <h3>Running Samples</h3>
24
25 <p>The following samples are included:
26 <ul>
27 <li><a href="samples/helloworld-webapp/README.html">helloworld-webapp</a></li>
28 <li><a href="samples/scala-helloworld-webapp/README.html">scala-helloworld-webapp</a></li>
29 <li><a href="samples/simple-servlet/README.html">simple-servlet</a></li>
30 <li><a href="samples/jmakibackend/README.html">jmaki-backend</a></li>
31 <li><a href="samples/bookstore/README.html">bookstore</a></li>
32 <li><a href="samples/spring-annotations/README.html">spring-annotations</a></li>
33 <li><a href="samples/extended-wadl-webapp/README.html">extended-wadl-webapp</a></li>
34 <li><a href="samples/bookmark/README.html">bookmark</a></li>
35 </ul>
36
37 <p>For running the examples from command line you will need <a href="http://maven.apache.org/">maven</a> installed.
38 Then you can just:
39 <pre>
40 cd $AS_HOME/jersey/samples/[sample-name]
41 mvn clean package
42 $AS_HOME/bin/asadmin deploy target/[sample-name].war
43 </pre>
44
45 <p>You can also run the examples using <a href="http://www.netbeans.org">NetBeans 6.5</a>
46
47 <h2>GFv3 Prelude Notes</h2>
48
49 <p>For Jersey based web applications, which are using JSP Views feature (see the bookstore example),
50 you will need to bundle jersey jars with the application war file. This is a known limitation,
51 which will be addressed in the future releases.
52
53 </body></html>
54