【正文】
truction agglomeration. In fact, uses the tool w hich provides by Eclipse itself to be able to surmount the Java development, may expand the existing Eclipse appl ication procedure, or even founds the brandnew application procedure. Eclipse by a script level constitution, contains in many functional modules or the Eclipse terminology socalled “the plugin unit”. The plugin unit is provides all functions in the Eclipse application procedure the module. They cooperate through its API to pay the final oute together. In Eclipse, even the most foundation39。s plugin unit, seals in the plugin unit. In order to expand the existing Eclipse function or carry on the construction in above, the plugin unit the concrete expansion contribution for the expansion spot w hich will expose by other plug in units. Usually, the plugin unit concentrates the specific regio n responsibility, and gives through or a many expansion way other responsibility designation other plugin units. For example, a plugin unit allows you parallel to pare two documents visibly the contents, but it will not care how to read these document s even how to explain these document structure。s work. When pared with two documents, this plugin unit first inspects whether to have another plugin unit to be possible to explain these document structure. If found one, it to the plugin unit inquiry related file organization information w hich found, and used this information in the parison process. May see that the modular construction was Eclipse has provided the huge flexibility, and provided one to be possible to support the massive application procedure platform which the original design has not expected. 4 Structs function synopsis Struts is a MVC frame (Framework), uses in developing Java fast the Web application. Struts realizes the key point in C(Controller), Action w hich and we have custommade including ActionServlet/RequestProcessor, was also V(View) provides a series of rows to have custommade the label (Custom Tag). Spring is a light vessel (lightweight container), its core is the Bean factory (Bean Factory), with constructs M(Model) w hich we need. Above this foundation, Spring has provided AOP (AspectOriented Programming, face stratification plane programming) realization, provides under the nonmanagement environment with it to declare services and so on way business, security。 DAO/ORM realizes facilitates us to carry on the database the development。s each HTTP. The Web vessel will use a HTTP response to make the response. Controller (controller), the controller receive from browser39。s condition, and helps the control application procedure the flow. Speaking of Struts, this is through takes the actual service logic “thin” the packing Action kind to plete. Model (model) condition, model expression application procedure condition. Service object renewal application procedure conditio n. ActionForm bean in conversation level or request level expression model condition, but is not in the lasting level. The JSP document uses JSP to mark the read from the ActionForm bean information. View (view), the view is a JSP document. And does not have the flow logic, does not have the service logic, also does not have the model information Only then marks. The mark causes Struts is different with other frames (for example Velocity) one of factors. Just like the Struts controller is (event usuall y is HTTP post) maps the event kind of servlet. you to expect the airoperated controller use configuration files to cause you not to need to carry on to these values the hard code. The time has changed, but method as before. The Action kind, ActionForm maintains the Web application procedure the conversation condition. ActionForm is one abstract class, must found this kind of subclass for each input form model. When I said w hen input form model, w hat refers to the ActionForm expression is establishes or in the renewal general sense data by the HTML Action kind is service logic packing. A Action kind of use is transforms HttpServletRequest into the service logic. Must use Action, please found its subclass and covers process () the method. ActionServlet (Command) will use perform () the method the parametrization kind to transmit for ActionForm. Still did not have too many repugnant () to transfer. When the event progresses to this step, the input form data (or HTML form data) has been withdraw n from the request class and shifts to the ActionForm kind. Considered that a Action kind of another way is the Adapter design pattern. The Action use will be “a kind of connection will transform another connection which will need for the client. Adapter enables the kind the joint operation, if does not have Adapter, then these kinds will be unable because of the inpatible connection the joint operation.”. In this example39。s limitation exposes day by day. In order to solve this problem, the people also took many tortuous paths, has used some not good method, for instance increases many attribute results to HTML bees the code very extremely fat, turns the picture the text, excessively ma ny es the typesetting using Table, expresses the w hite space with the blank picture and so on. Appears un