چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

RESTful Java Web Services

Prabhakar Chaganti; Luca Masini; Travis S Schmidt; Rashmi Phadnis; Ved Prakash Jha

قیمت نهایی

۴۰٬۰۰۰ تومان۴۹٬۰۰۰ تومان۱۸٪ تخفیف
  • تخفیف زمان‌دار−۹٬۰۰۰ تومان

۹٬۰۰۰ تومان صرفه‌جویی نسبت به قیمت اصلی

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

سال انتشار
۲۰۰۹
فرمت
PDF
زبان
انگلیسی
تعداد صفحات
۵ صفحه
حجم فایل
۲٫۶ مگابایت
شابک
9781847191007، 9781847191014، 9781847192608، 9781847192615، 1847191002، 1847191010، 1847192602، 1847192610

دربارهٔ کتاب

The complete guide to installing and configuring the GlassFish Application Server and developing Java EE 5 applications to be deployed to this server. Packt - RESTful Java Web Services (11-2009) (ATTiCA)......Page 0 Copyright......Page 3 Credits......Page 4 About the Author......Page 5 About the Reviewers......Page 6 Table of Contents......Page 8 Preface......Page 14 What is REST?......Page 20 Resources......Page 22 URI......Page 23 Uniform interfaces through HTTP requests......Page 24 GET/RETRIEVE......Page 25 POST/CREATE......Page 29 PUT/UPDATE......Page 31 DELETE/DELETE......Page 33 Web services and the big picture......Page 34 Summary......Page 36 Getting the tools......Page 38 RESTful clients......Page 39 Java command-line application......Page 40 Jakarta Commons HTTP Client......Page 43 Java desktop application......Page 45 JSP application......Page 49 Servlet application......Page 51 Summary......Page 55 Semantic search mashup......Page 56 Application architecture......Page 58 Web application definition......Page 59 User interface layer......Page 61 Parsing JSON structures......Page 71 Servlet layer......Page 73 SemanticHacker parser Servlet......Page 74 Google search Servlet......Page 76 Twitter search Servlet......Page 77 Yahoo search Servlet......Page 79 Yahoo image search Servlet......Page 80 Summary......Page 81 Designing a RESTful web service......Page 82 Requirements of sample web service......Page 83 Resource identification......Page 84 XML representations......Page 85 JSON representations......Page 88 URI definition......Page 89 Using URIs to request representation types......Page 91 Summary......Page 92 Getting the tools......Page 94 Jersey the JAX-RS 1.1 reference implementation......Page 95 @Path......Page 96 @GET......Page 97 @DELETE......Page 98 @PathParam......Page 99 @Consumes......Page 101 @Produces......Page 102 @FormParam......Page 103 Web service architecture......Page 104 Persistence layer......Page 105 RESTful web service implementation with Jersey......Page 106 Application deployment......Page 107 /users......Page 108 /users/{username}......Page 116 /messages......Page 122 /messages/{messageID}......Page 128 /messages/users/{username}......Page 132 /messages/search/{search_item}......Page 134 Summary......Page 137 Getting the tools......Page 138 Restlet......Page 139 Restlet application and URI mappings......Page 140 HTTP GET and content negotiation (HTTP Accept header)......Page 141 HTTP POST......Page 143 HTTP PUT......Page 144 HTTP DELETE......Page 145 Restlet application and URI mappings......Page 146 /users......Page 148 /users/{username}......Page 152 /messages......Page 156 /messages/{messageID}......Page 157 /messages/users/{username}......Page 159 /messages/search/{search_item}......Page 160 Restlet application and URI mappings......Page 162 @Get and content negotiation (HTTP Accept header)......Page 163 @Post......Page 164 @Delete......Page 165 Implementation using Restlet 2.0......Page 166 URIs and resources......Page 167 /users......Page 168 /users/{username}......Page 171 /messages......Page 175 /messages/{messageID}......Page 176 /messages/users/{username}......Page 178 /messages/search/{search_item}......Page 179 Summary......Page 180 Getting the tools......Page 182 Web service architecture......Page 183 RESTful web service implementation with RESTEasy......Page 184 Application deployment......Page 185 /users......Page 187 /users/{username}......Page 188 /messages......Page 189 /messages/{messageID}......Page 190 /messages/users/{username}......Page 191 Summary......Page 192 Getting the tools......Page 194 REST plugin......Page 195 URI mappings......Page 196 HTTP request handlers......Page 197 Web service architecture......Page 198 RESTful web service implementation with Struts 2......Page 199 Application deployment......Page 200 /users and /users/{username}......Page 202 /messages and /messages/{messageID}......Page 210 /usermessages/{username}......Page 213 /searchmessages/{search_item}......Page 214 Summary......Page 215 Getting the tools......Page 216 HTTP GET requests......Page 217 HTTP POST requests......Page 218 HTTP PUT requests......Page 220 HTTP DELETE requests......Page 221 Restlet servers......Page 222 Summary......Page 231 Securing web services......Page 232 Custom token authentication......Page 233 HTTP basic authentication......Page 235 OAuth — accessing web services on behalf of users......Page 241 High availability......Page 243 Scalability......Page 244 On-demand infrastructures......Page 245 Performance recommendations......Page 246 Summary......Page 247 Index......Page 248

In Detail

GlassFish is a free, open-source Java EE 5-compliant application server that is quickly gaining massive popularity.

This book explains GlassFish installation and configuration, and then moves on to Java EE 5 application development, covering all major Java EE 5 APIs.

Chapter 1 provides an overview of Glassfish, including how to install it, configure it, and verify the installation.

Chapter 2 covers how to develop server-side web applications using the Servlet API.

>Chapter 3 explains how to develop web applications using JavaServer Pages (JSPs), including how to develop and use JSP custom tags.

Chapter 4 discusses how to develop Java EE applications that interact with a relational database system through the Java Persistence API (JPA) and through the Java Database Connectivity API (JDBC).Chapter 5 explains how to use the JSP Standard Tag Library (JSTL) when developing JavaServer Pages.

Chapter 6 covers how to develop applications using the JavaServer Faces (JSF) component framework to build web applications.

Chapter 7 explains how to develop messaging applications though the Java Messaging Service (JMS) API.

Chapter 8 covers securing J2EE applications through the Java Authentication and Authorization Service (JAAS).

Chapter 9 discusses how to develop Enterprise Java Beans that adhere to the EJB 3 specification.

Chapter 10 explains how to develop and deploy web services that conform to the JAX-WS 2.1 specification.

Chapter 11 covers frameworks that build on top of the Java EE 5 specification, including Seam, Facelets, and Ajax4Jsf.

The appendices cover some of the advanced features of the GlassFish server.

This book is a Developer's Guide, covering the ins and outs of developing Java EE 5 applications deployed to the standards-compliant, high performance GlassFish application server.

Visit the Free Online Edition and read the full table of contents including summaries of each chapter and also chapter 6 in full.

Approach

The book aims to speed up the reader in Java EE 5 development. All major Java EE 5 APIs and the details of the GlassFish server are covered followed by examples of its use.

Who this book is for

This book is aimed at Java developers wishing to become proficient with Java EE 5, who are expected to have some experience with Java and to have developed and deployed applications in the past, but need no previous knowledge of Java EE or J2EE. It teaches the reader how to use GlassFish to develop and deploy applications.

This book is a fast paced tutorial to creating a website using e107. If you have never used e107, or even any web content management system before, then this book will walk you through each step in a friendly and accessible way. From installation, to initial set up and content entry and then on to customization for your own look and feel, this book will get you to a stable and working e107 based web site fast. You do not have to be an experienced web developer or designer to get a great looking site with a full set of functions using this book and e107. This book will guide you through every step.

e107 is a PHP-based content management system that uses the popular open source MySQL database system for content storage. e107 is released under the terms of the GNU General Public License and is completely free, totally customizable and in constant development. It is an ideal tool for developing small to large dynamic community websites, intra company portals, corporate portals, weblogs and much more. It has a large, enthusiastic, and helpful community of users.

If you want to create a powerful, fully-featured website in no time, this book is for you. This book will help you explore e107, putting you in the picture of what it offers, and how to go about building a site with the system.

The book covers all the core features of e107, and it is thorough and incremental tutorial approach it gives you the understanding to experiment with advanced features and customization.

This book is hands-on. As you work through the small business/e-commerce enabled example web site, you will learn how to install, upgrade, configure, and use the various basic features of the e107 Content Management System. The book contains a number of screen shots to reinforce that each step that you perform is correct.

This book is primarily for entrepreneurs, small office/home office, small businesses and non-profit agencies who would like to have interactive, business and/or e-commerce web sites at a low cost without sacrificing power or usability. No knowledge of PHP programming, Apache, or MySQL is required.

"This book is for Java developers who want to create Ajax interfaces using the Google Web Toolkit (GWT). It focuses on useful, practical tasks from the first chapter. The book is aimed at programmers who want to use GWT to create interfaces for their professional web applications. It concentrates on the serious side of Ajax: creating powerful, productive applications for browser platforms"--Resource description page Each chapter covers a series of practical tasks, showing how to achieve a particular useful result and then learn how it works so that you can apply your knowledge to your own unique situation. Readers will need experience writing non-trivial applications using Java. Experience with developing web interfaces is useful, but knowledge of JavaScript and DHTML is not required GWT takes care of that!

قیمت نهایی

۴۰٬۰۰۰ تومان