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

Monday, May 18, 2015

The Code Quality Guide

Today I want to talk about code quality. It's one of the most important parts of OOP, which is underestimated nowadays, mostly because of current working style and "focusing on results".  So, how is it in Java? What good practices will a clean code give us?

Monday, April 6, 2015

Sorry - I'm just codding in Java

There are many ways to implement functionality in Java. The most approved way in many environments is the OOP one. Because of that some part of your code will be taken as a pure evil. Today I would like to break some myths about Java and Object-Oriented Programming. Let's begin. 

Thursday, January 1, 2015

The best Java features of all time

We're not used to new Java 8 features yet, but we received already some information about the next Java release. Until they are confirmed, we can sit down and talk about what we already have. Today I want to tell you about the best Java features of all time. Don't take it too seriously -  this is just my opinion based on what I use for work and what I like most.

Friday, December 12, 2014

Effective communication in projects


Not so long ago I was writing about Software Developers problems (see this post for details). Today I want to tell you about one of the most common problems that happen in many projects.This problem touches not only Software Developers, but everyone involved in the project. As programmers we can feel it much too often. Let's talk about communication (on the Scrum team 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.

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:

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?