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

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

Spring 2.5 Recipes: A Problem-Solution Approach (Recipes: a Problem-Solution Approach)

Gary Mak

قیمت نهایی

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

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

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

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

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

مشخصات کتاب

نویسنده
Gary Mak
ناشر
Apress L. P.
سال انتشار
۲۰۰۸
فرمت
PDF
زبان
انگلیسی
حجم فایل
۵٫۸ مگابایت
شابک
9781430206231، 9781430206248، 9781590599792، 1430206233، 1430206241، 1590599799

دربارهٔ کتاب

Spring addresses most aspects of Java/Java EE application development and offers simple solutions to them. By using Spring, you will be lead to use industry best practices to design and implement your applications. The releases of Spring 2.x have added many improvements and new features to the 1.x versions. Spring Recipes: A Problem–Solution Approach focuses on the latest Spring 2.5 features for building enterprise Java applications. Spring Recipes covers Spring 2.5 from basic to advanced, including Spring IoC container, Spring AOP and AspectJ, Spring data access support, Spring transaction management, Spring Web and Portlet MVC, Spring testing support, Spring support for remoting, EJB, JMS, JMX, E–mail, scheduling, and scripting languages. This book also introduces several common Spring Portfolio projects that will bring significant value to your application development, including Spring Security, Spring Web Flow, and Spring Web Services. The topics in this book are introduced by complete and real–world code examples that you can follow step by step. Instead of abstract descriptions on complex concepts, you will find live examples in this book. When you start a new project, you can consider copying the code and configuration files from this book, and then modifying them for your needs. This can save you a great deal of work over creating a project from scratch. What you’ll learn Installing the Spring framework and Spring IDE, using the Spring IoC container and the Spring application context. Understanding AOP concepts, using classic and new Spring AOP, integrating Spring with AspectJ, and load–time weaving aspects. Using Spring to simplify data access (with JDBC, Hibernate, and JPA) and manage transactions programmatically and declaratively. Building web applications and portlets with Spring Web MVC and Portlet MVC, and integrating Spring with Struts, JSF, and DWR. Understanding the unit testing and integration testing concepts, and Spring’s unit and integration testing support (on JUnit 3.8, JUnit 4, and TestNG). Using Spring’s support for remoting technologies (RMI, Hessian, Burlap, and HTTP Invoker), EJB, JMS, JMX, E-mail, scheduling, and scripting languages. Understanding security concepts (authentication, authorization, and access control), and securing web applications using Spring Security. Managing complex web application page flows using Spring Web Flow, and integrating Spring Web Flow with JSF. Exposing contract–last web services using XFire, and developing contract–first web services using Spring Web Services. Who is this book for? This book is for Java developers who would like to gain hands–on experience rapidly on Java/Java EE development using the Spring framework. If you are already a developer using Spring in your projects, you can also use this book as a reference, and you’ll find the code examples very useful. You don’t need much Java EE experience to read this book. However, it assumes that you know the basics of object–oriented programming with Java (e.g., creating a class/interface, implementing an interface, extending a base class, running a main class, setting up your classpath, and so on). It also assumes you have basic knowledge on web and database concepts and know how to create dynamic web pages and query databases with SQL statements. Spring Recipes: A Problem-Solution Approach......Page 1 Contents at a Glance......Page 6 Contents......Page 9 About the Author......Page 17 About the Technical Reviewers......Page 19 Acknowledgments......Page 21 Who This Book Is For......Page 23 How This Book Is Structured......Page 24 Contacting the Author......Page 26 Inversion of Control and Containers......Page 29 Unknown......Page 0 How It Works......Page 30 How It Works......Page 35 How It Works......Page 37 How It Works......Page 39 How It Works......Page 43 1-6. Summary......Page 46 2-1. Introducing the Spring Framework......Page 47 Introducing Spring’s Modules......Page 48 Introducing Spring’s Releases......Page 49 Introducing Spring’s Projects......Page 51 How It Works......Page 52 How It Works......Page 54 How It Works......Page 56 How It Works......Page 58 2-6. Summary......Page 65 Solution......Page 67 How It Works......Page 68 Solution......Page 71 How It Works......Page 72 How It Works......Page 74 How It Works......Page 77 Solution......Page 81 How It Works......Page 82 How It Works......Page 84 Solution......Page 86 How It Works......Page 87 Solution......Page 90 How It Works......Page 91 How It Works......Page 97 Solution......Page 100 How It Works......Page 101 Solution......Page 107 How It Works......Page 108 How It Works......Page 110 Problem......Page 112 How It Works......Page 113 3-14. Summary......Page 118 How It Works......Page 119 How It Works......Page 123 How It Works......Page 124 How It Works......Page 126 How It Works......Page 128 How It Works......Page 130 How It Works......Page 132 Problem......Page 134 How It Works......Page 135 Solution......Page 140 Solution......Page 141 How It Works......Page 142 How It Works......Page 146 How It Works......Page 147 Problem......Page 149 How It Works......Page 150 How It Works......Page 152 How It Works......Page 155 Solution......Page 157 How It Works......Page 158 4-17. Summary......Page 160 Dynamic Proxy and Classic Spring AOP......Page 161 5-1. Problems with Non-Modularized Crosscutting Concerns......Page 162 Tracing the Methods......Page 163 Validating the Arguments......Page 166 Identifying the Problems......Page 168 Solution......Page 170 How It Works......Page 171 Problem......Page 176 How It Works......Page 177 How It Works......Page 186 How It Works......Page 189 5-6. Summary......Page 191 Spring 2.x AOP and AspectJ Support......Page 193 How It Works......Page 194 Solution......Page 196 How It Works......Page 197 Solution......Page 202 How It Works......Page 203 How It Works......Page 204 How It Works......Page 206 How It Works......Page 208 How It Works......Page 213 How It Works......Page 216 Solution......Page 218 How It Works......Page 219 How It Works......Page 222 How It Works......Page 227 Solution......Page 228 How It Works......Page 229 6-13. Summary......Page 232 7-1. Problems with Direct JDBC......Page 235 Setting Up the Application Database......Page 236 Understanding the Data Access Object Design Pattern......Page 237 Implementing the DAO with JDBC......Page 238 Configuring a Data Source in Spring......Page 240 Problem......Page 242 How It Works......Page 243 Problem......Page 247 How It Works......Page 248 Solution......Page 253 How It Works......Page 254 How It Works......Page 256 Problem......Page 259 How It Works......Page 260 How It Works......Page 262 Solution......Page 266 How It Works......Page 267 7-9. Summary......Page 271 Transaction Management in Spring......Page 273 8-1. Problems with Transaction Management......Page 274 Managing Transactions with JDBC Commit and Rollback......Page 278 Problem......Page 279 How It Works......Page 280 How It Works......Page 281 How It Works......Page 283 Solution......Page 286 How It Works......Page 287 How It Works......Page 289 How It Works......Page 291 Solution......Page 292 How It Works......Page 293 Solution......Page 297 How It Works......Page 298 How It Works......Page 305 Problem......Page 306 How It Works......Page 307 How It Works......Page 308 8-13. Summary......Page 311 Spring ORM Support......Page 313 9-1. Problems with Using ORM Frameworks Directly......Page 314 Persisting Objects Using the Hibernate API with Hibernate XML Mappings......Page 315 Persisting Objects Using the Hibernate API with JPA Annotations......Page 319 Persisting Objects Using JPA with Hibernate As the Engine......Page 321 How It Works......Page 325 How It Works......Page 332 How It Works......Page 338 Problem......Page 341 How It Works......Page 342 9-6. Summary......Page 345 Problem......Page 347 Solution......Page 348 How It Works......Page 349 How It Works......Page 359 Solution......Page 362 How It Works......Page 363 Solution......Page 365 How It Works......Page 366 How It Works......Page 368 Solution......Page 369 How It Works......Page 370 Problem......Page 372 How It Works......Page 373 Solution......Page 374 How It Works......Page 375 How It Works......Page 377 How It Works......Page 379 Solution......Page 392 How It Works......Page 393 How It Works......Page 401 How It Works......Page 407 Solution......Page 411 How It Works......Page 412 10-15. Summary......Page 419 Problem......Page 421 How It Works......Page 422 Solution......Page 426 How It Works......Page 427 How It Works......Page 433 How It Works......Page 438 11-5. Summary......Page 442 Spring Testing Support......Page 443 How It Works......Page 444 Solution......Page 449 How It Works......Page 450 How It Works......Page 459 Solution......Page 464 How It Works......Page 465 Problem......Page 470 How It Works......Page 471 Solution......Page 475 How It Works......Page 476 How It Works......Page 481 Solution......Page 485 How It Works......Page 486 12-9. Summary......Page 487 Problem......Page 491 How It Works......Page 492 How It Works......Page 502 Solution......Page 506 How It Works......Page 507 Problem......Page 516 How It Works......Page 517 How It Works......Page 520 How It Works......Page 523 Solution......Page 525 How It Works......Page 526 13-8. Summary......Page 535 Solution......Page 537 How It Works......Page 539 Problem......Page 545 How It Works......Page 546 How It Works......Page 555 How It Works......Page 563 14-5. Summary......Page 569 Solution......Page 571 How It Works......Page 572 Problem......Page 578 How It Works......Page 579 Solution......Page 591 How It Works......Page 592 How It Works......Page 594 Problem......Page 600 How It Works......Page 601 15-6. Summary......Page 606 Spring Remoting and Web Services......Page 609 Solution......Page 610 How It Works......Page 611 Solution......Page 614 How It Works......Page 615 Solution......Page 618 How It Works......Page 619 How It Works......Page 621 How It Works......Page 627 Solution......Page 631 How It Works......Page 632 How It Works......Page 638 Solution......Page 641 How It Works......Page 642 How It Works......Page 647 16-10. Summary......Page 648 Problem......Page 651 How It Works......Page 652 Problem......Page 657 How It Works......Page 658 How It Works......Page 663 Solution......Page 666 How It Works......Page 667 Problem......Page 681 How It Works......Page 682 17-6. Summary......Page 687 Problem......Page 689 How It Works......Page 690 How It Works......Page 701 How It Works......Page 703 How It Works......Page 706 Solution......Page 714 How It Works......Page 715 How It Works......Page 717 18-7. Summary......Page 722 Solution......Page 723 How It Works......Page 724 How It Works......Page 728 How It Works......Page 731 How It Works......Page 732 19-5. Summary......Page 733 Index......Page 735 Spring addresses most aspects of Java/Java EE application development and offers simple solutions to them. By using Spring, you will be lead to use industry best practices to design and implement your applications. The releases of Spring 2.x have added many improvements and new features to the 1.x versions. __Spring Recipes: A Problem–Solution Approach__ focuses on the latest Spring 2.5 features for building enterprise Java applications. __Spring Recipes__ covers Spring 2.5 from basic to advanced, including Spring IoC container, Spring AOP and AspectJ, Spring data access support, Spring transaction management, Spring Web and Portlet MVC, Spring testing support, Spring support for remoting, EJB, JMS, JMX, E–mail, scheduling, and scripting languages. This book also introduces several common Spring Portfolio projects that will bring significant value to your application development, including Spring Security, Spring Web Flow, and Spring Web Services. The topics in this book are introduced by complete and real–world code examples that you can follow step by step. Instead of abstract descriptions on complex concepts, you will find live examples in this book. When you start a new project, you can consider copying the code and configuration files from this book, and then modifying them for your needs. This can save you a great deal of work over creating a project from scratch. ## What you’ll learn * Installing the Spring framework and Spring IDE, using the Spring IoC container and the Spring application context. * Understanding AOP concepts, using classic and new Spring AOP, integrating Spring with AspectJ, and load–time weaving aspects. * Using Spring to simplify data access (with JDBC, Hibernate, and JPA) and manage transactions programmatically and declaratively. * Building web applications and portlets with Spring Web MVC and Portlet MVC, and integrating Spring with Struts, JSF, and DWR. * Understanding the unit testing and integration testing concepts, and Spring’s unit and integration testing support (on JUnit 3.8, JUnit 4, and TestNG). * Using Spring’s support for remoting technologies (RMI, Hessian, Burlap, and HTTP Invoker), EJB, JMS, JMX, E-mail, scheduling, and scripting languages. * Understanding security concepts (authentication, authorization, and access control), and securing web applications using Spring Security. * Managing complex web application page flows using Spring Web Flow, and integrating Spring Web Flow with JSF. * Exposing contract–last web services using XFire, and developing contract–first web services using Spring Web Services. ## Who is this book for? This book is for Java developers who would like to gain hands–on experience rapidly on Java/Java EE development using the Spring framework. If you are already a developer using Spring in your projects, you can also use this book as a reference, and you’ll find the code examples very useful. You don’t need much Java EE experience to read this book. However, it assumes that you know the basics of object–oriented programming with Java (e.g., creating a class/interface, implementing an interface, extending a base class, running a main class, setting up your classpath, and so on). It also assumes you have basic knowledge on web and database concepts and know how to create dynamic web pages and query databases with SQL statements.

the Spring Framework Is The De-facto Leading Open Source Agile Enterprise Java Meta-framework And Serves As An Alternative To Using J2ee/java Ee. With The Release Of Spring Framework 2 .5 By Enterprise Java Luminary Rod Johnson And The Springframework.org Project (with Support From Interface21), Spring Continues Its Phenomenal Growth In Adoption.

and Spring Is Now Easier Than Ever To Learn. It’s Even Lighter And More Agile. It Promises Fewer Issues With Xml And Much More. Includes Greater Adoption And Incorporation Of Rails Web Applications As Well For Those That Need To Integrate Rails Applications As Part Of Broader Java/spring Stack. And Much More…

spring Framework 2.5 Recipes By Gary Mak Is The Newest, Latest Spring Book From Apress And Its Spring From The Source Series. This Book Lets Readers Get Down And Dirty With Spring Code For Immediate Copy/paste Into The Reader’s Specific Application Development Project.

Focusing on the latest available Spring 2.5 fundamentals that are required for building a three-tier Java EE application with Web interface and database persistence, this title introduces topics through complete and real-world examples that readers can follow step by step

قیمت نهایی

۴۴٬۰۰۰ تومان