Debian Codegraph @

samples/README.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <!--
3
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5
6 Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved.
7
8 The contents of this file are subject to the terms of either the GNU
9 General Public License Version 2 only ("GPL") or the Common Development
10 and Distribution License("CDDL") (collectively, the "License"). You
11 may not use this file except in compliance with the License. You can
12 obtain a copy of the License at
13 http://glassfish.java.net/public/CDDL+GPL_1_1.html
14 or packager/legal/LICENSE.txt. See the License for the specific
15 language governing permissions and limitations under the License.
16
17 When distributing the software, include this License Header Notice in each
18 file and include the License file at packager/legal/LICENSE.txt.
19
20 GPL Classpath Exception:
21 Oracle designates this particular file as subject to the "Classpath"
22 exception as provided by Oracle in the GPL Version 2 section of the License
23 file that accompanied this code.
24
25 Modifications:
26 If applicable, add the following below the License Header, with the fields
27 enclosed by brackets [] replaced by your own identifying information:
28 "Portions Copyright [year] [name of copyright owner]"
29
30 Contributor(s):
31 If you wish your version of this file to be governed by only the CDDL or
32 only the GPL Version 2, indicate your decision by adding "[Contributor]
33 elects to include this software in this distribution under the [CDDL or GPL
34 Version 2] license." If you don't indicate a single choice of license, a
35 recipient has the option to distribute your version of this file under
36 either the CDDL, the GPL Version 2 or to extend the choice of license to
37 its licensees as provided above. However, if you add GPL Version 2 code
38 and therefore, elected the GPL Version 2 license, then the option applies
39 only if the new code is made subject to such option by the copyright
40 holder.
41
42 -->
43 <html><head><title>Jersey RESTful Web services Samples</title></head>
44
45
46 <body>
47 <h1>Jersey RESTful Web services Samples</h1>
48
49 <p>This subdirectory contains Jersey samples. You should refer to the individual README files in each top level sample directory
50 for detailed instructions for each example.</p>
51
52 <h2>Samples</h2>
53 <p>All samples were taken from Jersey project at <a href="http://jersey.java.net">http://jersey.java.net/</a>,
54 and are available also on java.net maven <a href="http://maven.java.net/">repository</a>
55 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>.
56
57 <h2>Setup</h2>
58 <p>Each sample has it's own README file saying how to run the example, including container setup. <br>
59 For running the examples from command line you will need <a href="http://maven.apache.org/">maven</a> installed.
60
61 <p>Another option would be to run the examples using <a href="http://www.netbeans.org">NetBeans 6.9.1</a>
62
63 <p>Some samples refer to use of curl, which is useful utility for testing resources.<br>
64 More about curl can be found <a href="http://curl.haxx.se/">here</a>.
65 It can be downloaded from <a href="http://curl.haxx.se/download.html">curl download</a>.
66 <p>These two files <code>assembly.xml</code> and <code>pom.xml</code> are included to allow users to build all samples using maven from top level samples directory.
67 <br>
68
69 <h3>Running Samples</h3>
70
71 <p>The following samples are included:
72 <ul>
73 <li><a href="atompub-contacts/README.html">atompub-contacts</a></li>
74 <li><a href="bookmark/README.html">bookmark</a></li>
75 <li><a href="bookmark-em/README.html">bookmark-em</a></li>
76 <li><a href="bookstore/README.html">bookstore</a></li>
77 <li><a href="entity-provider/README.html">entity-provider</a></li>
78 <li><a href="exceptions/README.html">exceptions</a></li>
79 <li><a href="extended-wadl-webapp/README.html">extended-wadl-webapp</a></li>
80 <li><a href="freemarker/README.html">freemarker</a></li>
81 <li><a href="generate-wadl/README.html">generate-wadl</a></li>
82 <li><a href="groovy/README.html">groovy</a></li>
83 <li><a href="helloworld/README.html">helloworld</a></li>
84 <li><a href="helloworld-osgi-webapp/README.html">helloworld-osgi-webapp</a></li>
85 <li><a href="helloworld-webapp/README.html">helloworld-webapp</a></li>
86 <li><a href="https-clientserver-grizzly/README.html">https-clientserver-grizzly</a></li>
87 <li><a href="https-server-glassfish/README.html">https-server-glassfish</a></li>
88 <li><a href="jacksonjsonprovider/README.html">jacksonjsonprovider</a></li>
89 <li><a href="jaxb/README.html">jaxb</a></li>
90 <li><a href="jersey-cdi/README.html">jersey-cdi</a></li>
91 <li><a href="jersey-ejb/README.html">jersey-ejb</a></li>
92 <li><a href="jersey-guice-filter/README.html">jersey-guice-filter</a></li>
93 <li><a href="jersey-server-linking-sample/README.html">jersey-server-linking-sample</a></li>
94 <li><a href="json-from-jaxb/README.html">json-from-jaxb</a></li>
95 <li><a href="jsonp/README.html">jsonp</a></li>
96 <li><a href="managed-beans-webapp/README.html">managed-beans-webapp</a></li>
97 <li><a href="mandel/README.html">mandel</a></li>
98 <li><a href="moxy/README.html">moxy</a></li>
99 <li><a href="moxy-oxm-mapping/README.html">moxy-oxm-mapping</a></li>
100 <li><a href="multipart-webapp/README.html">multipart-webapp</a></li>
101 <li><a href="oauth-client-twitter/README.html">oauth-client-twitter</a></li>
102 <li><a href="optimistic-concurrency/README.html">optimistic-concurrency</a></li>
103 <li><a href="osgi-http-service/README.html">osgi-http-service</a></li>
104 <li><a href="scala-helloworld-webapp/README.html">scala-helloworld-webapp</a></li>
105 <li><a href="simple-atom-server/README.html">simple-atom-server</a></li>
106 <li><a href="simple-console/README.html">simple-console</a></li>
107 <li><a href="simple-servlet/README.html">simple-servlet</a></li>
108 <li><a href="sparklines/README.html">sparklines</a></li>
109 <li><a href="spring-annotations/README.html">spring-annotations</a></li>
110 <li><a href="storage-service/README.html">storage-service</a></li>
111 </ul>
112
113
114 </body></html>
115