Schlagwörter » Java

Law of Demeter and How to Work With It

The Law of Demeter is an interesting programming principle. It’s the only one I know of that has a near-mathematical definition:

Any method m of an object O may only invoke the methods of the following kinds of objects: noch 823 Wörter


Installing Java 8 on Ubuntu 14.04

This tutorial will guild you how to install Oracle Java/JDK on Ubuntu 14.04

Add package repository and installing

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer… noch 35 Wörter

Treasure Map Game

This group assignment involved creating a simple multi-player Treasure Hunt game, however the main focus was not on the actual game. The assignment was designed to provide a practical experience in dealing with changing requirements, test-driven development, version control systems, continuous integration and the application of design patterns. noch 745 Wörter


Annotations continued...

JSR-250 defines all the standard annotations that are defined across all technologies and frameworks.
Spring also uses some of the annotations defined in the JSR-250 list… noch 158 Wörter

Autowire Annotation

Spring autowire annotaion comes in handy when configuring beans. As the name suggests, this annotation autowires dependencies. Similar to Required annotation, we need to initialize a BeanPostProcessor called AutowiredAnnotationBeanPostProcessor… noch 677 Wörter

Nail Care

I hate clipping my cats nails.  To me the sound when you clip the nails sounds like someone scratching their nails against a chalkboard.  It’s torture.   noch 237 Wörter