RESTful development with Java
Abstract
"The architecture style that drives the web"
"REST" is frequently being touted as the best way to build web services and applications. Or consider the more pragmatic reason to join in: numerous REST inspired open API's exhist and are being put to use by the big players in the (web-, social-, cloud-, ...) industry. How do you create or connect to such REST services using Java?
This hands-on lab will steer away from the theoretical and conceptual discussions that surround the topic. We assume you've figured out the WHY yourself and are coming over to learn about the practical HOW.
We're setting out to help out with questions like:
- Which API's and techniques exist? (URI templates, jaxRS, routing, Restlet...)
- How to build and consume web services, web applications and web sites with those?
- How to write applications in a stateless world?
- How to capture/control the state and the application flow?
- How to blend in with existing service layers based on the usual suspects JPA, Spring, ...
Along the way we'll touch upon some non-functional needs like
- Sensible caching and
- Practical security
- Tips and Techniques for debugging and testing.
We prepare a step-by-step hands-on exercise, and for a collaborative atmosphere and open discussion that shares some architecture level thoughts as well:
- Which practical considerations to make concerning new aspects like URI design and canonicalization, method support choice, content negotiation, sensible response methods, expected HTTP Header use, link-aware representations etc etc.
- How do I organize modular development and reuse?
- When and why to choose for different routing, wiring and representation techniques?
We do assume participants to show up with a laptop sporting a usable JDK (5+), Maven2, and your IDE of preference. Obviously the term count for 'web' in this text should be high enough to explain the essential HTTP, HTML, CSS, JavaScript, browser knowledge to anyone showing up.
Instructor
![]() |
Do you like this talk? |
