Subscribe
Tutorial search

Java Time Tutorials


Sort by:
Make a basic single touch drawing app for Android
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!
Difficulty:
Smartphone Privacy: Four Essential Steps to Remember
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.
Difficulty:
Web Application Development with Struts Framework and TomEE
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.
Difficulty:
MongoDB Backup in the Cloud
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.
Difficulty:
How to Schedule An Android App to Start Later
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.
Difficulty:
How to Print Local Time from Java
How to Print Local Time from Java
Learn this simple Java program to calculate and print the current local time.
Difficulty:
How to Measure Time in a Java Program
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.
Difficulty:
How to measure execution time using StopWatch - Spring Example
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.
Difficulty:
How to change object properties at runtime using Apache Commons PropertyUtils
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.
Difficulty:
how to convert Local time to GMT timezone in Java
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 .
Difficulty:
Why do Java has two Date class ? SQL and Util Date
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
Difficulty:
What is dynamic and static binding in object oriented programming
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.
Difficulty:
example of race condition in Java threading
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.
Difficulty:
Diference between JVM and JRE in Java
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
Difficulty:
What is load-on-startup servlet element in web.xml with Example?
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.
Difficulty:
Search Term(s) (1): time