Spring Cookbook
eBook - ePub

Spring Cookbook

Jerome Jaglale

Partager le livre
  1. 234 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. 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

Année
2015
ISBN
9781783985807

Spring 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...

Table des matiĂšres