Start working with a GIT repository
In one of the previously post, I talked about how to push your work at github.com using eclipse IDE. In this post I will show you how to “grab” (git term is clone) a repository from git hub.com and start adding new feature. First thing, first thing to do isContinue Reading
How to deal with mysql on MAC OS
A long time ago I remember I installed MySQL on my MAC. Actually it is about Maria DB, but that’s pretty much the same thing as it was made by the original developers of MySQL database. Now I am in the position to start a new project with Struts FrameworkContinue Reading
StrutsTilesLocaleResolver Cannot obtain HttpServletRequest
Due to the existing security vulnerabilities present in struts framework, I had migrated a struts application from 2.3.20 distribution to 2.5.13. I learned that for some jsp pages I got the following error:
1 |
ERROR StrutsTilesLocaleResolver Cannot obtain HttpServletRequest from [org.apache.tiles.request.jsp.JspRequest] |
The error was not present to the entire application, but to some of the jsp pages.Continue Reading
The Twelve Factors for Applications
The 12-factor app manifesto (sometimes called as 12-factor app configuration style) is more like a guidance on ideal practices (or principles, if you want) for building softwares delivered as a services. It can be applied to applications written in any programming language. The 12-factor-app “word” is often used interchangeably with cloudContinue Reading
What do you know about equals() and hashCode() methods?
Inevitable, during a Java interview you will be asked about equals() and hashCode() methods which are declared in the java.lang.Object class. equals() method The equals method is declared as
1 2 3 |
public boolean equals(Object obj) { return (this == obj); } |
and indicates wether two objects are equals or not. It returns true in case the two objects are equals, andContinue Reading
Essentials on IBM Cloud Garage Method
Today I started to learn about the IBM Cloud Garage Method. I was quickly able to find out that garage method is an approach, a way of work that brings together techniques from Agile Development Lean Development Extreme Programming (XP) and IBM Design Thinking. The goal of the Garage isContinue Reading
All you know about EAR file
During a technical interview one of the phrases that put the candidates in difficulties is “tell me all you know about [something]”. This is the first post in the series tell me all you know about, and I will write about EARs files. EAR stands from enterprise application archive andContinue Reading
Use strong passwords
“Be sure you create a strong password!” this is the advice we see everywhere on the internet, but what does a strong password means? I’ll say a strong password has the following characteristics: has at least 12 characters length. If the technology does not support it, you should stop usingContinue Reading
It is agile fever in the world
Being agile implies production ready shippable code ! You might heard about agile for a long time and this is not surprising at all (afterwards it was born in 2001). In fact I am sure you read about agile on wikis, forums, blogging and micro-blogging. You might even practice agileContinue Reading
Cloud Foundry cf command fails with permission denied error
A long time ago, I have installed Cloud Foundry CLI command line tool. Recently, I started to prepare my self for the IBM Bluemix Cloud certification and I found that when I type cf commands at the terminal interfaces it fails with:
1 2 |
FAILED Error read/writing config: open /Users/claudiu/.cf/config.json: permission denied |
I found that CLI tools have createdContinue Reading