We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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 Resource base class implementations, for example ResourceBase - it will serve as the root JAX-RS resource
Resource
ResourceBase
extend Application class if necessary
Application
register the Application class (either your own or from Core) in your project's webapp/WEB-INF/web.xml like this:
webapp/WEB-INF/web.xml
<servlet> <servlet-name>index</servlet-name> <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class> <init-param> <param-name>javax.ws.rs.Application</param-name> <param-value>com.atomgraph.core.Application</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>index</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping>
For a complete example of a Web application built on AtomGraph Core, take a look at AtomGraph Processor and AtomGraph Web-Client.