Configuring Declarative Hyperlinks in Jersey Java
source link: https://www.codesd.com/item/configuring-declarative-hyperlinks-in-jersey-java.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Configuring Declarative Hyperlinks in Jersey Java
I am confused by the Jersey Documentation Chapter 6 http://jersey.java.net/nonav/documentation/latest/linking.html
The configuration section (6.5) doesn't say where to add the dependency etc. What file(s) need to be edited?
I am confused what I need to do all together in order to use the @Ref attribute in my code.
EDIT/UPDATE
How do I use Jersey Hyperlinking without Maven. I've grabbed the jar file jersey-server-linking-1.9-SNAPSHOT.jar but I don't know what it depends on. Can some one give me a list of jars I need to get this working?
The dependency appears to be a maven dependency, So you'd put it in the typical maven configuration files, I'm not all that familiar with maven. This is really to make sure the Jersey linking module libraries are included in your application.
The rest of the code samples in that section refer to modifications you need to make to web.xml.
Related Articles
Matrix declaration and initialization in Java. The tables behave differently when the position of their subsequent indices is modified in their statement
Strange error declaring a vector in Java
suggestions for declarative GUI programming in Java
Problem with configuring the Gmail API (in Java)
How to configure & amp; package a simple Java application to use JPA
Several jpa: repositories in xml config, how to configure with @EnableJPARepositories using Spring java config?
How can I initialize objects in a repository with jersey (java)?
Correct Configuration of Spring with Security - Java
Declaring and initializing the Java ID
Delete non-UTF-8 characters from xml with the declared encoding = utf-8 - Java
What to declare Auditor inside the java class
Type-safe & ldquo; schem based & rdquo; * Hierarchical configuration read / write library * for Java?
Java: Declare the attribute as Java or self-written (maybe with interfaces?)
What is the appropriate way to declare project constants in Java?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK