Programming     Travel Logs     Life Is Good     Surfing Online     About Me
Reading is faster than listening. Doing is faster than watching.
-Naval Ravikant
Published at: 2018-06-16 22:29:30

When trying to commit Chinese data into the database in my application, I encountered a few errors. It turns out that I need to do a few modifications for my application, so that it can support Chinese characters.

Published at: 2018-06-11 22:08:46

I've finished the display portion of the code in my "Today in History" application. Now it is time to start the management portion of the code. For sure, I don't want any users, including anonymous users, to be able to manage my application. So, before implementing the management portion of the code, let's find out how to use Spring Security to protect my application from being accessed by anonymous users.

Published at: 2018-06-10 13:47:04

I've learned several techniques that I need to know to create this application, and I also have added the "Birthday of celebrities" information to my "Today in History" application. Now it is time to finish the main part of this application: displaying all kinds of information of today in history.

Published at: 2018-06-10 13:28:14

There is no doubt that a single table is not enough. In my application, besides the table "day" which stores the general information of a day, I need other tables to store more information, such as the birthdays of famous celebrities. And these tables surely have relations. So I'm gonna learn how to handle these relations of tables in Spring MVC and Hibernate.

Published at: 2018-05-12 17:08:21

Since the database was created, the next step will be using it in my application. I don't want to deal with the database directly. Instead, I want to select an ORM (Object-relational Mapping) framework. Since the Hibernate framework is the most popular, I want to know how it works.

Published at: 2018-05-12 16:53:17

1. Download "MySQL Community Server" from https://dev.mysql.com/downloads/ Here is the .zip file that I have chosen: "mysql-5.7.19-winx64.zip". 2. Unzip "mysql-5.7.19-winx64.zip" to your favorite folder. Here is my favorite folder: "C:\Program Files\mysql" 3. Create a file named "my.ini" in the "C:\Program Files\mysql" folder, and put the following text in:

Published at: 2018-05-12 16:35:27

To learn the Spring MVC framework, I'm going to create a web application named "Today in History", which has only one web page and it will display what happened today in history, such as historical facts, events, famous birthdays, world history, etc.

Published at: 2018-05-09 21:58:10

how to use Maven Project to Download Libraries, how to handle the "invalid LOC header" error

Programming    [Java] 
Published at: 2018-05-09 21:35:23

To setup the development environment for Java Servlet, it involves 3 steps: Setting up Java Development Kit Setting up Web Server – Tomcat Setting up IDE – Eclipse

Published at: 2018-04-28 08:30:02

Since version 2.4.4 OpenCV supports Java. In this tutorial I will explain how to setup development environment for using OpenCV Java with Eclipse in Windows, so you can enjoy the benefits of garbage collected, very refactorable (rename variable, extract method and whatnot) modern language that enables you to write code with less effort and make less mistakes. Here we go.