/[projects]/miscJava/Test3/src/main/java/dk/thoerup/webservice/MyApplication.java
ViewVC logotype

Contents of /miscJava/Test3/src/main/java/dk/thoerup/webservice/MyApplication.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2515 - (show annotations) (download)
Sun Apr 26 17:57:57 2015 UTC (9 years ago) by torben
File size: 310 byte(s)
rest sample is working
1 package dk.thoerup.webservice;
2
3 import javax.ws.rs.*;
4
5 import org.glassfish.jersey.server.*;
6
7 @ApplicationPath("resources")
8 public class MyApplication extends ResourceConfig {
9 public MyApplication() {
10 System.out.println("Loading MyApplication class");
11 packages("dk.thoerup.webservice");
12 }
13 }

  ViewVC Help
Powered by ViewVC 1.1.20