Oberge editor;
"Deep experience---The core foundation of Java Web Development Insider"
Do not spend too much time on the JSP, in time on the servlet more.
Part IIIPopular MVC architecture and Java Object Persistence technology. including Struts/webwork, Spring, Hibernate
Requirements: MVC-------Understand MVC design patterns, processes.
WebWork-------Understand the mechanism and workflow of
() Method:public void forward (ServletRequest request, Servletreponse reponse) throws Swerletexception,ioexceptionThe forward method allows you to forward requests to other resources such as a servlet or JSP or HTML, which is then responsible for the response. Such as:
RequestDispatcher rd = Getservletcontext (). Getrequestdispatcher ("/catalog");Rd. Forward (Request,response);
Include () Method:public void include (ServletRequest request, Servletreponse reponse) thro
Struts was originally part of the Apache Jakarta Project, and the project's founders wanted to improve and improve JavaServer Pages, Servlets, tag libraries, and object-oriented technical standards through research on the project. The initial struts1.x soon became popular in the enterprise development, at the same time, there was a very good web development framework was born, that is webwork, but webwork n
-------- understand how to use the set Interface Class and the Set server interface class in the Java. Io package.
RMI -------- understand the basic working principle of RMI, understand the definition of remote service interface class, remote interface class, client call class and deployment, and compile RMI applications.
In addition, ------- learn to use tomcat, JBoss/WebLogic servers during the learning process
Reference Book: edited by Lin shangjie in jsp2.0 Technical Manual;
Deep understand
This article is from: Cao shenghuan blog column. Reprinted please indicate the source:Http://blog.csdn.net/csh624366188
Struts was originally part of the Apache Jakarta project. The project creator hopes to improve and improve the technical standards of JavaServer pages, Servlet, label library, and object-oriented by studying this project. The initial struts1.x soon became popular in enterprise development. At the same time, a very good web development framework was born, namely
Web This is a very interesting document, so the summary, in fact, like reading notes, like the 3/25 published:
Do not know how to translate sweet spots, is the sweet place, sweetness, honey point, honey points?
This article is based on interviews with the following people (the last two views of the original or see it yourself!) ):
JSF Jacob Hookom
RIFE Geert Bevin
Seam Gavin King
Spring MVC Rob Harrop
Spring Web Flow Rob Harrop and Keith Donald
Stripes Tim Fennell
Struts Action 1 Don Brown
Tape
1. Use maven2 to generate a WEB Project
In the path of the project to be created, open CMD and enter the command:
MVN archetype: Create-dgroupid = com. Sw. webwork-dartifactid = webwork-dversion = 1.0-darchetypeartifactid = Maven-Archetype-webapp
Where:
Archetype: Create indicates that a project structure is to be generated;
-Dgroupid = com. Sw. webwork
Technical Manual;Deep understanding of Java Web development-core BasicsDo not spend too much time on JSP, and put more time on servlet.
Part 3:Popular MVC Architecture and Java object persistence technology. Including webwork, spring, and HibernateRequirement: MVC ------- understand the MVC design mode and process.Webwork ------- understand the mechanism and workflow of webwork implementing MVC. Master
different checksum content, but cannot validate child objects.? STRUTS2 supports validation through the Validate method and the Xwork checksum framework. The Xwork validation Framework supports chain checksum properties using the checksum content checksum defined for the attribute class type
control performed by action:? STRUTS1 supports each module with a separate request processors (lifecycle), but all the action in the module must share the same life cycle.? STRUTS2 supports creating differe
Technical Manual;Deep understanding of Java Web development-core BasicsDo not spend too much time on JSP, and put more time on servlet.
Part 3: popular MVC Architecture and Java object persistence technology. including webwork, spring, and hibernate requirements: MVC ------- understand the MVC design pattern and processing process. webwork ------- understand the MVC implementation mechanism and workflo
different checksum content, but it cannot validate child objects.? STRUTS2 supports validation through the Validate method and the Xwork check framework. The Xwork checksum framework uses checksum content validation defined for the attribute class type to support the chain check sub-property
control of Action execution:? STRUTS1 supports each module with a separate request processors (life cycle), but all the actions in the module must share the same life cycle.? STRUTS2 supports creating diffe
or JDBC transactions. Spring provides an AOP framework written in the standard Java language, which provides pojos with declarative transaction management and other enterprise transactions-if you need to-implement your own aspects. This framework is powerful enough to allow applications to get rid of the complexity of ejbs and enjoy key services related to traditional ejbs. Spring also provides a powerful and flexible MVC Web framework that can be integrated with IOC containers. 【Springide: The
.
FTP
Upload the classification file to the specified server through ftps
Gen-tests-Dao
Generate Test classes for Dao Module
Gen-tests-Service
Generate Test Programs for Modules
Gen-tests-Web
Generate a test program for the web module
Hibernatedoclet
Generate a hibernate ing File
Init
Add a custom tas
conversion rules.
◆ Verification and error handling
In JSF, you can easily implement rules such as "a field cannot be blank" or "a field must be a number automatically. The customer also hopes to get a proper prompt after entering the error data. JSF provides a method to complete most similar tasks.
◆ Internationalization
JSF provides international publishing management to address topics such as character encoding and resource file selection.
◆ Custom components
◆ Selectable Renderer
By default
, such as JTA or JDBC transactions. Spring provides an AOP framework written in the standard Java language that provides POJOs with declarative transaction management and other enterprise transactions-if you need it-to implement your own aspects. This framework is powerful enough to allow applications to throw away the complexity of EJBS while enjoying the critical services associated with traditional EJBS. Spring also provides a powerful and flexible MVC web framework that can be integrated wit
Java from the birth to the present, all the way soaring, can be said red all over the world, red to purple. With the popularity of Java, many Java frameworks have been born:Spring, WebWork, Struts, HIbernate, Jdiy, Jfinal, Quartz, welocity, IBATIS, Compiere erp CRMSpring Framework "Java Open source EE framework"Spring is a powerful framework that solves many of the problems that are common in the development of Java EE. Spring provides a consistent ap
Currently, opensource is surging, and I am one of the supporters of opensource.The problem of using webwork2 in WebLogic makes the author sweat for the development of opensource .....
Opensymphony is one of my favorite open-source organizations. Since learning osworkflow, we know that it has variousWebwork is one of the most concise software. webwork is now widely used in China.The rate is also very high, ......
Last week 4, we used webwork2.1.jar on
corresponding action method in the Controller Using Reflection based on the action = xxx or other parameters in the URL.Bind input data:Spring provides the binder to bind pojo through a one-to-one reflection of the name. You can also directly retrieve data from request. getparameter.Input data verificationSping provides the validator interface. Of course, you can also use the open source commons-validaor to support the best.Interceptor)The interfaces provided by spring interceptor need to be co
The following describes several open-source JSP development frameworks.
WebWork
Developed by OpenSymphony, WebWork is a pull-over MVC J2EE Web framework dedicated to componentization and code reuse. Currently, the latest version of WebWork is 2.1, and the predecessor of WebWork2.x is the WebWork developed by Rickard Ob
OverviewSTRUTS2.0 is a concrete framework of MVC thought.the relationship between struts2.0 and struts1.0To understand the relationship between struts1.0 and struts2.0, first of all to know that Webwork,webwork is a new framework of MVC thought, the framework developed by the Opensymphony organization, a great degree of recognition by everyone, before the WebWork
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.