Home » Author Archives: Eugen Paraschiv

Author Archives: Eugen Paraschiv

Spring Security Login

spring-security-logo

1. Introduction This article is going to focus on Login with Spring Security. We’re going to built on top of the simple previous Spring MVC example, as that’s a necessary part of setting up the web application along with the login mechanism. 2. The Maven Dependencies To add Maven dependencies to the project, please see the Spring Security with Maven ...

Read More »

Hibernate 4 with Spring

jboss-hibernate-logo

1. Overview This article will focus on setting up Hibernate 4 with Spring – we’ll look at how to configure Spring 3 with Hibernate 4 using both Java and XML Configuration. Parts of this process are of course common to the Hibernate 3 article. 2. Maven To add the Spring Persistence dependencies to the project pom.xml, please see the article ...

Read More »

Spring MVC Tutorial

spring-interview-questions-answers

1. Overview and Maven This is a simple Spring MVC tutorial showing how to set up a Spring MVC project, both with Java based Configuration as well as with XML Configuration. The Maven artifacts for Spring MVC project are described in the in detail in the Spring MVC dependencies article. 2. The web.xml This is a simple configuration of the ...

Read More »

Spring Security with Maven

apache-maven-logo

1. Overview This article will explain how to setup Spring Security with Maven and will go over specific use-cases of using Spring Security dependencies. The latest Spring Security releases can be found on Maven Central. This is a followup to the previous Spring with Maven article, so for non-security Spring dependencies, that’s the place to start.       2. ...

Read More »

Hibernate 3 with Spring

jboss-hibernate-logo

1. Overview This article will focus on setting up Hibernate 3 with Spring – we’ll look at how to use both XML and Java configuration to set up Spring 3 with Hibernate 3 and MySQL. 2. Java Spring Configuration for Hibernate 3 Setting up Hibernate 3 with Spring and Java config is straightforward:       import java.util.Properties; import javax.sql.DataSource; ...

Read More »

Maven Release to Nexus

apache-maven-logo

1. Overview In the previous article of this series, we set up a deployment process with Maven to Nexus. In this article, we’ll configure the Release Process with Maven – both in the pom of the project as well as in a Jenkins job. 2. Repository in the pom In order for Maven to be able to release to a ...

Read More »

Tweeting StackExchange Questions with Spring Social

spring-interview-questions-answers

1. Introduction This is the third and final article about a small side-project – a bot that automatically tweets Questions from various Q&A StackExchange sites on specialized accounts (full list at the end of the article). The first article discussed building a simple client for the StackExchange REST API. In the second article we set up the interaction with Twitter ...

Read More »

Maven Deploy to Nexus

apache-maven-logo

1. Overview In a previous article, I discussed how a Maven project can locally install a third party jar that has not yet been deployed on Maven central (or on any of the other large and publicly hosted repositories). That solution should only be applied in small projects where installing, running and maintaining a full Nexus server may be overkill. ...

Read More »

Install local jar with Maven

apache-maven-logo

1. The Problem and the options Maven is a very versatile tool and its available public repositories are second to none. However there will always be an artifact that is either not hosted anywhere, or the repository where it is hosted is risky to depend on, as it may not be up when you need it. When that happens, there ...

Read More »

Spring Social Twitter Setup

spring-interview-questions-answers

In the first part of this series, we looked at how we could consume the StackExchange REST API in order to retrieve its top questions. This second part will focus on setting up the support necessary to interact with the Twitter REST APIs using the Spring Social Twitter project. The end goal is to be able to tweet these questions, ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.