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 Design Patterns. Show all posts
Showing posts with label Design Patterns. Show all posts

Wednesday, November 11, 2015

Name what you measure with

In our lives it's necessary to measure with many difficulties all the time. There is no break, only problems and solutions are changing.  There is no different at work, especially when you are a developer. Today I want to tell about naming surrounding us problems and their solutions.

Sunday, March 15, 2015

Java @nnotations and reflection

Today I would like to tell you about programming trends. Currently there are a lot of voices which disagree with the idea of using Java reflection mechanism. The most often used argument is that we should go for more OOP solutions. On the other side, number of frameworks based on annotations (so build strongly on reflection) is growing, and developers love them. So how it is exactly? Let's check it on some example.

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.

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?