Node.js on Cloud9 Jump Start PRO

Node.js is a platform built on top of JavaScript v.8, Google’s JavaScript runtime engine. Node.js enables us to develop web applications that excellent in their performance. The following code sample is a simple HTTP web server developed using node.js that returns the hello greeting back to the client from which the HTTP request arrives. var […]

Log4j Jump Start PRO

Log4j is an open source project developed and maintained by Apache. It is part of a bigger open source project known as the Apache Logging Services. The following code sample shows how to use Log4j in its basic configuration. package il.ac.hit.samples; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; public class SimpleLoop { static Logger logger = Logger.getLogger(“SimpleLoop”); public […]

WordPress Jump Start Lecture INFO

On Tuesday November 27th I delivered a practical jump start for websites development using the WordPress open source project. You can find the detailed presentation I was using during the lecture ready for download at http://www.lifemichael.com/presentations/wordpressjumpstart.pdf. I have just complete to prepare a series of short video clips (in hebrew) you can watch for free and […]

Generics Implementation in Java PRO

The generic class has the same behavior for all of its possible parametric types. The same generic class can be viewed each time as if it has a different parametric type. For the JVM it doesn’t matter which parametric type we chose to instantiate a generic class with. In all cases, for the JVM it […]

Generics’ Bounded Wild Cards in Java PRO

When using a bounded wild card we can limit the parametric type as if we were saying that it can be any type as long as it extends or implements a specific type we specify. package il.ac.hit.samples; import java.util.Iterator; import java.util.Vector; public class BoundedWildCardSample { public static double calculateTotal(Vector<? extends Shape> vicy) { double sum […]

Generic Type Arrays in Java Limit PRO

When using an array of generic type objects in Java we cannot specify the exact parametric type. This limit exists due to the way generics is implemented in Java (in the compiler level). package il.ac.hit.samples; public class ArraysGenericsLimit { public static void main(String[] args) { MyStack<?> []vec = new MyStack<?>[10]; vec[0] = new MyStack<Rectangle>(); vec[1] […]

The Israeli Guide to C++ INFO

I have recently started to work on writing a short practical guide for learning C++. The guide includes texts and video clips. The texts were written in Hebrew. The video clips were taken in Hebre as well. You can find it at www.CPPBook.co.il.

Update cookies preferences