Thursday, November 22, 2012

Fat and thin client architecture

Fat client
A fat client (sometimes called heavy) is a client in client–server architecture that typically provides rich functionality independent of the central server.

MVC or Model–View–Controller

Model–View–Controller (MVC) is an architecture that separates the representation of information from the user's interaction with it.

The model consists is the core of the existing system, where are placed application data and business rules.

The controller mediates input, converting it to commands for the model or view.

A view can be any output representation of data, such as a chart or a diagram. Multiple views of the same data are possible

Wednesday, November 21, 2012

Java "final" modification

In the Java programming language, the final keyword is used in several different contexts to define an entity which cannot later be changed (or reassigned).

Tuesday, November 13, 2012

wait and notify methods in Java

Java includes an elegant inter-process communication mechanism via the wait( ), notify( ), and notifyAll( ) methods. All three methods can be called only from within a synchronized method. Although conceptually advanced from a computer science perspective, the rules for using these methods are actually quite simple:

Monday, November 12, 2012

Software Team Leader Responsibilities

Here are the main responsibilities for a team leader, no matter of language: Java, C++, C#, PHP or whatever.

  • responsible for delivery of working software;
  • prioritize the tasks of team members;
  • to ensure the team is self-organising so that we take collective responsibility for the work we do. It is not my job to tell people what to do but to enable them to do it themselves;
  • responsible for all problems in team;
  • no single responsible for a task. To ensure no one person in my team is solely responsible for any task or activity so that we are able to continue working effectively when any of our team is away
  • monthly one-to-one meetings with team members;


Good practices:
  • buddy assignment to new members

Monday, February 13, 2012

Using the @deprecated Javadoc Tag

You can use the @deprecated tag to make Javadoc show a program element as deprecated. The @deprecated tag must be followed by a space or newline. In the paragraph following the @deprecated tag, explain why the item has been deprecated and suggest what to use instead.

One of the Java language's built-in annotations is the @Deprecated annotation. To use it, you simply precede the class, method, or member declaration with "@Deprecated".

Examples