📘 Premium Read: Access my best content on Medium member-only articles — deep dives into Java, Spring Boot, Microservices, backend architecture, interview preparation, career advice, and industry-standard best practices.
🎓 Top 15 Udemy Courses (80-90% Discount): My Udemy Courses - Ramesh Fadatare — All my Udemy courses are real-time and project oriented courses.
▶️ Subscribe to My YouTube Channel (176K+ subscribers): Java Guides on YouTube
▶️ For AI, ChatGPT, Web, Tech, and Generative AI, subscribe to another channel: Ramesh Fadatare on YouTube
Technologies and tools used
- Jersey Rest - 2.27
- IDE - Eclipse Noen
- Maven - 3.5.3
- JavaSE - 1.8
- MySQL - 8.0.13
- Tomcat - 8.5
- Angular JS
- Bootstrap CSS
URL Mapping
URI path | Resource class | HTTP methods | Allowed values |
---|---|---|---|
/api/contact | ContactCardResource | GET, POST, DELETE | |
/api/contact/{id} | ContactCardResource | GET, DELETE | id - positive number |
/api/contact/search/{searchType}?q={searchValue} | SearchResource | GET | searchType - (name |
Running the Example
- This is a maven project so you can build it using following command:
mvn clean install
- You can build from Eclipse IDE - Right click on project -> Run As -> Maven Build and enter below command in the wizard:
clean install
mvn clean package jetty:run
Check out Jersey Tutorial at http://www.javaguides.net/p/jersey-rest.html
Comments
Post a Comment
Leave Comment