freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

畢業(yè)論文外文翻譯-運(yùn)用springmvc框架進(jìn)行快速的開源j2ee應(yīng)用程序開發(fā):案例研究-文庫(kù)吧資料

2024-12-08 13:40本頁(yè)面
  

【正文】 ently. We are interested to increase productivity and decrease plexity. This has been an underlying theme in a movement to change the way programmers approach developing Java 2 Platform, Enterprise Edition (J2EE) Web applications. Our focus is how to create J2EEpliant software without using Enterprise Java Beans (EJB). The one of the best alternative is the Spring framework, which provides less services but it is much less intrusive than EJB. The driving force behind this shift is the need for greater productivity and reduced plexity in the area of Web application software development and implementation. In this paper, we briefly describe spring underlying architecture and present a case study using Spring web MVC Framework. Index Terma: MVC, Spring, XML I. INTRODUCTION Web is the very plex issues these days. Since the desire of the panies and anizations are increasing so the plexity and the performance of the web programming matters. Complexity with the different types of munication devices is increasing. The business is demanding applications using the web and many munication devices. So with the increase load of the data on the inter we have to take care of the architecture issue. Let us discuss how it works fast using spring web mvc framework the rapid application development while maintaining the Model View Spring Web MVC Framework for rapid open source J2EE application development: a case study 2 Architecture of the application. Spring frameworks es with rich set of features, let us discuss these features in brief. 1. Inversion Of Control: Inversion of Control or IoC is one of the techniques used to wire services or ponents to an application program. The IoC is ―A software design pattern and set of associated programming techniques in which the flow of control of a system is inverted in parison to the traditional interaction mode.‖ In IoC instead of an application calling the framework, it is the framework that calls the ponents specified by the application. The IoC can be explained as Injection of required resources or dependency at runtime into the dependent resource which is also known as Dependency Injection. The is the actual representation of the Spring IoC container which is responsible for containing and managing the beans. The BeanFactory interface is the central IoC container interface in Spring. A bean is simply an object that is instantiated and managed by a Spring IoC container. These beans and the dependencies between them are reflected in the configuration metadata used by a container. 2. Constructor Dependency Injection: we can use the java class constructor to load the bean values. A java Class is defined with a constructor of single field. file provides the value to be passes to the constructor. Now another java loads the xml file using the BeanFactory Method. This uses the xml file to load values in the constructor of the java file. This is used to pass values to the constructor. 3. Setter Dependency Injection: With every bean we defined the getters and setters. We can also use setters method to set the values in the beans. setters method overrides the values loaded from the beans. 4. Interface: we can define the interface class in spring. To implement this we will import interface to the java program. Now we can use methods defined in interface using spring and xml. 5. Inheritance: One java class can acquired the properties of another class just like a java program. There are three sub types of it. 1. Abstract: Beans declared abstract cannot be inherited in the springs. 2. Parent Child: we can define hierarchy like parent child. 3. Parent Child Sub Child Relationship: in this we can define hierarchy for 3 or more classes. 6. Autowiring: Autowiring is used to map the property name, values in xml file with java file. There are four types to integrate it. byName, byType, constructor, autodetect. If nothing is defined about it then byName is the default. Spring Web MVC Framework for rapid open source J2EE application development: a case study 3 7. Scope of Beans: All beans defined in spring are having scope of four values prototype, session, request, singleton,globalsession. This is used to control the access of the beans. 8. Reference Beans: One bean in the xml file can be assigned values from the other bean. This is used to read values from one bean and assign to another bean. II. MAJOR SPRING COMPONENTS In the spring we also follow the principals of the MVC. It has been designed more for the desktop and inter based applications. Spring consist of three core collaborating ponents. 1. Controller: Handles navigation logic and interacts with the Service tier for business logic2. Model: The contract between the Controller and the View Contains the data needed to render the View Populated by the Controller 3. View: Renders the response to the request Pulls data from the model. Core ponents in the spring MVC are as follows. 1. DispatcherServlet: this is the spring’s front controller implementation. receives the request and transfer it to the DispatchServlet. This is the first controller which interacts to the requests. It is also known as implementation of the Servlet. It controls the plete flow of the application and navigates the flow of application. 2. Controller: this is the user created ponent for handling requests. It encapsulates the navigation logic with it. Controller delegates the services for the service object. 3. View: vie
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1