Monthly Archives: January 2015

Java – Log4j fixed file size setting example

Posted in Java, Programming | Tagged | Leave a comment

Apache CXF – getting ServletContext in code

It is common to get a Servlet context on implementing WEB API. Apache CXF has a little different approach to get this instance. The following code show how to get ServletContext instance for RS.

Posted in Java, Programming | Tagged | Leave a comment

Java – create a Java application with Maven

With the following command you can create an application directory quickly

Posted in Java, Programming | Tagged | Leave a comment

C++11- Move constructor requires “noexcept”

If a class having move constructor needs to be in the container class, it should have “noexcept” qualification. If move constructor may throw exceptions, it will try to use copy constructor instead of move constructor.

Posted in C++, Programming | Tagged | Leave a comment