Seminars in Zurich

During February 2017 I will deliver 4 seminars in Zurich, Switzerland. Each seminar will last 8 academic hours (0900-1700) and will take place in Hardturmstrasse 185. The participants will need to bring their own laptops. Internet connectivity will be available.

Mongoose.js Jump Start PRO

Mongoose.js JavaScript library provides us with an object oriented interface for using the MongoDB database in our node.js web applications. You can easily install this JavaScript library using the npm utility. The npm utility is available once you install node.js on your desktop. If you are not familiar with node.js and the npm utility you […]

Using node.js with MySQL PRO

Developing a web application using the node.js framework we can easily write code that connects with a MySQL database. The mysql module provides us with everything we need. The following code sample shows how simple it is to use this module. var mysql = require(‘mysql’); var connection = mysql.createConnection({ host: ‘server.zindell.com’, user: ‘nodejsdemo’, password: ‘lifemichael’, […]

Using Apache DB as In-Memory Database PRO

If you are already familiar with using the Apache DB I believe you will find it very simple to start using it as an in-memory database. You just need to change connection string you are using. Using Apache DB as an internal database running together with our application in the same process you just need […]

WebSockets API using Apache Tomcat Jump Start PRO

Java EE supports the HTML5 WebSockets API. We can easily get a WebSockets server up and running by developing a servlet that extends WebSocketServlet class. The following code sample includes two files. The following is the HTML file that includes code in JavaScript for using HTML5 Web Sockets API. <!DOCTYPE html> <html> <head> <title>Simple WebSockets […]

Mandatory Movies for Learning Java Programming PRO

Learning how to write code in Java has never been simple. Hereto a short list of recommended movies you better watch before you start learning Java. Learning OOP is one of the biggest obstacles. Matrix is the best movie to start with. The program running on the machines servers creates a sophisticated virtual reality. When […]

There is no + Strings Concatenator in Dart PRO

Dart doesn’t provide us with the + operator for concatenating strings. If we want to connect few strings into a new big one we can just place them side by side. void main() { var a = “hello”; var b = “students”; var str = “hello ” “students”; print(str); } The following video clips overviews […]

Developing Android Remote Services PRO

The first step is coding the aidl file that includes our definition for the interface that lists the methods we want to enable their invocation from another process. package com.abelski.currencyservice; interface ICurrencyService { double getCurrency(String country); } The aidl compiler will go over that file and auto generate the interface we defined in the aidl […]

Nexus Q Introduction INFO

The Android 4.1 new feature that turns NFC connectivity into bluetooth makes device connectivity into a much simpler process and sets the foundation for new creative products. Nexus Q is one of them.

XML DOM Parsing in Java PRO

JAXP (Java API for XML) provides us with the capability to parse XML documents using a DOM parser. The following code sample shows a simple parsing using the JAXP DOM parser. package com.abelski.samples; import java.io.IOException; import java.net.URL; import java.io.InputStream; import java.net.HttpURLConnection; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.SAXException; […]

Update cookies preferences