Home > General > Beginning Spring
29%
Beginning Spring

Beginning Spring

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Beginning Spring provides Java developers with a thorough introduction to the popular Spring Framework, the most popular choice for Java application development. After covering all the basics, the book leads the most important concepts of doing enterprise application development. The book includes:
• The Latest version Spring, the 4.0: covers the latest features coming with Spring version 4.0, which contains support for Java 8.0 and Java EE 7.
• The Dependency Injection and Inversion of Control with Spring: covers the core idea the POJO programming model that blazed a trail in the enterprise application development world.
• Aspect Oriented Programming and Transaction Management: covers the cross cutting concerns that every enterprise application needs like transaction management.
• Building web applications using Spring MVC: show how to meet your customers' demands with Spring MVC.
• RESTful Web Services in Spring: covers how to produce REST based services from Spring beans and ways to consume it within UI by giving a sample with PrimeUI framework.

The ideal reader for this book is the enterprise application developer who wants to learn Spring Framework features with its latest version that covers most used and important concepts of an enterprise application

About the Author

Mert Çaliskan is a freelance Principal Architect. He has over 10 years of expertise in Software Development and he has mainly worked on architectural design of Enterprise Web Applications with specialty in Java. He is also an open source advocate for software projects such as PrimeFaces, and has also been a committer and founder to various others. He is the author of PrimeFaces Cookbook published in January 2013. He shares his knowledge and ideas at local and international conferences such as JavaOne, JSFDays and JDC. He is a member of OpenLogic Expert Community and Apache Software Foundation. Kenan Sevindik has 14 years of Java development experience. He is Sun certified J2EE Business and Web Component Developer, and Java programmer. He has extensive experience in developing enterprise Java applications using Spring Application Framework, JPA/Hibernate Persistence Framework, Acegi(Spring) Security Framework, Spring WebFlow, and Java Server Faces. He has given seminars about in container testing with Cactus, Spring(Acegi) Security Framework, Single sign on with CAS, software engineering practices, object oriented analysis, design, design principles, design patterns and general Java concepts.



Table of Contents:
FOREWORDS INTRODUCTION CHAPTER 1: POJO PROGRAMMING MODEL, LIGHTWEIGHT CONTAINERS, AND INVERSION OF CONTROL POJO Programming Model Problems of the Old EJB Programming Model Benefits of the POJO Programming Model Lightweight Containers and Inversion of Control (IoC) Lightweight Containers Inversion of Control (IoC) Dependency Injection Setter Injection Constructor Injection Setter or Constructor Injection Summary CHAPTER 2: DEPENDENCY INJECTION WITH SPRING Spring IoC Container Configuration Metadata Configuring and Using the Container Dependency Injection Setter Injection Constructor Injection Circular Dependencies Dependency Resolution Process Overriding Bean Definitions Using the depends]on Attribute Autowiring Bean Lookups Spring]Managed Beans Naming Beans Bean Instantiation Methods Bean Scopes Lazy Initialization Life-Cycle Callbacks Bean Definition Profiles Environment Summary CHAPTER 3: BUILDING WEB APPLICATIONS USING SPRING MVC Learning the Features and Benefits of Spring MVC Using the Dispatcher Servlet Mechanism Defining the Servlet Accessing Servlet Context Creating Your First Spring MVC Application Configuring Spring MVC with Annotations Handling Forms with JSP Configuring the Form Tag Library Understanding the Power of Binding Working with Forms Using Input Elements Entering Dates Selecting from a Drop]Down Selecting with Radio Buttons Selecting with Checkboxes Adding Labels Placing Buttons Styling Exploiting the Power of Annotations @Controller @RequestMapping @ModelAttribute @PathVariable @ControllerAdvice @InitBinder @ExceptionHandler Validating User Input Uploading Files Handling Exceptions Implementing Internationalization (i18n) Using Themes Summary CHAPTER 4: JDBC DATA ACCESS WITH SPRING Problems with Using Vanilla JDBC Introducing Spring's JDBC Support Managing JDBC Connections Embedded DB Support Using a Connection]Pooled DataSource Initializing DB Configuring and Using Spring's JDBC Support Performing Data Access Operations with Spring Running Queries Queries with Named Parameters Writing Queries Using the IN Clause Using PreparedStatements within JdbcTemplate Inserting, Updating, and Deleting Records Calling Stored Procedures and Stored Functions Performing Batch Operations Handling BLOB and CLOB Objects Accessing Vendor]Specific JDBC Methods Executing DDL Operations Modeling JDBC Operations as Java Objects Encapsulating SQL Query Executions Encapsulating SQL DML Operations Encapsulating Stored Procedure Executions Exception Handling and Error Code Translation Common Data Access Exception Hierarchy Automatic Handling and Translation of SQLException Summary CHAPTER 5: DATA ACCESS WITH JPA USING SPRING Brief Introduction to ORM and JPA Paradigm Mismatch Building Blocks of an ORM Framework What JPA Offers Mapping the Object Model to the Relational Model Defining Entities Mapping Attributes to Columns Creating Associations between Objects Mapping Java Types to SQL Types Configuring and Using JPA Performing CRUD Operations on Objects Querying with Object Query Language Spring's JPA Support Setting Up JPA in Spring Container Implementing DAOs Based on Plain JPA Handling and Translating Exceptions Further JPA Configuration in Spring Environment JpaDialect JpaVendorAdapter JPA and Load Time Weaving Dealing with Multiple Persistence Units Summary CHAPTER 6: MANAGING TRANSACTIONS WITH SPRING Understanding Transaction Management Spring's Transaction Abstraction Model Local versus Global Transactions PlatformTransactionManager Implementations Advantages of Spring's Abstract Transaction Model Declarative Transaction Management with Spring Isolating the Service Layer from Data Access Technology Details Customizing Default Transactional Behavior Using @Transactional on the Class Level Understanding Transaction Propagation Rules Propagation REQUIRED Propagation REQUIRES_NEW Propagation NESTED Propagation SUPPORTS Propagation NOT_SUPPORTED Propagation NEVER Propagation MANDATORY Using for Declarative Transaction Management Programmatic Transaction Management with Spring Using the PlatformTransactionManager Approach Executing Custom Logic Before or After Transactions Advising Transactional Operations Executing Logic after Transactions Using TransactionSynchronization Summary CHAPTER 7: TEST]DRIVEN DEVELOPMENT WITH SPRING Configuring and Caching ApplicationContext Using XML] and Java]Based Context Configuration in Tests Confi guring Context with ApplicationContextInitializer Inheriting Context Configuration ApplicationContext Caching Injecting Dependencies of Test Fixtures Using Transaction Management in Tests Testing Web Applications Context Hierarchies in Tests Testing Request] and Session]Scoped Beans Testing Spring MVC Projects Testing Controllers Testing Form Submit Testing Exception Handlers Printing Mock Request and Response Using Mock Objects and Other Utilities for Testing Spring Provided Mock Objects for Testing Other Utilities and Test Annotations Summary CHAPTER 8: ASPECT]ORIENTED PROGRAMMING WITH SPRING Getting Started with AOP with Spring Becoming Familiar with Types of Advices Before After Returning After Throwing After (Finally) Around Defining Point]Cut Designators The Type Signature Expressions The Method Signature Expressions Other Alternative Point]Cut Designators Wildcards Capitalizing on the Power of Annotations @Before @Pointcut @After @AfterReturning @AfterThrowing @Aspect @Around @DeclareParents Blending AspectJ with Spring Configuring Spring AOP with Annotations Summary CHAPTER 9: SPRING EXPRESSION LANGUAGE Configuring Applications with SpEL Creating a Parser Invoking Methods Calling Constructors Calling Static Methods Working with Variables and Functions #root #this Accessing System Properties and Environment Inline Lists Registering Functions Understanding SpEL Operators Relational Operators Arithmetic Operators Logical Operators Conditional Operators Regular Expression Operator Safe Navigation Operator Collection Selection and Projection Selecting the First and Last Element of a Collection Using Utilities in SpEL Accessing Spring Beans Expressions in Caching Summary CHAPTER 10: CACHING Building Your First Caching Application Configuring the Cache Manager with a Different Name Configuring the Caching Abstraction with Annotations Working with Cache Annotations @Cacheable Key Generator Conditional Caching @CacheEvict @CachePut @Caching Implementing Cache Managers SimpleCacheManager NoOpCacheManager 2 ConcurrentMapCacheManager CompositeCacheManager Casting Your SpEL on Caches Initializing Your Caches Programmatically Finding Alternative Cache Providers Ehcache Guava Hazelcast Summary CHAPTER 11: RESTFUL WEB SERVICES WITH SPRING Creating Your First REST Web Service Returning Different HTTP Status Codes from REST Web Service Learning an Annotation]Based Configuration Alternative Using REST Web Services with XML Using the Exception Handling Mechanism Unit Testing RESTful Services Summary CHAPTER 12: SECURING WEB APPLICATIONS WITH SPRING SECURITY Why Spring Security? Features of Spring Security Configuring and Using Spring Security Understanding the Fundamental Building Blocks of Spring Security Authenticating Users Unsuccessful Login Flow Successful Login Flow Anonymous Authentication Customizing the Login Page Logout Process Accessing UserDetails Using JDBC Encrypting Passwords Remember]Me Support User Session Management Basic Authentication Authorizing Web Requests and Service Method Calls Authorizing Web Requests How Does Authorization Work? Expression]Based Authorization Using JSP Security Tags Authorize Tag Authenticate Tag Authorizing Service Methods Summary CHAPTER 13: NEXT STOP: SPRING 4.0 Keeping Up with the Latest: Java 8 and Java EE7 Support Lambda Expressions Method References Bean Validation Integration JSR 310: Date Time Value Type Support Configuring Injection with Conditional Dependency Ordering the Elements of Autowired Collections Repeating Annotations Introducing New Annotations Documenting with @Description Using the @RestController Annotation Summary APPENDIX: SOLUTIONS TO EXERCISES INDEX


Best Sellers



Product Details
  • ISBN-13: 9788126554881
  • Publisher: Wiley India Pvt Ltd
  • Binding: Paperback
  • No of Pages: 480
  • ISBN-10: 8126554886
  • Publisher Date: April, 2015
  • Language: English

Related Categories

Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Beginning Spring
Wiley India Pvt Ltd -
Beginning Spring
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Beginning Spring

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals



    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!