Java - the fun of learning --- (transfer)

zhaozj2021-02-16  93

Yesterday started from the AppFuse (Struts AppCation), then SpringWork, today I look at the Spring Chinese Community, which feels a lot of benefits. It feels like learning hibernate before looking like it. Just is popular, it is slightly poor, people who may apply are not so much.

Then there is too much thing that needs to be learned. Summarize the learning situation, for a while, if you don't have to use EJB, it may be better than the combination: Hibernate / Ibatis Spring TapeStry / Struts

Among them, the traditional one is: Ibatis Spring Struts. Although Ibatis is a new thing, he is still a simple packaging of JDBC (then writes JDBC yourself or uses commons-dbutil). Struts is a packaging of the traditional implementation of the View layer, and some people say it is still troublesome.

More new points are: Hibernate Spring Tapestry. This combination features: objects, components. Hibernate is a more famous or mappign, and Tapestry has recently discussed a comparative fire, which is considered to be a good alternative for traditional JSP / Taglib.

I think the second solution is likely to be the direction of the future. The first program can be smaller if you have used iBATIS / Struts even if you have not contacted iBATIS / Struts. Wiring Your Web Application With Open Source Java This article describes the combination of Struts Spring Hibernate. The advantage of using Spring Hibernate is that Spring itself provides a good packaging for Hibernate and is very convenient.

There are spring in the above combination. Of course, you can use it, but it should be beneficial to use it.

Ah, now the pressure is coming. In the stuff mentioned above, I only have a little more familiar with Struts, other hibernate, Ibatis have some contact. Spring is completely started. The pressure is really big.

How to do, watch the document, read book, learn the relevant application project source code. There are some project code in the application instance of struts / hibernate / Spring / Ibatis, and some of them are used. For example, the APPFUSE that is the beginning is based on a project foundation based on Struts Spring Hibernate / Ibatis. It is also a foundation for your development project, and he is all configured. I also decided to use this stuff in the project I did in my own spare time.

Today, I have been watching Spring, I feel awesome. Before it was just a little bit of understanding, I know good, there is no time to put it there. Today, I have studied it. I saw that I can only use his part of the feature in the beginning, such as you can write JDBC to Spring's JDBC packages available in now. Haha, I want to start using it in the company's project, although I haven't truly started his practice ...

I also found a website QCA today, the name is very simple, QCA, its goal is to provide some new technology applications. From this perspective, it is very new. It is this small website to make a more detailed analysis of Spring applications.

转载请注明原文地址:https://www.9cbs.com/read-14431.html

New Post(0)