Feelings of deep learning day today.
Am talking about the database connection pool. Very good topic. Is what I found when writing the project a solution to the problem. Access to the database, after all, have to face a problem. Use the database connection pool, which eliminates the stop the performance of creating and destroying connections consume. I am curious about is the use of JNDI. the so-called database connection pool is the InitialContext of the. It is based on the configuration file from the container to read out the attributes to create and hold a connection. You can lookup ( name) method to get connected (DataSource). because of the use of a standard implementation provided here DriverManager connection to DataSource and is consistent. Internet search of the investigation, found that the use of JNDI is very wide. Remember a few days ago to find IoC information, initially emphasized are the traditional way to obtain new objects and JNDI lookup. IoC also proposed a complete different mechanism. was the understanding that the creation and maintenance of the object from the container when necessary to achieve the application may request the container . container will be given an object. Now it seems this and I understand the the JNDI is consistent. some doubts. In short the two concepts should not well understood. to be understood.
Another issue is URL rewriting. Before the term was to see Cookie and Session in learning time. That the implementation is based on the Session Cookie, if the Cookie functionality is turned off, Session must be other ways to complete. Java innovative URL rewriting is proposed. Today, the teacher's function is to hide implementation and streamline the browser address bar and then simplify access. as is the use of other components, so nothing technical at all.'d really very good, but functional. This to me xml file is inspired by the use of decision-making process can be very flexible process. will be a great number of variables into the XML data, you can reduce application maintenance costs.
With the deepening of the course, and finally a little more clearly. I began to realize the benefits package. First, the connection pool today after school need to change the forum project is doing the database connection. Here because the common operations on the database were package. So you only need to getConnection () implementation of code changes on it. another, we must learn that the framework of Spring, the information from my point of view before the view is to enhance this "embrace change" capability. is This it does very complicated. One of the reasons'd easily figured out, there is loss of income will have some thing. Our Java study group had more on the right track. yesterday and today, we eat together and then come listen to the sorting algorithm Xiaoge . is that a few people, but very seriously. This is what we had desired effects. group content is also very good, Xiaoge prepared quite well, will talk about the principles of heap sort all understand. on the code , that is, they ought to do tonight. I found these algorithms contains strong unspeakable charm. such as an array with the same sort is needed to directly select the sort bloated and seemed efficient and elegant heap sort . I've seen so-called "data structure thinking" also has some experience. an array by treating it as a binary tree can be drawn to a new sorting algorithm is relatively efficient. probably can be counted as data structure An explanation of thinking it.
Today, the planned investment over seven resumes. This is a way to persuade their own quiet. VII, a satisfactory figure. I have very important lessons need to learn meditation, there are many points to make their own review of knowledge. If looking for work delayed because of the things now, but could not find a job. it is so wonderful. I do my strength, and if no results, then wait until a month later come!