Beginners Java Web (jsp + servlet) opinions and recommendations

Into the pit reasons:

    North owned a talent, he looked through eyebrow lake landscape, Wanbian king coaster, finally realized there was no work to do - the big devil ginger old man left the Java Web operations.
    The surface is a Java Web project, but the actual number of the devil brothers compete Meng a great tool new working time. Calabash Brothers rivers and lakes Yuyu brother could not stand: Final Battle liver is not there anything the reason, dead Andrews or Down? Come out Andrews monster , another Android project turned out. Then, monster graphics, design patterns strange, secret Party operating system, reported Flying Song, sometimes overwhelming. Battle ground battle , Meng tears almost new.
    Almost copy? Imitation Down? Not, hang the devil carrying a sword.
    By almost? Buy peace? Nor, it is also poor.
    No tension, in SUNYOUNG trend, one dig Agricultural University, liver almost ... To be continued.

    Soup touts translation : the end of last month, the teachers have to lay out the project work (not actively lectures, assignments it very Lehe). Android phone side write every day Express (each person different topics), design patterns lab reports, familiar with the operating system for this experiment, Java web large operations (library management system) object-oriented teacher, write three-dimensional graphics OPENJL robot (the request would sing, dance, rap as well as basketball ). JavaWeb the contact time is not long, here briefly a wave.

Out of the book:

    Now web front end to promote separation, so the tendency servlet in jsp + gradually decreases. Because jsp and servlet put together to write, there is no clear distinction between levels, large projects often difficult to debug. Separating the front and rear ends of their duties, engineers have their own areas of expertise, do interface interface to do, write back to write the background is more suitable for bigger projects. jsp write up more trouble inside the package java language, more cumbersome.
    New to time, we must have a foundation of books (I was teaching "java web Advanced Programming"), with the understanding of the general process, you do not look (because these are mostly grammar, the principle of personal feeling that you have to be in the know go fine chemicals) under the premise of syntax. A book is not enough light, and then saw a small break stop learning video, search java web, the recommended amount of play ranked No. 3 in the https://www.bilibili.com/video/av29086718) , first of all html + js talking about grammar, I want to learn html to see.
    Now almost know jsp and servlet, js, css their basic function of. html feel very boring to write (roommate said I was not spiritual), the layout is very obscure syntax interface difficult to adjust, but the more practice a few days should be able to have their own page design grammar habits, like on my Android interface design has been in use Linerlayout percentage layout layout, to get started after a very smooth. There are many online open source html templates, front-end mall template , are more beautiful can be directly used. If you just want to write back-end, no need to tangle on writing html, do not very fine, in front of layout with a div or table is enough (a few ordinary buttons and so on).
    Java web has been found during several hierarchical concept, mvc ideas, web layers have carved, three small enough project, responsible for the database connection dao layer, model layer encapsulates some of entity classes, controller layer jsp page is responsible for transmission over data processing. The general process is, mvc that idea, event control layer receives view, and then call the model layer processing and then returns the results back to the interface, the interface changes accordingly. (In the simplest case, the login interface trigger event to pass parameters to the servlet, returns a value of 0 to log into the switch interface, the interface returns 1 or redirect this interface on the line, do you think it did not actually jump jump servlet and then re directional). Stratified contribute to, or has been a large simulation, bug out of a bad change, too early to have such different levels, a big problem of small ideas.
    Under several projects, the project also saw the seniors, the harvest is the largest, but also to the fastest, you will find that you know are in front of scraps of knowledge suddenly strung up, and then the process will become clear.
    The above video link, introduction of the database area is very (adj) dry goods, you will see a basic operation of the video, lead pack, you can call api. jdbc count simple place, but during a database on local newspaper may have been some mistakes, careful resolved to deal with the database visualization tool is more convenient.
    Good to use before designing their own database tables, interface to design good (those open source framework, ah what, it is still not comfortable with), use case diagrams a good picture of the process, and then try to do the login screen the next practice, each layer of interactivity handle, then the other is also a reason.

                                                                                  - Paper come Zhongjue know this practice is essential.

发布了50 篇原创文章 · 获赞 67 · 访问量 1万+

Guess you like

Origin blog.csdn.net/weixin_41033366/article/details/103515211