eBook - ePub
Spring Cookbook
Jerome Jaglale
This is a test
Partager le livre
- 234 pages
- English
- ePUB (adapté aux mobiles)
- Disponible sur iOS et Android
eBook - ePub
Spring Cookbook
Jerome Jaglale
DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations
Foire aux questions
Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier lâabonnement ». Câest aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via lâapplication. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă la bibliothĂšque et Ă toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode dâabonnement : avec lâabonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă 12 mois dâabonnement mensuel.
Quâest-ce que Perlego ?
Nous sommes un service dâabonnement Ă des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă toute une bibliothĂšque pour un prix infĂ©rieur Ă celui dâun seul livre par mois. Avec plus dâun million de livres sur plus de 1 000 sujets, nous avons ce quâil vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Ăcouter sur votre prochain livre pour voir si vous pouvez lâĂ©couter. Lâoutil Ăcouter lit le texte Ă haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, lâaccĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Spring Cookbook est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă Spring Cookbook par Jerome Jaglale en format PDF et/ou ePUB ainsi quâĂ dâautres livres populaires dans Informatica et Programmazione in Java. Nous disposons de plus dâun million dâouvrages Ă dĂ©couvrir dans notre catalogue.
Informations
Sujet
InformaticaSous-sujet
Programmazione in JavaSpring Cookbook
Table of Contents
Spring Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Creating a Spring Application
Introduction
Installing Java, Maven, Tomcat, and Eclipse on Mac OS
How to do itâŠ
Installing Java
Installing Maven
Installing Tomcat
Installing Eclipse
There's moreâŠ
Installing Java, Maven, Tomcat, and Eclipse on Ubuntu
How to do itâŠ
Installing Java
Installing Maven
Installing Tomcat
Installing Eclipse
There's moreâŠ
Installing Java, Maven, Tomcat, and Eclipse on Windows
How to do itâŠ
Installing Java
Installing Maven
Installing Tomcat
Installing Eclipse
Creating a Spring web application
How to do itâŠ
Creating a new Maven project in Eclipse
Adding Spring to the project using Maven
Creating the configuration classes for Spring
Creating a "Hello World" web page
How it worksâŠ
Creating a new Maven project in Eclipse
Adding Spring to the project using Maven
Creating the configuration classes for Spring
Creating a "Hello World" web page
Running a Spring web application
How to do itâŠ
How it worksâŠ
There's moreâŠ
Using Spring in a standard Java application
How to do itâŠ
Creating a new Maven project in Eclipse
Adding Spring to the project using Maven
Creating a configuration class for Spring
Creating the User class
Defining a User singleton in the Spring configuration class
Using the User singleton in the main() method
How it works...
2. Defining Beans and Using Dependency Injection
Introduction
Defining a bean explicitly with @Bean
How to do itâŠ
How it worksâŠ
There's moreâŠ
Defining a bean implicitly with @Component
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Using a bean via dependency injection with @Autowired
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Using a bean directly
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Listing all beans
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Using multiple configuration classes
Getting ready
How to do itâŠ
There's moreâŠ
3. Using Controllers and Views
Introduction
Associating a route to a controller method
How to do itâŠ
How it worksâŠ
Using a JSP view
How to do itâŠ
How it worksâŠ
There's moreâŠ
Passing attributes from a controller to a JSP view
How to do itâŠ
How it worksâŠ
Using dynamic route parameters in a controller method
How to do itâŠ
How it worksâŠ
Using a common prefix for the routes of a controller
How to do itâŠ
How it worksâŠ
Using a page template with Tiles
How to do itâŠ
How it worksâŠ
There's moreâŠ
Organizing the JSP with subfolders
Using multiple page templates
Defining page titles only once using a text attribute
Executing some code before and after controllers using interceptors
How to do itâŠ
How it worksâŠ
There's moreâŠ
Building multilingual pages
How to do itâŠ
How it worksâŠ
There's moreâŠ
Getting the current language
Using the language in the URL
4. Querying a Database
Introduction
Connecting to a database
Getting ready
How to do itâŠ
How it worksâŠ
Creating a DAO class
How to do itâŠ
How it worksâŠ
Calling a DAO method from a controller class
Getting ready
How to do itâŠ
How it worksâŠ
Saving an object
Getting ready
How to do itâŠ
How it worksâŠ
Retrieving an object
How to do itâŠ
How it worksâŠ
There's moreâŠ
Retrieving a list of objects
How to do itâŠ
How it worksâŠ
Retrieving a list of objects with their dependencies
Getting ready
How to do itâŠ
How it worksâŠ
Updating an object
How to do itâŠ
There's moreâŠ
Deleting an object
How to do itâŠ
Finding the number of results for an SQL query
How to do itâŠ
Saving a list of objects at once
How to do itâŠ
How it worksâŠ
Reverting incomplete database modifications using transactions
How to do itâŠ
How it worksâŠ
Using Hibernate for powerful object persistence and querying
Getting ready
How to do itâŠ
5. Using Forms
Introduction
Displaying...