Index
A
- @Autowired
- bean, using / Using a bean via dependency injection with @Autowired
- advices
- about / Introduction
- after-returning advice
- used, for logging methods return values / Logging methods' return values using an after-returning advice, How it works…
- after-throwing advice
- used, for logging exceptions / Logging exceptions using an after-throwing advice, How to do it…
- after advice
- used, for cleaning up resources / Using an after advice to clean up resources, How it works…
- annotations
- used, for validating form / Validating a form using annotations, How to do it…, How it works…
- AOP
- about / Introduction
- API key / Creating a Twitter application
- API secret / Creating a Twitter application
- AppConfig configuration class
- App ID / Creating a Facebook app
- application context, Springs
- used, for unit testing with JUnit 4 / Unit testing with JUnit 4 using Spring's application context, How to do it…, There's more…
- used, for unit testing with TestNG 6 / Unit testing with TestNG 6 using Spring's application context, How it works…
- App secret / Creating a Facebook app
- arguments, methods
- logging, before advice used / Getting ready, How to do it…
- around advice
- used, for measuring execution time of methods / Measuring the execution time of methods using an around advice, How to do it…, How it works…
- AspectJ
- about / Introduction
- aspects
- about / Introduction
- execution order, setting / Setting the execution order of the aspects, How to do it…
- attributes
- passing from controller method, to JSP view / How to do it…, How it works…
- authenticated users
- page elements, displaying / Displaying page elements only to authenticated users in views
B
- @Bean
- bean, defining / Defining a bean explicitly with @Bean
- batch job
- about / Introduction
- bean
- about / Introduction
- using / Introduction
- defining, explicitly with @Bean / Defining a bean explicitly with @Bean
- name, customizing / There's more…
- defining, implicitly with @Component / Defining a bean implicitly with @Component, How it works…
- initialization / There's more…
- reference link / There's more…
- using, via dependency injection / Using a bean via dependency injection with @Autowired
- name, setting / There's more…
- using, directly / Using a bean directly
- listing / Listing all beans, How it works…
- retrieving / There's more…
- before advice
- used, for logging method arguments / Getting ready, How to do it…
C
- @Component
- bean, defining / Defining a bean implicitly with @Component, How it works…
- checkbox
- using / Using a checkbox
- class
- interface implementing, with introduction / Making a class implement an interface at runtime using an introduction, How to do it…, How it works…
- command line
- job, executing from / Executing a job from the command line, There's more…
- common prefix
- using, for routes / Using a common prefix for the routes of a controller
- constraint annotations
- @NotNull / There's more…
- @Valid / There's more…
- @NotBlank / There's more…
- @NotEmpty / There's more…
- reference link / There's more…
- controller class
- DAO method, calling / Getting ready
- controller method
- route, associating / Associating a route to a controller method, How it works…
- attributes passing, to JSP view / How to do it…, How it works…
- dynamic route parameters, using / Using dynamic route parameters in a controller method
- common prefix, using for routes / Using a common prefix for the routes of a controller
- argument used, for retrieving submitted form value / How to do it…
- job, executing from / Executing a job from a controller method, How it works…
- controller methods
- unit testing / Unit testing controller methods, How to do it…, There's more…
- execution time measuring, around advice used / Measuring the execution time of methods using an around advice, How to do it…, How it works…
- controllers
- code executing, interceptors used / Executing some code before and after controllers using interceptors, How to do it…
- CSV file
- generating / Generating a CSV file, How to do it…, How it works…
- custom login page
- used, for authenticating users / Authenticating users using a custom login page, How to do it…, How it works…
D
- DAO class
- creating / How it works…
- DAO method
- calling, from controller class / Getting ready
- object, saving / Saving an object, Getting ready
- object, retrieving / How it works…
- list of objects, retrieving / Retrieving a list of objects, How it works…
- list of objects, retrieving with their dependencies / Retrieving a list of objects with their dependencies, How to do it…, How it works…
- object, updating / Updating an object
- number of results, finding for SQL query / Finding the number of results for an SQL query
- list of objects, saving / Saving a list of objects at once, How it works…
- database
- reference link / Connecting to a database
- used, for authenticating users / How to do it…, How it works…
- reading from / Reading from a database, How it works…
- database connection
- performing / Getting ready, How to do it…
- default login page
- used, for authenticating users / Authenticating users using the default login page, How it works…
- dependencies
- simulating with mocks, Mockito used / Simulating dependencies with mocks using Mockito, There's more…
- dependency injection
- using / Introduction
- bean, using / Using a bean via dependency injection with @Autowired
- domain name
- using, on mobiles / Getting ready, How to do it…
- dynamic route parameters
- using, in controller method / Using dynamic route parameters in a controller method
E
- Eclipse
- about / Introduction
- installing, on Mac OS / Installing Eclipse
- URL / Installing Eclipse, Installing Eclipse, Installing Eclipse
- installing, on Ubuntu / Installing Eclipse
- installing, on Windows / Installing Eclipse
- exceptions
- logging, after-throwing advice used / Logging exceptions using an after-throwing advice, How to do it…
- Expression Language (EL)
- about / How it works…
- expressions, Spring
- URL / There's more…
F
- Facebook
- connecting to / Connecting to Facebook, Getting ready, How to do it…, How it works…
- user's profile, retrieving / Retrieving a Facebook user's profile, How it works…
- user's friends list, retrieving / Retrieving the list of friends of a Facebook user, How to do it…
- status update, posting / Posting a Facebook status update
- link, posting / Posting a link to Facebook, How to do it…
- custom object, posting / Posting a custom object to Facebook, How to do it…
- Facebook app
- creating / Creating a Facebook app, How to do it…
- Facebook developer
- URL / How to do it…, How to do it…
- URL, for permissions / There's more…, How it works…
- file
- uploading / Uploading a file, How to do it…, There's more…
- form
- displaying / Displaying and processing a form, How to do it…, See also
- processing / Displaying and processing a form, How to do it…, See also
- default values, setting with model object / How to do it…, How it works…
- data, saving in object / Saving form data in an object automatically, There's more…
- validating, annotations used / Validating a form using annotations, How to do it…, How it works…
- FreeMarker
- about / There's more…
H
- Hessian
- about / Creating a Hessian service
- Hessian service
- creating / Creating a Hessian service, How to do it…
- querying / Getting ready, How to do it…
- Hibernate
- about / Introduction
- used, for object persistence / Using Hibernate for powerful object persistence and querying, How to do it…
- used, for querying / Using Hibernate for powerful object persistence and querying, How to do it…
- hidden fields
- HTTP Invoker
- about / Creating an HTTP Invoker service
- HTTP Invoker service
- creating / Creating an HTTP Invoker service, How to do it…, How it works…
- querying / Querying an existing HTTP Invoker service, How to do it…
- HTTPS
- about / Introduction
- using, with Tomcat / Using HTTPS with Tomcat, How to do it…, There's more…
I
- incomplete database modifications
- reverting, transactions used / Reverting incomplete database modifications using transactions, How it works…
- interceptors
- used, for executing code / Executing some code before and after controllers using interceptors, How to do it…
- introduction
- used, for interface implementation in class / Making a class implement an interface at runtime using an introduction, How to do it…, How it works…
J
- Java
- about / Introduction
- installing, on Mac OS / How to do it…, Installing Java
- reference link, for downloading / Installing Java, Installing Java
- installing, on Ubuntu / Installing Java
- installing, on Windows / Installing Java, Maven, Tomcat, and Eclipse on Windows, Installing Java
- Java Persistence API (JPA)
- URL / Getting ready
- Java RMI
- about / Creating a Java RMI service
- Java RMI service
- creating / Creating a Java RMI service, Getting ready, How to do it…
- querying / Getting ready, How to do it…, How it works…
- JDBC
- about / Introduction
- job
- creating / Creating a job, How to do it…, How it works…
- executing, from command line / Executing a job from the command line, There's more…
- executing, from controller method / Executing a job from a controller method, How to do it…
- scheduling / Scheduling a job, How to do it…, There's more…
- Job Execution
- about / Introduction
- Job Instance
- about / Introduction
- job parameters
- using / Using job parameters, How it works…
- join point
- about / How it works…
- JSON
- about / Creating a REST service
- JSP
- reference link / There's more…
- organizing, with subfolders / Organizing the JSP with subfolders
- JSP view
- using / How to do it…, How it works…, There's more…
- attributes passing, from controller method / How to do it…, How it works…
- JSP views, mobiles
- using / How to do it…
- JUnit
- about / Unit testing with JUnit 4
- method annotations / There's more…
- JUnit 4
- unit testing / Unit testing with JUnit 4, How to do it…, How it works…
- unit testing, Springs application context used / Unit testing with JUnit 4 using Spring's application context, How to do it…, There's more…
L
- List<Object>
- using / Using a List<Object> object
- List<String> object
- using / Using a List<String> object
- list of checkboxes
- list of objects
- retrieving / Retrieving a list of objects, How it works…
- retrieving, with their dependencies / Retrieving a list of objects with their dependencies, How to do it…, How it works…
- saving / Saving a list of objects at once, How it works…
- list of radio buttons
- logout link
- adding / Adding a logout link
M
- .mobi domain name
- using, on mobiles / Using a .mobi domain name on mobiles, How it works…
- m. subdomain
- using, on mobiles / Using an m. subdomain on mobiles, How it works…
- Mac OS
- Java, installing / Installing Java
- Maven, installing / Installing Maven
- Tomcat, installing / Installing Tomcat
- Eclipse, installing / Installing Eclipse
- Maven
- about / Introduction
- installing, on Mac OS / Installing Maven
- URL / Installing Maven, Installing Maven, Installing Maven
- installing, on Ubuntu / Installing Maven
- installing, on Windows / Installing Maven
- method annotations, JUnit
- @Test(expected=Exception.class) / There's more…
- @Before / There's more…
- @After / There's more…
- @BeforeClass / There's more…
- @AfterClass / There's more…
- @Test(timeout=1000) / There's more…
- method annotations, TestNG
- @Test(expectedExceptions=Exception.class) / There's more…
- @BeforeMethod / There's more…
- @AfterMethod / There's more…
- @BeforeClass / There's more…
- @AfterClass / There's more…
- @Test(invocationTimeOut=1000) / There's more…
- mobiles
- detecting / How to do it…, How it works…
- normal view, switching to / Switching to the normal view on mobiles, How to do it…, There's more…
- different JSP views, using automatically / How to do it…, How it works…
- .mobi domain name, using / Using a .mobi domain name on mobiles, How it works…
- m. subdomain, using / Using an m. subdomain on mobiles, How it works…
- different domain name, using / Getting ready, How to do it…
- subfolder path, using / Using a subfolder path on mobiles, How it works…
- Mockito
- used, for simulating dependencies with mocks / Simulating dependencies with mocks using Mockito, There's more…
- about / Simulating dependencies with mocks using Mockito
- URL / There's more…
- MockMvcRequestBuilders class
- URL / There's more…
- mocks
- model-view-controller (MVC)
- about / Introduction
- model object
- used, for setting form's default values / How to do it…, How it works…
- multilingual pages
- building / Building multilingual pages, How to do it…, There's more…
- current language, retrieving / Getting the current language
- language, using in URL / Using the language in the URL
- multiple configuration classes
- multiple page templates
- using / Using multiple page templates
N
- normal view, mobiles
- switching to / Switching to the normal view on mobiles, How to do it…, How it works…
O
- OAuth workflow / Connecting to Facebook
- object
- saving / Saving an object, Getting ready
- retrieving / How it works…
- updating / Updating an object
- deleting / Deleting an object
P
- page elements
- displaying, to authenticated users / Displaying page elements only to authenticated users in views
- page template
- using, with Tiles / Using a page template with Tiles, How to do it…, There's more…
- password
- Personal Package Archive (PPA)
- about / Installing Java
- public folders
- using / Using public folders
R
- read/process/write step
- resources
- cleaning up, after advice used / Using an after advice to clean up resources, How it works…
- REST API
- about / Creating a REST service
- REST service
- creating / Creating a REST service, Getting ready, How to do it…, How it works…
- querying / Querying an existing REST service, There's more…
- return values, methods
- logging, after-returning advice used / Getting ready, How it works…
- route
- associating, to controller method / Associating a route to a controller method, How it works…
- common prefix, using / Using a common prefix for the routes of a controller
S
- Secure Sockets Layer (SSL)
- about / Introduction
- select field
- using / Using a select field, How to do it…
- List<String> object, using / Using a List<String> object
- List<Object>, using / Using a List<Object> object
- Spring
- used, for building standard Java application / Using Spring in a standard Java application, Adding Spring to the project using Maven, Using the User singleton in the main() method, How it works...
- Spring AOP
- aspect class, creating / How to do it…, How it works…
- Spring Batch
- installing / Installing and configuring Spring Batch, How to do it…
- configuring / Installing and configuring Spring Batch, How to do it…
- URL / How to do it…
- Spring Mobile
- installing / Installing Spring Mobile
- Spring Security
- enabling / Enabling Spring Security, How it works…
- Spring web application
- creating / Creating a Spring web application
- Maven project, creating in Eclipse / Creating a new Maven project in Eclipse, Creating a new Maven project in Eclipse
- Spring, adding to project / Adding Spring to the project using Maven, Adding Spring to the project using Maven
- configuration classes, creating / Creating the configuration classes for Spring, Creating the configuration classes for Spring
- *Hello World* web page, creating / Creating a "Hello World" web page, Creating a "Hello World" web page
- running / How to do it…, How it works…
- SQL query
- number of results, finding / Finding the number of results for an SQL query
- standard Java application
- building, Spring used / Using Spring in a standard Java application, Adding Spring to the project using Maven, Defining a User singleton in the Spring configuration class, How it works...
- Maven project, creating in Eclipse / Creating a new Maven project in Eclipse
- Spring, adding to project / Adding Spring to the project using Maven
- configuration class, creating / Creating a configuration class for Spring
- User class, creating / Creating the User class
- User singleton, defining / Defining a User singleton in the Spring configuration class
- User singleton, using / Using the User singleton in the main() method
- Step Execution
- about / Introduction
- subfolder path
- using, on mobiles / Using a subfolder path on mobiles, How it works…
- submitted form value
- retrieving, controller method argument used / How to do it…
- system command
- executing / Executing a system command, How it works…
T
- tablets
- detecting / How to do it…, How it works…
- test Facebook app
- TestNG
- about / Unit testing with TestNG 6
- method annotations / There's more…
- references / There's more…
- TestNG 6
- unit testing / Unit testing with TestNG 6, How it works…, There's more…
- unit testing, Springs application context used / Unit testing with TestNG 6 using Spring's application context, How it works…
- test users
- text
- textarea
- Thymeleaf
- about / There's more…
- Tiles
- page template, using / Using a page template with Tiles, How to do it…, There's more…
- reference link / Defining page titles only once using a text attribute
- Tomcat
- about / Introduction
- installing, on Mac OS / Installing Tomcat
- URL / Installing Tomcat, Installing Tomcat, Installing Tomcat, There's more…
- executing, on Mac OS / There's more…
- installing, on Ubuntu / Installing Tomcat
- executing, on Ubuntu / There's more…
- installing, on Windows / Installing Tomcat
- HTTPS, using / Using HTTPS with Tomcat, How to do it…, There's more…
- tools, for Spring development
- Java / Introduction
- Maven / Introduction
- Tomcat / Introduction
- Eclipse / Introduction
- transactions
- used, for reverting incomplete database modifications / Reverting incomplete database modifications using transactions, How it works…
- used, for unit testing / Unit testing with transactions
- Twitter
- URL / How to do it…
- connecting to / Connecting to Twitter, How to do it…, How it works…
- user's profile, retrieving / Retrieving a user's Twitter profile
- Twitter application
- creating / Creating a Twitter application
- Twitter user
- tweets, retrieving / Retrieving the tweets of a Twitter user
- tweet, posting / Getting ready, How to do it…
- private message, sending / Sending a private message to another Twitter user
U
- Ubuntu
- Java, installing / Installing Java
- Maven, installing / Installing Maven
- Tomcat, installing / Installing Tomcat
- Eclipse, installing / Installing Eclipse
- unit testing
- with JUnit 4 / Unit testing with JUnit 4, How to do it…, How it works…
- URL, for naming convention / There's more…
- with TestNG 6 / Unit testing with TestNG 6, How it works…, There's more…
- with JUnit 4, Springs application context used / Unit testing with JUnit 4 using Spring's application context, How to do it…, There's more…
- with TestNG 6, Springs application context used / Unit testing with TestNG 6 using Spring's application context, How it works…
- with transactions / Unit testing with transactions
- of controller methods / Unit testing controller methods, How to do it…, There's more…
- unit testing batch jobs
- about / Unit testing batch jobs, How to do it…
- User-Agent header
- about / How it works…
- user authentication
- about / Introduction
- user authorization
- about / Introduction
- users
- authenticating, default login page used / Authenticating users using the default login page, How it works…
- authenticating, custom login page used / Authenticating users using a custom login page, How to do it…, How it works…
- authenticating, database used / Authenticating users using a database, How to do it…, How it works…
- authorizing, with specific role / Authorizing only users with a specific role to view some pages, How it works…
V
- Velocity
- about / There's more…
W
- Windows
- Java, installing / How to do it…, Installing Java
- Maven, installing / Installing Maven
- Tomcat, installing / Installing Tomcat
- Eclipse, installing / Installing Eclipse
X
- XML file
- reading / Reading an XML file, How it works…