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.

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.

Saturday, July 19, 2014

Don't try to be the Yoda

Today I want to tell you about learning and education. I didn't plan post like this before, but in some cases there are more important things to tell than technology. Here is the story:

Few days ago my friend sent me her CV. I just took a look at it, especially on the skill list, and recognized that there were few technologies which (as I remembered) she doesn't know quite well. I asked her why she wrote something that she doesn't really know. She told me that she knows it at intermediate level, because she use it. OK, but knowledge "How to use" is not the same as "How it works". So i asked her a few questions about Spring (it was more about IOC and AOP basics). None of them got answered. One day later she told me that she'll learn. Learn a lot, using the tutorials, documentations, books etc. because she doesn't want the situation when she will not understand what I'm talking about.

Yeah, great idea. Development is an area where we have to learn all the time. We should. But I think it's not exactly like that. First of all:

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?