Hello AsciiDoc, Goodbye Word

I write technical documentation from time to time, and, until recently, had been doing it in MS Word and was less than enjoying it. I had a feeling there was a better tool out there, so I decided to look

Posted in Programming Tagged with: ,

Maven to Gradle Dependency Converter

I published a simple Maven to Gradle dependency converter. You can try it out at mvn2gradle.codetutr.com. It’s still pretty primitive. Right now, it only transforms the groupId, artifactId and version. Variables for version are preserved.

Posted in Gradle, Maven Tagged with: ,

Spring MVC Custom Validation Annotations

Last tutorial, I showed how to validate a form using annotations. This works great for simple validations, but eventually, you’ll need to validate some custom rules that aren’t available in the out-of-the-box annotations. For example, what if you need to

Posted in Spring Tagged with: , , , ,

Spring MVC Form Validation with Annotations Tutorial

This tutorial with full source code will show how to validate a form submission in Spring MVC using JSR-303 annotations. You can grab the code for this tutorial on GitHub if you want to follow along. One of the most

Posted in Spring Tagged with: , , ,

Spring MVC – Easy REST-Based JSON Services with @ResponseBody

Spring 3 makes JSON REST services really easy. This tutorial will show you how in just a few steps.You can grab the codeĀ on GitHub. PrerequisitesYou should have a working Spring MVC Application. If you do not already have a working

Posted in Spring Tagged with: , , , ,

Spring MVC Form Tutorial

This tutorial will show how to handle a form submission in Spring MVC. We will define a controller to handle the page load and the form submission.You can grab the code on GitHub. Prerequisites: You should have a working Spring

Posted in Spring Tagged with: , , ,

Configuring Gradle behind a Proxy

If you are working with Gradle behind a proxy, you will need to configure Gradle with proxy information so it can download dependencies. Note: If you haven’t installed Gradle yet, read my post. In your user directory (e.g. c:\users\steve or

Posted in Gradle Tagged with:

Simple Spring MVC Web Application using Gradle

This post will be similar to our previous post, Simple Gradle Web Application, except we will now use Spring MVC, rather than raw servlets. It is really easy to get a basic Spring MVC application running with Gradle.You can download

Posted in Gradle, Spring Tagged with: , , ,

Simple Gradle Web Application

Gradle easily supports Java web applications through the “war” and “jetty” plugins. This tutorial will show you how to quickly make a simple Java Servlet web application. Our basic project structure will be: basic-web src main java com codetutr HelloWorldServlet.java

Posted in Gradle, Java Tagged with: , , ,

How to Import Gradle Project into Eclipse

Gradle is a great configuration tool, but you obviously need to work inside your IDE too! The Gradle “eclipse” plugin supports easily importing your project into Eclipse. Here is an example: Create a new folder called basic-eclipse. Inside the folder,

Posted in Gradle Tagged with: ,


Follow Me

RSS FeedFollow me on Twitter