SlideShare uma empresa Scribd logo
1 de 16
Spring In Practice
Mr. Saroop Lakkaraju
Introduction
Dependency Injection container
Data Persistence ,ORM and Transactions
Building web applications with Spring Web MVC
Basic web forms
Enhancing Spring MVC applications with Web Flow
Authenticating users
Authorizing user requests
Communicating with users and customers
Creating a rich text comment engine
Integration testing
Building a configuration management database
Building an article delivery engine
Enterprise integration
Creating a Spring based “site-up” frame work
Dependency Injection container
• This chapter covers Major functional areas of the Spring Framework
• Flexible configuration using dependency injection
• Types of dependency injection
• Wiring beans using XML
• Auto wiring and component scanning using annotations
• A high level block diagram illustrating Spring's six basic fictional areas
Data persistence,ORM and
transactions
• Understanding Spring JDBC data-persistence templates
• Exploiting ORM using Hibernate and JPA
• Learning how transactions manage database concurrency
• The layered involved when implementing a typical java based persistence
architecture
Building web application with Spring
MVC
• Creating your first Spring Web MVC application
• Serving and processing forms
• Configuring Spring Web MVC
• Spring Mobile technology preview
• Conceptual view of control flow in Spring web MVC
Basic web forms
• Building a web form
• Externalizing strings in a view
• Validating and saving form data
Enhancing Spring MVC applications
with web flow
• An introduction to Spring Web Flow
• Building a Spring soccer demo application
• Using action classes
• Working with form data-binding and validation
• Understanding flow and state inheritance
• Securing web flows
Authenticating Users
• Implementing user authentication with Spring Security
• Customizing a login page via Hibernate
• Using password hashing ,salting,and auto authentication
Authorizing user requests
• Implementing authorization using spring security
• Using authentication levels,roles and permissions
• Establishing access control list
Communicating with users and
customers
• Creating customer feedback forms with email response
• Scheduling asynchronous background email tasks
• Enabling secure mailing list subscriptions
• Publishing RSS news feeds
Creating a rich-text comment engine
• Enabling user comments
• Supporting article delivery
• Including rich-text editing
Integration testing
• Maven configuration for Spring Integration testing
• Writing transactional happy-path tests
• Creating exception and performance tests
Building a configuration management
database
• Creating a configuration database using Spring Data Neo4j
• Enabling REST web services using JSON and XML
• Invoking web services using the Maven deployment plug-in
• Accessing Git Hub using Spring Social and OAuth 2 authorization
• Using Spring security to encrypt Git Hub access tokens
Building an article delivery engine
• Building an article repository
• Enabling web upload and article display
• Using a MongoDB data base
Enterprise integration
• Shared database integration using Spring Data JPA
• Integrating web services with Spring Data REST
• Messaging via Spring Integration with RabbitMQ and Java Mail
Creating a Spring-based “site-up”
framework
• Creating a circuit-breaker template
• Managing the circuit breaker through JMX
• Enabling Interceptors and supporting AOP configuration
• Establishing a custom name space
• Supporting annotation configuration

Mais conteúdo relacionado

Mais procurados

SharePoint Saturday The Conference DC - How the bcs saved my marriage
SharePoint Saturday The Conference DC - How the bcs saved my marriageSharePoint Saturday The Conference DC - How the bcs saved my marriage
SharePoint Saturday The Conference DC - How the bcs saved my marriage
Liam Cleary [MVP]
 
SharePoint Saturday The Conference DC - How the client object model saved the...
SharePoint Saturday The Conference DC - How the client object model saved the...SharePoint Saturday The Conference DC - How the client object model saved the...
SharePoint Saturday The Conference DC - How the client object model saved the...
Liam Cleary [MVP]
 
SoCal Code Camp 2011 - ASP.NET 4.5
SoCal Code Camp 2011 - ASP.NET 4.5SoCal Code Camp 2011 - ASP.NET 4.5
SoCal Code Camp 2011 - ASP.NET 4.5
Jon Galloway
 
NServiceBus introduction
NServiceBus introductionNServiceBus introduction
NServiceBus introduction
Boris Tveritnev
 

Mais procurados (20)

Python wsgi protocol
Python wsgi protocolPython wsgi protocol
Python wsgi protocol
 
SharePoint Saturday The Conference DC - How the bcs saved my marriage
SharePoint Saturday The Conference DC - How the bcs saved my marriageSharePoint Saturday The Conference DC - How the bcs saved my marriage
SharePoint Saturday The Conference DC - How the bcs saved my marriage
 
Building real-time-collaborative-web-applications
Building real-time-collaborative-web-applicationsBuilding real-time-collaborative-web-applications
Building real-time-collaborative-web-applications
 
SharePoint Saturday The Conference DC - How the client object model saved the...
SharePoint Saturday The Conference DC - How the client object model saved the...SharePoint Saturday The Conference DC - How the client object model saved the...
SharePoint Saturday The Conference DC - How the client object model saved the...
 
What's New in Rails 5
What's New in Rails 5What's New in Rails 5
What's New in Rails 5
 
Mvc
MvcMvc
Mvc
 
Single page applications with backbone js
Single page applications with backbone jsSingle page applications with backbone js
Single page applications with backbone js
 
Asp.net mvc basic introduction
Asp.net mvc basic introductionAsp.net mvc basic introduction
Asp.net mvc basic introduction
 
Using the Cascade Server Web Service API, by Artur Tomusiak
Using the Cascade Server Web Service API, by Artur TomusiakUsing the Cascade Server Web Service API, by Artur Tomusiak
Using the Cascade Server Web Service API, by Artur Tomusiak
 
Introduction to ASP.NET MVC 1.0
Introduction to ASP.NET MVC 1.0Introduction to ASP.NET MVC 1.0
Introduction to ASP.NET MVC 1.0
 
Mastering react with redux
Mastering react with reduxMastering react with redux
Mastering react with redux
 
Kentico and MVC
Kentico and MVCKentico and MVC
Kentico and MVC
 
Basic method for Java EE Web Profile
Basic method for Java EE Web ProfileBasic method for Java EE Web Profile
Basic method for Java EE Web Profile
 
Sitecore MVC: What it is and why it's important
Sitecore MVC: What it is and why it's importantSitecore MVC: What it is and why it's important
Sitecore MVC: What it is and why it's important
 
Why Upgrade to v8.6?
Why Upgrade to v8.6?Why Upgrade to v8.6?
Why Upgrade to v8.6?
 
SoCal Code Camp 2011 - ASP.NET 4.5
SoCal Code Camp 2011 - ASP.NET 4.5SoCal Code Camp 2011 - ASP.NET 4.5
SoCal Code Camp 2011 - ASP.NET 4.5
 
Using MVC with Kentico 8
Using MVC with Kentico 8Using MVC with Kentico 8
Using MVC with Kentico 8
 
NServiceBus introduction
NServiceBus introductionNServiceBus introduction
NServiceBus introduction
 
What's new in Ektron v8.6 for Developers
What's new in Ektron v8.6 for DevelopersWhat's new in Ektron v8.6 for Developers
What's new in Ektron v8.6 for Developers
 
MongoDB Security Features
MongoDB Security FeaturesMongoDB Security Features
MongoDB Security Features
 

Semelhante a Spring In Practice

From server generated pages to client app in a micro-services world
From server generated pages to client app in a micro-services worldFrom server generated pages to client app in a micro-services world
From server generated pages to client app in a micro-services world
Assaf Gannon
 
Weblogic server administration
Weblogic server administrationWeblogic server administration
Weblogic server administration
Amit Sharma
 
Introduction to ASP.Net MVC
Introduction to ASP.Net MVCIntroduction to ASP.Net MVC
Introduction to ASP.Net MVC
Sagar Kamate
 
Cert05 70-487 - developing microsoft azure and web services
Cert05   70-487 - developing microsoft azure and web servicesCert05   70-487 - developing microsoft azure and web services
Cert05 70-487 - developing microsoft azure and web services
DotNetCampus
 

Semelhante a Spring In Practice (20)

Mvc4
Mvc4Mvc4
Mvc4
 
From server generated pages to client app in a micro-services world
From server generated pages to client app in a micro-services worldFrom server generated pages to client app in a micro-services world
From server generated pages to client app in a micro-services world
 
Sharepoint 2010 content
Sharepoint 2010 contentSharepoint 2010 content
Sharepoint 2010 content
 
Mastering asp.net mvc - Dot Net Tricks
Mastering asp.net mvc - Dot Net TricksMastering asp.net mvc - Dot Net Tricks
Mastering asp.net mvc - Dot Net Tricks
 
Weblogic server administration
Weblogic server administrationWeblogic server administration
Weblogic server administration
 
Weblogic server administration
Weblogic server administrationWeblogic server administration
Weblogic server administration
 
Mvc fundamental
Mvc fundamentalMvc fundamental
Mvc fundamental
 
Improving Perceived Page Performance with ASP.NET Web API and AJAX
Improving Perceived Page Performance with ASP.NET Web API and AJAXImproving Perceived Page Performance with ASP.NET Web API and AJAX
Improving Perceived Page Performance with ASP.NET Web API and AJAX
 
Introduction to ASP.Net MVC
Introduction to ASP.Net MVCIntroduction to ASP.Net MVC
Introduction to ASP.Net MVC
 
Html5 css3 Online Training
Html5 css3 Online Training Html5 css3 Online Training
Html5 css3 Online Training
 
Become a Full Stack Web Developer (.NET) - Thisiswali
Become a Full Stack Web Developer (.NET) - ThisiswaliBecome a Full Stack Web Developer (.NET) - Thisiswali
Become a Full Stack Web Developer (.NET) - Thisiswali
 
Asp.net
Asp.netAsp.net
Asp.net
 
Cert05 70-487 - developing microsoft azure and web services
Cert05   70-487 - developing microsoft azure and web servicesCert05   70-487 - developing microsoft azure and web services
Cert05 70-487 - developing microsoft azure and web services
 
Give your web apps some backbone
Give your web apps some backboneGive your web apps some backbone
Give your web apps some backbone
 
Santosh_Resume_Java
Santosh_Resume_JavaSantosh_Resume_Java
Santosh_Resume_Java
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVC Introduction to ASP.NET MVC
Introduction to ASP.NET MVC
 
Portal and Intranets
Portal and Intranets Portal and Intranets
Portal and Intranets
 
A project on spring framework by rohit malav
A project on spring framework by rohit malavA project on spring framework by rohit malav
A project on spring framework by rohit malav
 
Introduction to Srb4j
Introduction to Srb4jIntroduction to Srb4j
Introduction to Srb4j
 
Software development
Software developmentSoftware development
Software development
 

Último

Último (20)

Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 

Spring In Practice

  • 1. Spring In Practice Mr. Saroop Lakkaraju
  • 2. Introduction Dependency Injection container Data Persistence ,ORM and Transactions Building web applications with Spring Web MVC Basic web forms Enhancing Spring MVC applications with Web Flow Authenticating users Authorizing user requests Communicating with users and customers Creating a rich text comment engine Integration testing Building a configuration management database Building an article delivery engine Enterprise integration Creating a Spring based “site-up” frame work
  • 3. Dependency Injection container • This chapter covers Major functional areas of the Spring Framework • Flexible configuration using dependency injection • Types of dependency injection • Wiring beans using XML • Auto wiring and component scanning using annotations • A high level block diagram illustrating Spring's six basic fictional areas
  • 4. Data persistence,ORM and transactions • Understanding Spring JDBC data-persistence templates • Exploiting ORM using Hibernate and JPA • Learning how transactions manage database concurrency • The layered involved when implementing a typical java based persistence architecture
  • 5. Building web application with Spring MVC • Creating your first Spring Web MVC application • Serving and processing forms • Configuring Spring Web MVC • Spring Mobile technology preview • Conceptual view of control flow in Spring web MVC
  • 6. Basic web forms • Building a web form • Externalizing strings in a view • Validating and saving form data
  • 7. Enhancing Spring MVC applications with web flow • An introduction to Spring Web Flow • Building a Spring soccer demo application • Using action classes • Working with form data-binding and validation • Understanding flow and state inheritance • Securing web flows
  • 8. Authenticating Users • Implementing user authentication with Spring Security • Customizing a login page via Hibernate • Using password hashing ,salting,and auto authentication
  • 9. Authorizing user requests • Implementing authorization using spring security • Using authentication levels,roles and permissions • Establishing access control list
  • 10. Communicating with users and customers • Creating customer feedback forms with email response • Scheduling asynchronous background email tasks • Enabling secure mailing list subscriptions • Publishing RSS news feeds
  • 11. Creating a rich-text comment engine • Enabling user comments • Supporting article delivery • Including rich-text editing
  • 12. Integration testing • Maven configuration for Spring Integration testing • Writing transactional happy-path tests • Creating exception and performance tests
  • 13. Building a configuration management database • Creating a configuration database using Spring Data Neo4j • Enabling REST web services using JSON and XML • Invoking web services using the Maven deployment plug-in • Accessing Git Hub using Spring Social and OAuth 2 authorization • Using Spring security to encrypt Git Hub access tokens
  • 14. Building an article delivery engine • Building an article repository • Enabling web upload and article display • Using a MongoDB data base
  • 15. Enterprise integration • Shared database integration using Spring Data JPA • Integrating web services with Spring Data REST • Messaging via Spring Integration with RabbitMQ and Java Mail
  • 16. Creating a Spring-based “site-up” framework • Creating a circuit-breaker template • Managing the circuit breaker through JMX • Enabling Interceptors and supporting AOP configuration • Establishing a custom name space • Supporting annotation configuration