JavaCro 2017

Important Warning about Java-Pro article!

Java Pro magazine

In my article about Web Components in the first issue of the Java Pro magazine the designer made a few mistakes (replaced characters and hyphenation of source code). As a result, some code examples does not work any more. I created a PDF with corrections which you can download from my website: Java-Pro_Korrektur.pdf

If you have any questions about this article, please feel free to ask me!

Web Components Introduction now in Zurich

Java User Group Switzerland

The topic of my last talk in 2016 will be the topic for my first talk in 2017!

After Lucerne and Basel I will talk about Web Components Introduction in Zurich on January 11th 2017 at 6:15pm. My talk will take place at the PH Zurich (Zurich University of Teacher Education) near the SBB main station.

Again, I’m happy to give you an overview about the possibilities of Web Components and show you how to develop with it in a very risky live coding session. After my talk the JUG Zurich offers drinks and finger food.

Please register here if you would like to attend this event.

Let’s create amazing things in 2017

Web Components Introduction and Christmas Aperitif

Java User Group Switzerland

On December 13th at 6pm I’ll hold my last talk for 2016 at the JUG Basel about Web Components Introduction. I’m happy to give you an overview about the possibilities of Web Components and show you how to develop with it in a live coding session.

After my talk the JUG Basel invites you to a free Christmas Aperitif. Please register here if you would like to attend this event.

Make Christmas great again

Apache HTTPS Redirect

There was a time a TLS certificate was quite expensive and most websites were only accessible unencrypted with HTTP. Nowadays basic domain validated TLS certificates are free and you have only to pay for “business certificates” with extended validation options. So there is no excuse for not supporting HTTPS any more!

Now lets benefit from better search engine rating (Google prefers TLS encrypted websites) and make the world more secure by redirecting all unencrypted HTTP to encrypted HTTPS traffic. Most servers like mine run the Apache HTTP Server which can do this very easy and very fast (compared to e.g. plugins for CMS). Create a file named .htaccess and place it in the root folder of your website (that’s where your top level index HTML file lives). The content of the file should look like this:

# Force HTTPS
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.domain\.tld [NC]
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.domain.tld/$1 [R=permanent,L]
</IfModule>

If the file already exists, you can add the snippet above at the top of the file. You have to change the placeholder for the domain name to your domain name and you should take care of where to escape (RewriteCond) and where not to escape (RewriteRule) the dots of your domain name.

Stay secure