Since WeChat is only popular in China, and all of their development articles are only written in Chinsese, I'll not offer the English version of this blog.
Since WeChat is only popular in China, and all of their development articles are only written in Chinsese, I'll not offer the English version of this blog.
Since WeChat is only popular in China, and all of their development articles are only written in Chinsese, I'll not offer the English version of this blog.
It is very straightforward, so there is no extra explanations needed, I'll just list all the necessary steps in this article, in stead of explaining
From today on, I'm going to develop a Java web site to replace my current personal web site. It'll probably involve the following techniques: Java Spring MVC MySQL Bootstrap
Since the goal is to create a common Socket server, which means it can be used in very different occasions, I need a good structure to support it.
Although I normally don't want to use Java to create a GUI, I'm gonna do it this time, because I want to develop a Socket Server with Java, and it is better to have a User Interface
It is very straightforward, so there is no extra explanations needed, I'll just list all the steps in this article, in stead of explaining too much. Just like before, let's take it easy and enjoy a few beautiful photos first.
When trying to publish the web application onto the server, I found a bug: multiple access of the page can cause the Tomcat server to block and not responding. After some investigation, I finally found the reason: it opens a session when performing queries to the database each time, but it never close the session.
Time to implement and finish the management function now. It is not very complex, so I'll just post codes here without explaining too much.
According to its official document, HibernateTemplate is a helper class that simplifies Hibernate data access code. Let's find out how it simplifies the code and how to let it works.