Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 312 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
312
Dung lượng
2,05 MB
Nội dung
[...]... and integrate your JAX-RS services within Java Enterprise Edition, servlet containers, EJB, Spring, and JPA Chapter 12, Securing JAX-RS This chapter walks you through the most popular mechanisms to perform authentication on the Web It then shows you how to implement secure applications withJAX-RS Chapter 13, RESTfulJava Clients This chapter shows you how to write RESTful clients in Java using various... book, RESTful Javawith JAX-RS, provides an in-depth tutorial on JAX-RS and shows how to get the most from this new API while adhering to the REST architectural style I hope you enjoy the book and working withJAX-RS —Marc Hadley JAX-RS Specification Lead Sun Microsystems, Inc Burlington, MA xiv | Foreword Download at WoweBook.Com Preface Author’s Note The bulk of my career has been spent working with. .. installing, configuring, and running the JAX-RS examples from the manuscript with the JBoss RESTEasy framework, an implementation of JAX-RS Part I, REST and the JAX-RS Standard Part I starts off with a brief introduction to REST and HTTP It then guides you through the basics of the JAX-RS specification, and then in later chapters shows you how you can apply JAX-RS to build RESTful web services: Chapter 1,... how to use and apply Java annotations If you are unfamiliar with the Java language, I recommend Learning Java by Patrick Niemeyer and Jonathan Knudsen (O’Reilly) How This Book Is Organized This book is organized into two parts: the technical manuscript, followed by the JAX-RS workbook The technical manuscript explains what REST and JAX-RS are, how they work, and when to use them The JAX-RS workbook provides... introduction to REST and HTTP Chapter 2, Designing RESTful Services This chapter walks you through the design of a distributed RESTful interface for an e-commerce order entry system xvi | Preface Download at WoweBook.Com Chapter 3, Your First JAX-RS Service This chapter walks you through the development of a RESTful web service written in Java as a JAX-RS service Chapter 4, HTTP Method and URI Matching... scalability RESTful web services are the result of applying these constraints to services that utilize web standards such as URIs, HTTP, XML, and JSON Such services become part of the fabric of the Web and can take advantage of years of web engineering to satisfy their clients’ needs The Java API for RESTful web services (JAX-RS) is a new API that aims to make development of RESTful web services in Java simple... This Book This book teaches you how to design and develop distributed web services in Java using RESTful architectural principles on top of the HTTP protocol It is mostly a comprehensive reference guide on the JAX-RS specification, which is a JCP standardized annotation framework for writing RESTful web services in Java While this book does go into many of the fundamentals of REST, it does not cover... Negotiation This chapter explains how HTTP content negotiation works, its relationship to JAX-RS, and how you can leverage this within RESTful architectures Chapter 9, HATEOAS This chapter dives into Hypermedia As The Engine Of Application State and how it relates to JAX-RS (UriInfo and UriBuilder) Chapter 10, Scaling JAX-RS Applications This chapter explains how you can increase the performance of your... for more RESTful theory be obtaining RESTful Web Services by Leonard Richardson and Sam Ruby (O’Reilly) If you are familiar writing Java EE applications, you will be very comfortable reading this book If you are not, you will be at a disadvantage, but some experience with web application development, HTTP, and XML is a huge plus Before reading this book, you should also be fairly fluent in the Java language... how to write RESTful clients in Java using various libraries and frameworks as an example (java. net.URL, Apache HTTP Client, and RESTEasy) Chapter 14, JAX-RS Implementations This chapter provides a short review of available JAX-RS implementations Preface | xvii Download at WoweBook.Com Part II, JAX-RS Workbook The JAX-RS workbook shows you how to execute examples from chapters in the book that include . alt=""
Download at WoweBook.Com
RESTful Java with JAX-RS
Download at WoweBook.Com
Download at WoweBook.Com
RESTful Java with JAX-RS
Bill Burke
Beijing
•
Cambridge
•
Farnham
•
Köln
•
Sebastopol
•
Taipei
•
Tokyo
Download. 142
Deployment Within a JAX-RS- Unaware Container 143
Deployment Within a JAX-RS- Aware Container 144
Deployment Within Java EE 6 144
Configuration 145
Older Java