-
Notifications
You must be signed in to change notification settings - Fork 6
Extending Core
Martynas Jusevičius edited this page Aug 5, 2016
·
4 revisions
AtomGraph core is meant to be used as a base library for Linked Data Web applications. Follow these simple steps to get started:
-
create a new Maven Web application
-
add Core as dependency
-
extend one of the
Resourcebase class implementations, for exampleResourceBase- it will serve as the root JAX-RS resource -
extend
Applicationclass if necessary -
register the
index com.sun.jersey.spi.container.servlet.ServletContainer javax.ws.rs.Application org.graphity.core.Application index /Applicationclass (either your own or from Core) in your project'swebapp/WEB-INF/web.xmllike this:
For a complete example of a Web application built on AtomGraph Core, take a look at AtomGraph Processor and AtomGraph Web-Client.