Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

Search: 

  Tutorial: Interesting extension article

Extending Struts

Tutorial Details:

Struts is not only a very powerful framework, but also very extensible. You can extend Struts in three ways.

PlugIn: Create your own PlugIn class if you want to execute some business logic at application startup or shutdown.

RequestProcessor: Create your own RequestProcessor if you want to execute some business logic at a particular point during the request-processing phase. For example, you might extend RequestProcessor to check that the user is logged in and he has one of the roles to execute a particular action before executing every request.

ActionServlet: You can extend the ActionServlet class if you want to execute your business logic at either application startup or shutdown, or during request processing. But you should use it only in cases where neither PlugIn nor RequestProcessor is able to fulfill your requirement.

Conclusion
Deciding to develop your own MVC framework is a very big decision--you should think about the time and resources it will take to develop and maintain that code. Struts is a very powerful and stable framework and you can change it to accommodate most of your business requirements.

On the other hand, the decision to extend Struts should not be taken lightly. If you put some low-performance code in your RequestProcessor class, it will execute on every request and can reduce the performance of your whole application. And there will be situations where it will better for you to create your own MVC framework than extend Struts.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Interesting extension article

View Tutorial:
Interesting extension article

Related Tutorials:

Displaying 1 - 50 of about 433 Related Tutorials.

Java: Example - Change Extension
Java: Example - Change Extension Java: Example - Change Extension Problem: Change the extension...; //============================================== changeExtension // changes extension to new
 
Java Display File-Extension
Java Display File-Extension Java Display File-Extension           ... extension of the file. Here you will be asked to enter the file name
 
Java Change File-Extension
Java Display File-Extension Java Change File-Extension           ... extension of the file. Here you will be asked to enter the file name whose extension
 
Example - Display Extension
Java: Example - Display Extension Java: Example - Display Extension This program reads in a file name and displays the extension (that last part of the name after the final dot
 
Java example program to get extension
java example program to get extension Java example program to get extension      ...;       java get extension To get the file
 
Java get Filename without Extension
Java get Filename without Extension Java get Filename without Extension       ... to obtain the filename without extension. For this, the file name or the directory
 
JSP 2.0 - New Features
. JSP 2.0 is an upgrade to JSP 1.2 with several new and interesting features
 
Open Source Java
extension to the Java programming language, Java platform compatible and easy... Jonathan Schwartz's first 100 days at the helm are about to get interesting
 
WEBSERVICE USING APACHE AXIS - TUTORIAL-2 AXIS FOR EJB-WEBSERVICE (part-5)
using Axis. This is a 7 part article.?  part-1 : Overview part-2 : deploying... language,they raise interesting questions in both the programming and the business
 
History of Web 3.0
in early 2006 in a Blog article written by Jeffrey Zeldman in the ?Critical of Web... are seeing that manifest in Web 2.0 and 3.0 will be a great extension
 
Applications - text example
normally run are called applications. A typical MS Windows application has an extension of .exe, but in Java it will usually end with a .class or .jar extension
 
Difference between JSP 2.0 & JSP 2.1
1.2 with several new and interesting features. This version is fully compatible
 
Object-Oriented Programming
Java: Object-Oriented Programming Java: Object-Oriented Programming Beyond OOP Here's an interesting article about going beyond OOP: The Next Move in Programming: A Conversation
 
Javadoc
to generate API documentation into HTML format from Java source code. It is interesting... interesting thing to know about Javadoc comments is that we can embed HTML tags
 
GIS in Tracking System
;    This article discuses the importance of GIS
 
XML Interviews Question page3
of interesting but incompatible inventions from different manufacturers, because
 
Content Writer
; You will be writing and developing the content for our article website http... Writing  Article Writing  Writing Reviews 
 
Blog Content Writer
Description  You will be writing and developing the content for our article...; Blog Content Writing  Article Writing  Writing
 
JSP ARCHITECTURE
;  JSP pages are high level extension of servlet
 
Dyna Trace
; dynaTrace Diagnostics CodeLink is an extension for eclipse, so in order to use
 
Hibernate Search - Complete tutorial on Hibernate Search
; Hibernate Search is the latest extension of Hibernate, which can be used
 
Freelance SEO
will be working with us to promote our article website http://www.huntarticles.com...; Blog Submission  Article Submission  Articles... promotion  Link Building  Article marketing 
 
Open Source Aspect-Oriented Frameworks written in Java

 
Open Source Aspect-Oriented Frameworks written in Java

 
J2EE Web Service Development with Attachments Using Axis
Summary This article discusses the development of a java web... that the intended audience for this article have a basic understanding of J2EE web.... In this article, I have shown the implementation for all the above three tasks
 
Photoshop Tutorial : Cartoon Car
at all. This article will teach you to design a cartoon car. I have tried
 
Open Source Wiki
Roundup The purpose of this article is to give an overview of several.... This article will hopefully help you make that choice if the need arises.  ... to comment on the article as well as a history tab that lets you view version
 
VoIP Firewall
; VoIP's firewall challenges One of the interesting nuggets from SuperComm
 
Open Source Content Management
In this article we'll focus on how Open Source and CMS combine in powerful solutions... sensible business alternatives to commercial solutions. This article is written... columnist Shelly Doll wrote an article titled "Will open source finally kill off
 
Source code of 'jad' and 'properties' file
Descriptor (JAD) filename extension is .jad and media type is text/vnd.sun.j2me.app
 
Perl Programming Books
few chapters, but I am open to suggestions. I am looking for interesting
 
Developing Struts PlugIn
; This article shows you how to develop custom Struts PlugIn and incorporate in your
 
Writing First Hello World application in JSP
take any existing HTML page and we change its extension to "hello.jsp"... application JSP. Just modify file extension from ".html" to ".jsp"... file, with the "Hello.jsp" extension, in your browser. 
 
GPS Terminology
any article in any website related to GPS. These will provide you basic idea
 
Open Source Games
Open Source Games Open Source Games Playing the Open Source Game In this article I will explain why I think that games are fundamentally different to most types of software. I will suggest a few reasons why
 
AgileJ StructureViews
Specialized for Reverse Engineered Diagrams - more akin to an extension to the Eclipse
 
First Step towards JDBC

 
VoIP Tutorial
. This article explores SIP and Skype and explains how these technologies are driving..., as will be shown in this article, there is no reason to limit the expectations to achieve only... came about, please make sure that you read our press release article that can
 
Open Source Aspect-Oriented Frameworks written in Java

 
Freelance Content Writer
and develop the content for our article website http://www.huntarticles.com/ and many... Writing  Article Writing  Writing Reviews 
 
Freelance Blog Content Writer
blog writer to write and develop the content for our article website http...; Blog Content Writing  Article Writing  Writing
 
First Step towards JDBC!
the database.    First Step towards JDBC  This article... from Servlet This article shows you how to access database from
 
Action Script 'source' attribute example
, an action script file with .as extension has been imported in the main
 
Colocation Hosting
;  Colocation Hosting Guide: This article
 
Storing Data (Retrieved from a XML Document) to a File
document) to a specified file (with  extension '.txt', '.doc', '.xls', '.shtml... is created to show the generated file as output. Here we give a file name with extension, it creates a new file according to given file name and extension. The transform
 
Accessing database from JSP
;      Introduction In This article I am.... Summary: This article presents JDBC and shows how you can manipulate data
 
WEBSERVICE USING APACHE AXIS TUTORIAL-2 UNDERSTANDING APACHE AXIS
in the last article.? We used it as sqlaxisbean.jws (drop-in method
 
J2EE Interview Questions -2
descriptor is simply an XML(Extensible Markup Language) file with the extension
 
Accessing the Database from Servlet

 
Open Source MMORPG
Open source MMORPG Open Source MMORPG Open Source MMORPG In the article, one of the fellas in World Forge apparently mentioned.... Commercial success or not, the mind-set behind Nel (also covered in the article
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.