Spring Framework

Make your work easier.

Eclipse RCP 4

Try something different.

Wincor Nixdorf

Experience meets vision.

Java 8

Write once, run anywhere.

Scrum

Improving the Profession of Software Development.

Showing posts with label POJO. Show all posts
Showing posts with label POJO. Show all posts

Tuesday, September 23, 2014

Welcome to Java 8

It's been several months since Java 8 appeared. Oracle promised us the big changes: lambdas, streams, bug fixes, better security, multithreading and performance, functional interfaces and so on. After looking shortly at the new possibilities I can only say: they wanted to do well, but the outcome is not satisfying.  It's easy to criticize, but let's take a look at the most important features of Java 8:

Wednesday, September 3, 2014

JDBC via Spring

Almost every kind of application uses data repository. In most cases it is a relational database, which presents us with object-relational mapping problem. Although there are a lot of solutions, more or less "professional", today I want to show you the simplest way in Java to do this - using JDBC...

Saturday, July 26, 2014

Let's decorate!

Today I want to talk about Design Patterns, especially Decorator. Here is the story, which gave me a reason to write this post:

Few days ago I was asked to improve performance in one of our web applications (JEE + Spring + Stored Procedures via JDBC). One of the stored procedures is calling on multiple schema, because of big amount of data stored, that operation takes a lot of time. So I have to do some magic with multi-threading in JEE application (I will post about it in the future). During the refactoring I found the object called CrappyBean (standard JavaBean object). It was a new object, based on some old functionality (called NormalBean - also standard POJO object). Because stored procedures are the oldest part of system they are returning old types of objects.

Sunday, July 13, 2014

Why Spring?

Initially, Spring was a way to simplify programming in Java Enterprise Edition. The Framework has come a long way since 2004. It's not a simple library - not anymore. It's big, it's powerful, and it makes it straight.  Spring modules take care about security, network services, data storing, MVC and so on. It separates infrastructural logic (like transactions managing) from business logic. In case of that developers focus on second one only.

Number of Spring modules force me to think how so complicated and expanded framework makes programming easier. Why so many Java developers prefer Spring? Why is it so popular?