How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
Java Time Tutorials
Make a basic single touch drawing app for Android
Some times, android applications will consist of more than some buttons and some text. Or maybe you are looking into Android game development. Maybe you want to make a sketching application? You’ll have to know the basics about using the onTouch event. So let’s make a basic single touch drawing app on Android!
Smartphone Privacy: Four Essential Steps to Remember
Believe it or not, your Smartphone device can be blessing and a curse at the same time. You can use it to find nearby fast food restaurants – for when you are running on an empty stomach, or perhaps connect with loved ones while far away from home.
Web Application Development with Struts Framework and TomEE
Apache TomEE provides you with the best technology stack that can be deployed to a simple Java EE container. It’s lightweight and at the same time is a full-blown application server, which remains simple and avoids architecture overhead. In the following tutorial you’ll learn the basics of web application development with the help of the Apache Struts framework, which is an absolutely free open-source solution for creating Java web apps.
MongoDB Backup in the Cloud
Previously we showed you how to schedule MySQL and MariaDB backups in the Jelastic Cloud, and now it’s time for a NoSQL solution. This tutorial is focused on creating an automatic MongoDB backup with the help of a cron scheduler.
How to Schedule An Android App to Start Later
Learn how to program an application to start at a specific time in this smartphone development tutorial.
How to Print Local Time from Java
Learn this simple Java program to calculate and print the current local time.
How to Measure Time in a Java Program
There are two methods to measure time in Java: System.nanoTime and System.currentTimeInMillis. Learn how to use them inside.
How to measure execution time using StopWatch - Spring Example
There are two ways to measure execution time of a method or code block in Java. System.nanoTime() and System.currentTimeInMillis() which can be used to calculate difference between two time interval which can than be used to measure execution time of any method or code block.
How to change object properties at runtime using Apache Commons PropertyUtils
Apache commons beanutils is a very useful open source framework which provides several utility class and method to manipulate java beans. one of them is PropertyUtils which allows to change property of object at runtime by passing string property name using reflection.
how to convert Local time to GMT timezone in Java
Simple Java program which demonstrate How to convert local time to any time zone in Java. this time its GMT .
Why do Java has two Date class ? SQL and Util Date
Java system library has two date classes one is java.sql.Date and other is java.util.Date , why do you have two date classes in java? because sql date mapped with ANSI SQL date object, it also highlight the main difference that sql date can not represent time details
What is dynamic and static binding in object oriented programming
dynamic binding in object oriented programming language or runtime polymorphism is a popular concept in Java which allows to call overridden method which static binding occurs at compile time and used to bind overloaded method in java.
example of race condition in Java threading
Java guide on how to fix Race conditions in Java threading.Race condition are those hard to find bugs of java concurrent programs which expose themselves of worst time i.e. load under production. only way to get around of Race condition is to avoid them. Code review and awareness of common race condition pattern may help you.
Diference between JVM and JRE in Java
Java uses JRE, JDK, JVM and JIT which looks quite similar but they are entirely different to each other. JRE is java runtime, JDK is java development kit, JVM is java virtul machine and JIT statnds for Just In time Compiler. JRE and JDK comes as installer and you can download it from Oracle.com
What is load-on-startup servlet element in web.xml with Example?
load-on-startup is the rare tag on web.xml which is available inside servlet and can be used to control loading of servlet in web container. by using load-on-startup you can simply tell J2EE container that load this servlet first and that one later you can also say that load this on deploy time loading means loaded in memory and instantiate and init() method called for a particular servlet by web container. lower the numeric value of load-on-startup , servlet will be loaded first.