Home  >  Article  >  Java  >  Struts User and Development Guide (Preface 3)

Struts User and Development Guide (Preface 3)

黄舟
黄舟Original
2016-12-17 10:56:271077browse

 0.9 xml language
 Many objects provided by the Struts framework are provided by deploying XML configuration files. Configuration of javaWeb applications is also provided through XML files.
  
 For more information about XML configuration files and Java Web applications, please refer to:
  
  Configuring Web applications in The Java Web Tutorial http://java.sun.com/webservices/docs/1.0/tutorial/doc/WebApp4. Html#64678;
 
 For how to use XML files in ordinary Java applications, you can refer to the Java API for XML PRocessing in The Java Web Services Tutorial. The Struts framework makes full use of this API internally, and Struts developers may not use it when developing their own applications.
 
 0.9.1 Descriptors
 When Java applications use XML configuration files, elements are often used as descriptors, and the application does not directly use XML elements. These elements are used to create and configure (or deploy) Java objects.
 
 The Java Servlet platform uses XML configuration files to deploy Servlets. Similarly, the Struts framework also uses XML files to deploy objects used by the framework.
 
 0.10 Other layers (layers)
  The Struts framework provides the controller layer of web applications. Developers can use some other standard technologies to provide a data access layer and a presentation layer to work together with the controller layer. Commonly used popular data access technologies include:
   .Enterprise Java Beans;
  .Hibernate;
  .iBATIS;
  .JDBC;
  .Object Relational Bridge; late ;
 . You can specify security roles between actions.

The above is the content of the Struts users and development guide. For more related articles, please pay attention to the PHP Chinese website (www.php.cn)!



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn