Struts Framework

Author(s):  
Jana Polgar ◽  
Robert Mark Braum ◽  
Tony Polgar

When Java servlets were first invented, many developers quickly realized that they were faster and more powerful than the standard CGI. They were also portable and extensible. But writing HTML to send to the browser in an endless stream of println() statements was not practical. The next framework — Java Server Pages (JSP) — turned servlet writing inside out. JSP allows developers to mix HTML markup with Java code, and to therefore enjoy all the advantages of servlets along with easy development with HTML. The next stage was the realization that Java Server Pages and servlets could be used in mutual cooperation in Web applications. The servlets could serve as controllers and drive control flow, and the JSPs could concentrate on producing HTML pages. This actually was the rediscovery of the classic MVC pattern that was first abstracted in the famous Smalltalk MVC framework (Burbeck, 1987).

Computers ◽  
2020 ◽  
Vol 9 (3) ◽  
pp. 56
Author(s):  
Gaetanino Paolone ◽  
Martina Marinelli ◽  
Romolo Paesani ◽  
Paolino Di Felice

As Web applications become more and more complex, the development costs are increasing as well. A Model Driven Architecture (MDA) approach is proposed in this paper since it simplifies modeling, design, implementation, and integration of applications by defining software mainly at the model level. We adopt the The Unified Modeling Language (UML), as modeling language. UML provides a set of diagrams to model structural and behavioral aspects of the Web applications. Automatic translation of UML diagrams to the Object-Oriented code is highly desirable because it eliminates the chances of introducing human errors. Moreover, automatic code generation helps the software designers delivering of the software on time. In our approach, the automatic transformations across the MDA’s levels are based on meta-models for two of the most important constructs of UML, namely Use Cases and classes. A proprietary tool (called xGenerator) performs the transformations up to the Java source code. The architecture of the generated Web applications respects a variant of the well-known Model-View-Controller (MVC) pattern.


Author(s):  
Н.Д. Маслов ◽  
Е.В. Попова

В статье рассматривается исследование модели соединения Web-приложения и Web-службы напрямую и через прокси. Рассматривается кроссплатформенная высокопроизводительная среда ASP.NET. При разработке используется паттерн MVC. Формирование запросов реализуется с помощью архитектурного стиля REST и протокола передачи гипертекста HTTP. Строится модель взаимодействия Web-приложения и Web-службы. Целью данной работы является исследование данной модели взаимодействия напрямую и через прокси. Были разработаны Web-приложение, являющееся сервисом по аренде видеофильмов и Web-служба, функциональное назначение которой – работа с базой данных Web-сервера. Для реализации прокси сборки было создан отдельный проект. В настройках проекта были прописаны протокол передачи данных, хост API, порт и роутинги перенаправления запросов. Исследование модели проводилось с помощью программного обеспечения Postman и инструментов браузера. Результаты исследования показывают плюсы и минусы использования прокси при взаимодействии Web-приложения и Web-службы. Данная статья поможет заказчикам, разработчикам Web-приложений выбрать модель соединения Web-приложения и Web-службы, соответствующую решаемым задачам. The article considers the study of the connection model of a Web application and a Web service directly and through a proxy. A cross-platform high-performance environment is considered ASP.Net. The MVC pattern is used during development. Request generation is implemented using the REST architectural style and the HTTP hypertext transfer protocol. A model of interaction between a Web application and a Web service is being built. The purpose of this work is to study this model of interaction directly and through a proxy. A Web application was developed, which is a video rental service and a Web service, the functional purpose of which is to work with a Web server database. A separate project was created to implement the build proxy. In the project settings, the data transfer protocol, API host, port and request forwarding routings were registered. A previously developed service was used as an API. The model was studied using Postman software and browser tools. The results of the study show the pros and cons of using a proxy when interacting with a Web application and a Web service. This article will help customers, developers of Web applications to choose a model for connecting a Web application and a Web service that corresponds to the tasks being solved.


10.29007/jpj6 ◽  
2019 ◽  
Author(s):  
Ziping Liu ◽  
Bidyut Gupta

In this paper, we reviewed the tiered architecture and MVC pattern for web development. We also discussed common vulnerabilities and threats in web applications. In order to better understand how to develop a secured web application, we furthermore examined best practices from Angular and ASP.NET core frameworks as well as sample codes for secured web apps.


2006 ◽  
Vol 13 (10) ◽  
Author(s):  
Christian Kirkegaard ◽  
Anders Møller

We present an approach for statically reasoning about the behavior of Web applications that are developed using Java Servlets and JSP. Specifically, we attack the problems of guaranteeing that all output is well-formed and valid XML and ensuring consistency of XHTML form fields and session state. Our approach builds on a collection of program analysis techniques developed earlier in the JWIG and X<small>ACT</small> projects, combined with work on balanced context-free grammars. Together, this provides the necessary foundation concerning reasoning about output streams and application control flow.


2011 ◽  
Vol 63-64 ◽  
pp. 940-943 ◽  
Author(s):  
Chang Jiang Li ◽  
Xiao Hui Li ◽  
Yu Fen Wang

Research the MVC pattern, Struts framework and Struts framework application in web development mainly. Design and realize On-line bookstore system. The testing results show that using Struts framework to develop Web systems can greatly improve the efficiency of system development, and can increase the stability, expansibility and maintainability of the system greatly.


Author(s):  
Vaibhav Sharma ◽  
Soha Hussein ◽  
Michael W. Whalen ◽  
Stephen McCamant ◽  
Willem Visser

Abstract Path-merging is a known technique for accelerating symbolic execution. One technique, named “veritesting” by Avgerinos et al. uses summaries of bounded control-flow regions and has been shown to accelerate symbolic execution of binary code. But, when applied to symbolic execution of Java code, veritesting needs to be extended to summarize dynamically dispatched methods and exceptional control-flow. Such an extension of veritesting has been implemented in Java Ranger by implementing as an extension of Symbolic PathFinder, a symbolic executor for Java bytecode. In this paper, we briefly describe the architecture of Java Ranger and describe its setup for SV-COMP 2020.


Sign in / Sign up

Export Citation Format

Share Document