ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Learning Google Guice

دانلود کتاب آموزش Google Guice

Learning Google Guice

مشخصات کتاب

Learning Google Guice

ویرایش:  
نویسندگان:   
سری: Community experience distilled 
ISBN (شابک) : 1783281898, 1299926355 
ناشر: Packt Publishing 
سال نشر: 2013 
تعداد صفحات: 0 
زبان: English 
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 2 مگابایت 

قیمت کتاب (تومان) : 56,000



کلمات کلیدی مربوط به کتاب آموزش Google Guice: جاوا (زبان برنامه کامپیوتری)، نرم افزار کاربردی -- توسعه، علوم کامپیوتر.



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 11


در صورت تبدیل فایل کتاب Learning Google Guice به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب آموزش Google Guice نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب آموزش Google Guice



با یادگیری تزریق وابستگی با استفاده از Google Guice، برنامه‌های جاوا را سریع‌تر و کارآمدتر توسعه دهید. این راهنما مقدمه کاملی است که هم موضوعات پایه و هم پیشرفته را با رویکرد کاربر پسند پوشش می دهد.

نمای کلی

  • پوشش تفصیلی موضوعات مختلف ویژگی‌های Guice مانند Injector، Bindings، Providers، TypeLiterals، Scoping، Multibinders و غیره
  • نحوه استفاده از ارائه دهندگان مختلف Guice-throwing، Guice-multibinder، Guice-servlet، Guice-struts2 را بیاموزید. ، و Guice-sistent در زمینه های مختلف توسعه برنامه
  • تمرکز بر توسعه برنامه های کاربردی وب با استفاده از Struts 2، Hiberate 3، و JPA 2 در حین مدیریت وابستگی ها با استفاده از Guice
  • پوشش موضوعات پیشرفته مانند به عنوان توسعه Guice برای برآوردن نیازهای خاص شما

در جزئیات

Google Guice یک چارچوب نرم افزار منبع باز برای پلت فرم جاوا است که توسط گوگل تحت مجوز آپاچی از تزریق وابستگی با استفاده از حاشیه نویسی برای پیکربندی اشیاء جاوا پشتیبانی می کند.

Learning Google Guice کتابی مختصر و کاربردی است که حوزه های مختلف تزریق وابستگی را با استفاده از ویژگی های ارائه شده توسط آخرین نسخه Google Guice پوشش می دهد. . این برنامه بر روی عملکردهای اصلی و همچنین برنامه‌های افزودنی مختلف پیرامون Guice تمرکز دارد که آن را در زمینه‌های دیگر مانند توسعه وب، ادغام با چارچوب‌هایی برای توسعه وب و ماندگاری مفید می‌سازد.

آموزش Google Guice، برنامه‌های افزودنی Guice را پوشش می‌دهد که از پیچیده اجتناب می‌کنند. استفاده از API. شما با توسعه یک برنامه بی اهمیت و مدیریت وابستگی ها با استفاده از Guice شروع خواهید کرد. همانطور که کتاب به تدریج پیشرفت می کند، به پیچیدگی برنامه ادامه می دهید و به طور همزمان نحوه استفاده از ویژگی های Guice مانند Injector، Provider، Bindings، Scopes و غیره را یاد می گیرید. در نهایت، با استفاده از Guice نه تنها برای مدیریت وابستگی‌ها، بلکه برای حل مشکلات مربوط به پیکربندی، برنامه را برای وب به‌روزرسانی می‌کنید.

آنچه از این کتاب خواهید آموخت</ p>

  • بهینه سازی تزریق وابستگی با استفاده از Guice به عنوان راه حل
  • یک برنامه ساختگی ایجاد کنید که از ویژگی های پیشرفته Guice بهره می برد
  • پیچیدگی های Binding، Scoping و Injection را بیاموزید
  • تسلط بر جنبه های مختلف Guice مربوط به حوزه های مختلف توسعه برنامه در جاوا
  • بیاموزید که چگونه از پسوند Guice-servlet برای توسعه وب با استفاده از Struts 2، JSP، Servlets و Hibernate 3
  • با اجرای aopalliance از AOP استفاده کنید
  • با نحوه توسعه افزونه ها با استفاده از Guice SPI

رویکرد< آشنا شوید /p>

این کتاب یک راهنمای عملی و عملی است که همه چیزهایی را که باید در مورد توسعه برنامه در جاوا با تزریق وابستگی با استفاده از Google Guice بدانید را پوشش می دهد.

این کتاب برای چه کسی نوشته شده است. n for

Learning Google Guice برای معماران و برنامه نویسان اصلی است که می خواهند درباره Google Guice و نحوه استفاده از ویژگی های پیشرفته تر آن بیشتر بدانند. فرض بر این است که خوانندگان دانش پایه ای از تزریق وابستگی خواهند داشت. با این حال، این یک تعهد نیست.


توضیحاتی درمورد کتاب به خارجی

Develop your Java applications faster and more efficiently by learning dependency injection using Google Guice. This guide is the perfect introduction, covering both basic and advanced topics with a user-friendly approach.

Overview

  • Detailed coverage of the various features of Guice such as the Injector, Bindings, Providers, TypeLiterals, Scoping, Multibinders, and so on
  • Learn how to use the various Guice-throwing providers, Guice-multibinder, Guice-servlet, Guice-struts2, and Guice-persist in various areas of application development
  • Focus on web application development using Struts 2, Hiberate 3, and JPA 2 while managing dependencies using Guice
  • Coverage of advanced topics such as extending Guice to cater for your specific requirements

In Detail

Google Guice is an open source software framework for the Java platform released by Google under the Apache License. It provides support for dependency injection using annotations to configure Java objects.

Learning Google Guice is a concise, hands-on book that covers the various areas of dependency injection using the features provided by the latest version of Google Guice. It focuses on core functionalities as well as the various extensions surrounding Guice that make it useful in other areas like web development, integration with frameworks for web development, and persistence.

Learning Google Guice covers Guice extensions which avoid complex API usage. You will start by developing a trivial application and managing dependencies using Guice. As the book gradually progresses, you will continue adding complexity to the application while simultaneously learning how to use Guice features such as the Injector, Provider, Bindings, Scopes, and so on. Finally, you will retrofit the application for the Web, using Guice not only to manage dependencies, but also to solve configuration related problems.

What you will learn from this book

  • Optimize dependency injection using Guice as a solution
  • Develop a fictitious application harnessing the advanced features of Guice
  • Learn the intricacies of Binding, Scoping, and Injection
  • Master the various aspects of Guice pertaining to different areas of application development in Java
  • Learn how to harness the Guice-servlet extension for web development using Struts 2, JSP, Servlets, and Hibernate 3
  • Leverage AOP by implementing aopalliance
  • Learn how to develop extensions using the Guice SPI

Approach

This book is a practical, hands-on guide that covers everything you need to know about application development in Java with dependency injection using Google Guice.

Who this book is written for

Learning Google Guice is for architects and lead programmers who want to know more about Google Guice and how to leverage its more advanced features. It is assumed that readers will have a basic knowledge of dependency injection; however, this is not an obligation.



فهرست مطالب

Content: Cover
Copyright
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Chapter 1: Getting Started with Guice
Wiring dependencies
Resolving dependencies directly
Inverting the dependencies
Understanding Inversion of Control
Inverting the control using Dependency injection
Comparing two approaches
Initializing dependencies directly
Refactoring to use Guice
Building and Running the examples
Compiling the sample code
Running Unit tests
Running the main application
Summary
Chapter 2: Exploring Google Guice
Meet the injector. Various kinds of injectionsField injection
Method injection
Constructor injection
Configuring a module to write bindings
Bindings
Linked bindings
Instance bindings
Untargeted bindings
Constructor bindings
Binding annotations
Binding constants
Binding properties
Just in time bindings
By default constructors
@Inject annotated constructors
Interfaces annotated with @ImplementedBy
Static injection
Summary
Chapter 3: Diving Deeper in Guice
Going extra mile with Providers
Need for a Provider
Working of Provider
Rolling your own Provider
Injecting dependencies in Providers. Advantages of Provider@Provides
CheckedProviders
@CheckedProvides
AssitedInject
Binding collections
Using TypeLiteral
Using MultiBinder
Scoping
Singletons with Guice
Eager Singletons
Custom Scopes
Motivation to write a custom scope
Modifying our Provider
Defining our own scope
Changes in Module
Observations
Summary
Chapter 4: Guice in Web Development
Structure of flightsweb application
Using GuiceFilter
Rolling out our ServletContextListener interface
ServletModule --
the entry point for configurations
Binding language
Mapping servlets
Mapping filters
Web scopes. @RequestScoped@SessionScoped
@RequestParameters
Exercising caution while scoping
Summary
Chapter 5: Integrating Guice with Struts 2
Introducing Struts 2
Guice 3 and Struts 2 integration
Struts2GuicePluginModule
Struts2Factory
FlightSearch application with Struts 2
FlightServletContexListener
Index page
FlightSearchAction
Response page
Summary
Chapter 6: Integrating Guice with JPA 2
Introduction to JPA 2 and Hibernate 3
Persistence Unit
PersistenceContext
EntityManagerFactory
EntityManager
Session Strategies
Guice 3 with JPA 2
PersistService
UnitOfWork. JpaPersistServicePersistFilter
@Transactional
JpaLocalTxnInterceptor
JpaPersistModule
FlightSearch application with JPA 2 and Hibernate 3
Persistence.xml
Client
SearchResponse
FlightEngineModule
FlightJPASupplier
FlightServletContextListener
Summary
Chapter 7: Developing Plugins and Extensions using Guice
Developing a plugin
Guice SPI (Service Provider Interface)
Quick introduction to Visitor Design pattern
Elements SPI
Implementing Elements SPI
Uses of Elements SPI
Extensions SPI
Exploring a custom extension, guice-multibinder.




نظرات کاربران