One of the Java Web layered Design Learning __java

Source: Internet
Author: User

Always know that Java things are a lot of chaos, as a beginner, I like a rookie, everywhere asked people, at the same time very inferiority, afraid of their own learning, but, insist that I will not be so easy to give up, what girls are not fit to learn programming ah, do not believe it, do their own to do the study, Tutor is to Cui thesis, I am to graduate, so learn Java is also necessary. Come on...

Pull so much, hehe, oneself builds self-confidence to oneself just.

Java, like other development languages, has its own development platform, which has already been mentioned in the previous blog, as well as Java desktop Development, Java Web Development, Java Embedded development and so on, can imagine, Java is how powerful.

Java Web layering refers to MVC. You can understand that.

Java Web Layered Design: Presentation layer, business layer, persistence layer

1, Performance layer: is responsible for the display of an operable interface, call the business layer interface, the framework of general use: Struts1 struts2, of course, webwork, ... 、

Struts is based on the Java Platform MVC framework, mainly using servlet and JSP technology to implement, as the controller of MVC.

2, Business layer: Responsible for processing business logic, to provide the performance layer callable interface, and call the persistence layer of the interface for data storage, the mainstream framework: Spring,ibatis

Spring is a lightweight container with the core of Bean Factory. Can be combined with other frameworks. Provides an implementation of the IOC container and AOP (level-oriented programming).

3, Persistence layer: Responsible for storing business data to file or database, storage is persistence, mainstream framework: Hibernate

Hibernate is an open source Object relational Mapping (ORM) framework, which is a very lightweight object encapsulation for JDBC, allowing programmers to manipulate the database with arbitrary object-programming thinking.

4, the bottom is the database.

The concrete tomorrow to say again, today also must look at the book ~ ~ ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.