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.

Monday, November 17, 2014

About the technology and the architecture in Java

Today I want to tell you about different point of views: Project Manager and Software Developer. In theory system design should be independent of the technology. But is it really true? The first thing that comes to my mind is Spring MVC model, where the view is often JSF page and Spring @Controller (or any other backing bean type, for example managed bean), with @Repository as a model and @Sevice as real system controller. It's not such standard, is it?  Things are even more complicated if we haven't got any standard architecture in our code. Here is the story:

Wednesday, October 29, 2014

Around software developers problems

It's been a while since my last post. Today I want to tell you about problems affecting experienced programmer. As far as I know, it's not a problem to find tutorials on how to start out. There is also a lot of information about high-level problems like scaling architecture of your project and so on. While reading the next book about quality of code I was asking: "what about me?" - because I found myself between this two types: things that I already know and information on too high abstract level.

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...

Tuesday, August 12, 2014

It's not even my final form

Nowadays Java is one of the most popular programming languages to create the enterprise applications. Because of that we often have to work in large groups, cooperating between many teams and so on. During the software development one of the most important things is the quality of code. 

Probably the last thing which you - as a programmer or system architect - want to see during the code review is some freaky code which enchants the reality because of some business logic.

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: