Gradle Multi-Project WAR Build Featuring Instant Code Reload

Get the code at https://github.com/CodeSolid/tutorials, then “cd GradleWarMultiProject”. Table of Contents Introduction First Steps and File Structure Something to Build – Let’s add code Setting Up the Build Run It!    Introduction I like Java programming.  For all its warts and the faint smell of old-guy cologne, it’s still a fine general-purpose language, and there are […]

Read More…

Java REST tutorial

Create a RESTful API Using Java and Jersey in IntelliJ Idea. Table of Contents Take Five – REST in Five Minutes Keeping It Simple – No Database Connection Needed Setting up the Jersey Project in Maven and IntelliJ Idea Server Side: the RESTful API Testing the Server: A Jersey REST client Putting it All Together […]

Read More…

Getting Started with Selenium in IntelliJ Idea – Part I

Table of Contents Introduction Fill Your Toolbox — Setting Up Firebug and Selenium IDE A Simple Selenium Test Case Locating Web Elements Verifying Expected Results Final Steps and What’s Ahead Read Part Two of the Article Introduction Selenium is a one of the most popular test automation tools. Selenium lets you write automated tests to […]

Read More…

Spring Security – Spring Authentication and Authorization Basics

Table of Contents Introduction — My Scandalous Confession Generating a Spring Security Project The Security Configuration Files Spring’s StandardPasswordEncoder Using Security in the View Layer — The Spring Security Tag Libraries Introduction — My Scandalous Confession Before we begin with the tutorial, I am going to lay bare my soul to you. I know, most […]

Read More…

Configuring Spring for Test versus Production

Contents Spring Configuration Options The META-INF Gospel Configuring Spring Properties at Build Time Using Multiple Modules Configuring Spring Properties at Run Time Using the PropertyPlaceholderConfigurer Setting up PropertyPlaceholderConfigurer in the ApplicationContext Some Properties Files to Test Injecting Properties Testing with JUnit Spring Configuration Options The Spring Framework is not opinionated software. Instead, Spring has a […]

Read More…