Bean Scripting Framework Overview


Developing Web applications in Java can be tedious and time consuming. Most servlet containers require a Web application to be reloaded every time one of the application's Java classes is modified and recompiled or when a resource file such as web.xml is modified. While Struts greatly enhances basic JSP and servlet Web application development by providing a robust framework to leverage, it is not immune to these inefficiencies-Struts suffers from the same time consuming constraint of application reloads. Each time a Struts Action class, Form Bean, Struts configuration file, or resource bundle file is modified, the application must be reloaded. To get around this limitation and to speed up development time, Don Brown created Struts Scripting. Struts Scripting was originally a third-party extension to Struts but was later incorporated into the core Struts codebase.

Struts Scripting is an extension to Struts that leverages the Jakarta Bean Scripting Framework (BSF) ( to create scripting language–based actions. Because scripting languages are interpreted at run time, Scripting language–based actions have the advantage of not requiring Web application reloads. Although changes to Form Beans, the Struts configuration file, or the resource bundle file still require application reloads, Struts Scripting provides a huge advantage and greatly reduces development time.

Struts. The Complete Reference
Struts: The Complete Reference, 2nd Edition
ISBN: 0072263865
EAN: 2147483647
Year: 2004
Pages: 165
Authors: James Holmes

Similar book on Amazon
Struts 2 in Action
Struts 2 in Action
Murach's Java Servlets and JSP, 2nd Edition
Murach's Java Servlets and JSP, 2nd Edition
Jakarta Struts For Dummies
Jakarta Struts For Dummies
Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam
Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam © 2008-2017.
If you may any questions please contact us: