Skip to content



Latest Tutorials

Difference between git pull, git fetch and git clone (and git rebase)

Git Pull From what I understand, git pull will pull down from a remote whatever you ask (so, whatever trunk you’re asking for) and instantly merge it into the branch you’re in when you make the request. Pull is a high-level request that runs ‘fetch’ then a ‘merge’ by default, or a rebase with ‘–rebase’….

Posted in Random Posts | Tagged , , , | Leave a comment

SMTP vs POP3 vs IMAP

Overview SMTP, POP3 and IMAP are TCP/IP protocols used for mail delivery. If you plan to set up an email server such as hMailServer, you must know what they are used for. Each protocol is just a specific set of communication rules between computers. SMTP SMTP stands for Simple Mail Transfer Protocol. SMTP is used…

Posted in Random Posts | Tagged , , , | Leave a comment

How to Connect Google Cloud SQL with MySQL Workbench

In this post will show you how to create a Google Cloud SQL instance and How to Connect Google Cloud SQL with MySQL Workbench MySQL Workbench. Before connecting, make sure you have enabled billing for Google Cloud Engine. Creating a Google Cloud SQL instance Go to the Google Cloud Console. Create a new Cloud Console…

Posted in MySql | Tagged , , , | Leave a comment

How to Convert a Stream to List in Java 8

In this tutorial you will see How to convert a Stream to a List using Collectors.toList in Java 8. package com.latest_turorial.java8; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; public class StreamToList { public static void main(String[] args) { Stream<String> language = Stream.of(“java”, “php”, “asp.net”); //Convert a Stream to List List<String> result = language.collect(Collectors.toList()); result.forEach(System.out::println); } }…

Posted in Java Posts, Java Posts, Java Tutorials | Tagged , , , , , , , | Leave a comment

How to install JDK 8 on CentOS

In this tutorial, you will see how to install Oracle JDK 8 On CentOS.   1. Get Oracle JDK 8 1.1 Visit Oracle JDK download page, look for RPM version. 1.2 Copy the download link of jdk-8u102-linux-x64.rpm and wget it. $ pwd /home/mkyong $ wget –header “Cookie: oraclelicense=accept-securebackup-cookie” http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-linux-x64.rpm 2. Install Oracle JDK 8 2.1…

Posted in Java Posts, Java Posts, Java Tutorials | Tagged , , , | Leave a comment

How to use log4j.xml example

Here’s another way How to use log4j.xml example in application. In this example you will see how we use xml logging. 1. Output to Console Redirect the logging to console. log4j.xml <?xml version=”1.0″ encoding=”UTF-8″ ?> <!DOCTYPE log4j:configuration SYSTEM “log4j.dtd”> <log4j:configuration debug=”true” xmlns:log4j=’http://jakarta.apache.org/log4j/’> <appender name=”console” class=”org.apache.log4j.ConsoleAppender”> <layout class=”org.apache.log4j.PatternLayout”> <param name=”ConversionPattern” value=”%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L – %m%n”…

Posted in Java Posts, Java Posts, Java Tutorials | Tagged , , , , , | Leave a comment

How to use log4j.properties example

In the morning i just need logs of application on my console so i find out this quick way to see logs with exact call time. How to use log4j.properties example that are used in my project. 1. Output to Console All logging will be redirected to your console. log4j.properties # Root logger option log4j.rootLogger=INFO,…

Posted in Java Posts, Java Posts, Java Tutorials | Tagged , , , , , , | Leave a comment

Read SharePoint news Web Service list in Java tutorial

In this tutorial Read SharePoint news Web Service list in Java tutorial,SharePoint news Web Service list in Java tutorial,Read SharePoint news list in Java,SharePoint Web Service list in Java, I will show how to consume and use a SharePoint Lists Web Service from java with Netbeans. The objective will be to read the items of a…

Posted in Java Posts, Java Posts, Java Tutorials | Tagged , , , , | Leave a comment

Saving/Retrieving BLOB object in Spring Roo

The article Saving/Retrieving BLOB object in Spring Roo assumes the Reader is a Developer with some familiarity with Spring Roo. For introductory information about Spring Roo vist http://www.ibm.com/developerworks/java/library/os-springroo1/index.html?ca=drs-. Project setup Spring Roo brings alternatives for setting up a project: a) Entering project using a script file or b) Creating the database first and reverse engineering it…

Posted in Java Posts, Java Posts, Java Tutorials | Tagged , , | Leave a comment

Spring Roo Introduction

In Spring Roo Introduction you will see this is an open source software tool that uses convention-over-configuration principles to provide rapid application development of Java-based enterprise software. The resulting applications use common Java technologies such as Spring Framework, Java Persistence API, Java Server Pages, Apache Maven and AspectJ. Spring Roo is a member of the Spring…

Posted in Java Posts, Java Posts, Java Tutorials | Tagged , , , , | Leave a comment

Facebook Iconfacebook like buttonTwitter Icontwitter follow buttonFollow Us
Follow

Get every new post delivered to your Inbox

Join other followers

%d bloggers like this: