Basic configuration required for a Struts 2 application

March 1, 2016 0

Summary: This page will take you through the basic configuration of a Struts 2 application. There are two files you need to configure in order for a basic Struts 2 web application works. These files are: web.xml struts.xml Don’t be confused, web.xml is not a Struts 2 configuration file. It just provide the entry point for any web application and it needs to be configured for Struts 2 to work. Besides the above mandatory configuration files another two files are useful: struts-config.xml web.xml configuration file The web.xml file is a Read More

How to start Apache Tomcat 7 on MAC OS X

February 21, 2016 0

Prerequisite: Apache Tomcat is an open source web server and in order to use it you need to have JAVA installed on you computer. Tomcat 7 requires Java 1.6 or earlier. To check your java version open Terminal application and type:

it should show something like this:

Now you are good to download and install Apache Tomcat 7 on your MAC device. I prefer to use the compressed (.zip) distribution and because I like to keep things organized I choose to install Tomcat under my home folder in developer/apache-tomcat-7.x.y. Now you are Read More

Creating a project in Swift

February 9, 2016 0

When i comes about developing iOS applications, Swift is my language of choice.   First step in creating a Swift application is to create the user interface, and the way you build UIs in a Swift application is by creating STORY BOARDS.   …   Now, that we have the project created, let’s take a look to the file project in Swift.

Introduction to Swift

February 9, 2016 0

Welcome to this very basic introduction to Swift. Swift is a programming language released by Apple in November 2014 (check this info) and it is meant to create OS X, iOS, watchOS and tvOS applications. Most developers sees Swift as a replacement to Objective-C. However, Apple continue to support Objective-C therefore this is not quite true, at least not yet. The variable inference is similar to JavaScript and jQuery.

Windows hot keys vs. MAC hot keys

January 17, 2016 0

Switching from PC to MAC is never easy and for those who regular uses the hot keys is a nightmare until they learn the new hot keys for used in MAC OS. One thing is to keep in mind related to this aspect: Most PC hot keys are the same on MAC, except that instead of “control” key MAC uses “command” key. On a MAC keyboard, the command key is the one with ⌘ symbol on it. Therefore we have the following keys for a MAC : ⌘ + a Read More

Funny var declaration

January 17, 2016 0

I am confessing that is a pleasure for me to discover funny things on code I maintain, and also during tutorials from which I learn. One of the most funniest declaration I encountered in past days is one during a swift tutorial. The declaration sounds something like that : var quote = “I dream of a better tomorrow, where chickens can cross the road and not be questioned about their motives”

The two most common out of the office notice

November 4, 2015 0

It is your responsibility to set up a vacation note every time you leave the office for more than one day. Bellow are the most common out of the office notices I use, I am out of the office until January 15th 2016. For urgent matters you can call me on <yourPhoneNumber>. or I am out of the office until 01/15/16. I will be checking email periodically and will reply accordingly.   If you’ve an emergency, I can be reached at <yourPhoneNumber>.

Various method of creating a String in Java

July 14, 2015 0

It’s always a great thing to have where to choose. This is what the Java creators offers to you, and for this reason they allow you to have various ways of creating String objects. Therefore, a natural question comes into scene: are the java developers aware of what happens behinds the scenes when create a String object? Let’s take a short look at how you can create strings in Java.

The previous example creates one String object and one reference variable. One other way to create a String object Read More

Why should I become certified

May 5, 2015 0

Day by day, Application Developers ask me if getting certifications will raise their earnings. I don’t know, and yet one thing is for sure, become certified is not an easy job! And, the second, there is a high change that passing a certification will not guarantee you with a salary increase, nor to get a job. Probably you don’t care about certification and that’s normal… However, employers cares, recruiters cares! A certified developer is always a hiring preference in comparison to a non-certified developer. Why? A certification addresses knowledge and skill gaps. Besides, Read More

1 2