| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 ] |
| Articles Books | Tutorials White Papers |
- How to Make Struts People Happy with JSF by Igor Shabalov - [Clicks: 309]
As a big promoter of JSF, I have been doomed to deal with many people, who have previous Struts experience. I notice in many cases that some sort of “paradigm mismatch” exists between Struts and JSF. I call this the “problem of the locomotive and the train.” Basically, this is a question of where to put the train engine – at the head or at the end of the train.
[Includes sample code]
http://blog.exadel.com/?p=19 - Dec, 2005 - Open Source-Based Portal-Lite by Scott Nelson - [Clicks: 74]
The key to writing reusable code that returns its promise is in identifying a future use before making it reusable. Open Source implementatons and portals are the perfect opportunity to write reusable components such as the light-weight portals.
[Include sample code]
http://www.developer.com/java/ent/article.php/3569446 - Dec, 2005 - Succeeding with Struts: Dynamically Allocated Forms by James Turner - [Clicks: 272]
Sometimes you need to create a form that could have one item in it, or 1000 items. By using the common example of a shopping cart, learn how to create this kind of dynamically sized forms in Struts.
http://www.developer.com/java/ent/article.php/3567701 - Dec, 2005 - Support Eastern Languages in Your Struts Web Applications by Tareq Shaheen - [Clicks: 82]
Learn how to enable your Struts Web applications to handle Eastern languages such as Arabic just by using the basic Struts support for i18n and some additional Java/JSP code.
[Includes source code]
http://www.devx.com/Java/Article/30071 - Dec, 2005 - Dynamic radio buttons with Struts by Danilo Gurovich - [Clicks: 195]
Follow along as Struts Recipes co-author Danilo Gurovich walks you through five easy steps for creating radio buttons with dynamically selected elements.
[Includes sample code]
http://www-128.ibm.com/developerworks/java/library/j-sr4.html - Nov, 2005 - Using JMX and J2SE 5.0 to Securely Manage Web Applications by Zarar Siddiqi - [Clicks: 171]
JMX (Java Management Extensions) supplies tools for managing local and remote applications, system objects, devices, and more. This article will explain how to remotely manage a web application using JMX (JSR 160). It will explain the code needed inside of the application to make it available to JMX clients and will demonstrate how to connect to your JMX-enabled application using different clients such as MC4J and jManage. Securing the communication layer using the RMI protocol and JNDI is also covered in detail.
[Includes a sample application]
http://today.java.net/pub/a/today/2005/11/15/using-jmx-to-manage-web-applications.html - Nov, 2005 - What Is Struts by Chuck Cavaness - [Clicks: 379]
Chuck Cavaness takes you on a whirlwind tour of the Struts framework, with overviews of many of it most important features.
http://www.onjava.com/pub/a/onjava/2005/11/02/what-is-struts.html - Nov, 2005 - Build extra secure Web applications by Derek Fong - [Clicks: 146]
Developers constantly fight the problems associated with action and data tampering in Web applications. This article provides a framework to secure these vulnerabilities. You can embed this framework, which offers a logical security design, in common presentation frameworks, such as Struts.
http://www-128.ibm.com/developerworks/web/library/wa-wapprotect/ - Nov, 2005 - Sprinkle Some AJAX Magic in Your Struts Web Application by Paul Browne - [Clicks: 177]
This article shows a simple and elegant way to do this by including a couple of lines of JavaScript on your JavaServer Pages (JSPs). While we show how to reuse existing Struts actions, the techniques are equally applicable to the Java-Web framework of your choice. The method proposed will also allow a move to the next version of Struts (Shale) or JavaServer Faces (JSF) in the future.
[Includes sample code]
http://today.java.net/pub/a/today/2005/10/27/sprinkle-ajax-magic-into-struts-webapp.html - Oct, 2005 - Test-Driven Development Using StrutsTestCase by John Ferguson Smart - [Clicks: 84]
John Ferguson Smart introduces StrutsTestCase, which fills web app testing gaps by providing an effective way to test Struts actions.
http://www.onjava.com/pub/a/onjava/2005/10/26/test-driven-development-using-strutstestcase.html - Oct, 2005 - Dynamic checkboxes with Struts by Danilo Gurovich - [Clicks: 144]
Struts Recipes co-author Danilo Gurovich picks up where George Franciscus left off with an easy-to-follow Struts recipe for creating dynamically selected checkboxes.
[Includes sample code]
http://www-128.ibm.com/developerworks/java/library/j-sr3.html - Oct, 2005 - Get a better handle on Struts actions, with Spring by George Franciscus - [Clicks: 186]
Struts Recipes co-author George Franciscus is back with another great Struts integration recipe -- this time for importing Struts applications into the Spring framework. Follow along as George shows you how to revamp Struts actions so they can be managed just like Spring beans. The result is a boosted web framework that easily reaps the benefits of Spring AOP.
[Includes sample code]
http://www-128.ibm.com/developerworks/java/library/j-sr2.html - Oct, 2005 - Apache Struts Framework: The Big Picture by Vlad Kofman - [Clicks: 272]
The Apache Struts J2EE framework is extremely flexible and is a good fit for most Web-based projects. Learn how to work with Struts, go over its main features, and discuss setting it up in an enterprise development environment, such as JBuilder 2005.
http://www.developer.com/java/ent/article.php/3551356 - Sep, 2005 - Struts-Velocity integration by George Franciscus - [Clicks: 207]
Struts Recipes co-author George Franciscus walks you step-by-step through integrating the Velocity Template Engine into your Struts applications. The result is a fast, flexible alternative to JSP, but with all the creature comforts you expect from Struts.
[Includes sample code]
http://www-128.ibm.com/developerworks/java/library/j-sr1.html - Sep, 2005 - Spring Your Struts Apps Ahead: The Struts-to-Spring Migration by Edmon Begoli - [Clicks: 206]
Find out what it takes to migrate Struts applications to Spring MVC. You'll learn not only how to transform Struts applications into Spring MVC applications, but also the logical mapping between the two frameworks and how key Struts concepts relate to Spring MVC concepts.
http://www.devx.com/Java/Article/29208 - Sep, 2005 - Data Retention in JSPs using Struts - [Clicks: 220]
This article is intended for developers who have some working knowledge in the struts framework. The content of the whole article is purely based on what we have learned from our work experience.
http://www.javalobby.org/articles/struts/ - Aug, 2005 - Upload Files with Struts, Store Them with Hibernate by Alexander Prohorenko, Olexiy Prokhorenko - [Clicks: 642]
Every Web developer has had to implement a customer's file upload functionality in a project at least once. This article explains all the bottlenecks involved in this task and provides functional, easy code you can use in your own projects.
http://javaboutique.internet.com/tutorials/struthiber/ - Aug, 2005 - Building Web Components Without a Component Framework by Michael Jouravlev - [Clicks: 92]
JSF is touted to be the ultimate component framework for Java web application programming. Tapestry claims to be based on the idea of component development. And across enemy lines, ASP.NET generated a whole new market for web components. What are web components and can they be developed with something more traditional like JSP and Struts?
http://today.java.net/pub/a/today/2005/08/04/jspcomponents.html - Aug, 2005 - NetUI Page Flows: An Evolution of Struts by Srinivas Jaini - [Clicks: 282]
Struts is a popular framework used to build enterprise-level J2EE applications. With Struts, J2EE Web application development has become easier and more manageable. Beehive, an open-source project by the Apache Software Foundation, goes to great lengths to make Web application development even more straightforward by building a simple Page Flow model on top of Struts. Using the new JSR-175 and JSR-181 metadata annotation facilities, Beehive reduces the coding necessary for J2EE application development. This article introduces the Beehive Page Flow technology, and looks at how you can use it to increase the productivity and quality of Struts software. It also examines how you can migrate to include this technology in a vanilla Struts application. The article assumes you have some familiarity with Struts.
http://dev2dev.bea.com/pub/a/2005/07/pageflows.html - Jul, 2005 - Spring, OJB, and Struts. Version 3: JNDI Datasources and Caching by Jason McKerr - [Clicks: 266]
OK, this is the third and final installment of using Spring and Object/RelationalBridge (OJB) together. This entry covers using JNDI datasource lookups when combining OJB and Spring, and getting back to normal OJB caching strategies.
http://staff.osuosl.org/~mckerrj/?p=8 - Jun, 2005 - Spring, OJB, and Struts. Version 2 with DAO by Jason McKerr - [Clicks: 201]
OK, in the previous installment of Spring, Struts, and OJB we got things up and running, integrating OJB and Spring to use Declarative Transactions with OJB's PersistenceBroker engine. Good stuff, all in all. I promise, this article is much shorter. Now we have a new application that enhances the first one somewhat by using a "true" Data Access Object pattern.
http://staff.osuosl.org/~mckerrj/?p=4 - Jun, 2005 - Spring, OJB, and Struts, getting started by Jason McKerr - [Clicks: 308]
I'm going to do a couple of short articles on integrating Spring with OJB (and Apache Struts, although that is somewhat incidental). I'm actually going to do three of these, all using the same application. The application that I am using is Matt Raible's AppFuse MyUsers application.
http://staff.osuosl.org/~mckerrj/?p=3 - Jun, 2005 - First Steps With Jakarta Struts, Part 2 by John Topley - [Clicks: 466]
Last time we looked at Jakarta Struts, I explained the persistence and business object layers and we wrote code to retrieve the list of topics from the database and represent them as objects. We used a Struts ActionMapping and an ActionForward, to get as far as the JSP that will actually display the topics on the screen. Let's look at that task in a little more detail now.
[Includes source code]
http://www.sitepoint.com/article/struts-de-mystified-parts-3-4 - Jun, 2005 - Improve performance by caching Struts and Tiles applications by Nirmala Kodali - [Clicks: 240]
Caching of dynamic content (like servlets, JSPs, and Web services) significantly improves the performance of a Web application, and IBM WebSphere Application Server offers a built-in dynamic caching service for caching such content. Applications built using the Struts and Tiles frameworks can also be cached, using the simple steps described in this article.
http://www-128.ibm.com/developerworks/websphere/library/techarticles/0505_kodali/0505_kodali.html - May, 2005 - Create an XML Web Application with Struts, Xerces, and Xalan by Alexander Prohorenko, Olexiy Prokhorenko - [Clicks: 153]
Despite XML's ubiquity, it's not always obvious how to use it in a Web application—or why you would want to in the first place. This article answers both questions, explaining why and how to build a simple XML-oriented Web applicationIt will help for you to already be familiar with XML, Java's XML API, and of course, with creating of J2EE Web applications using the Jakarta Struts framework. However, even if you're not proficient with the above-mentioned tools, this article can certainly serve as your starting point.
http://javaboutique.internet.com/tutorials/xerces/index.html - May, 2005 - First Steps with Jakarta Struts by John Topley - [Clicks: 674]
Just over a year ago, I started to learn how to use the Jakarta Struts J2EE Web application framework. During this journey, I realised that I found some aspects of Struts confusing at first, and that many other developers might well suffer the same difficulties. This article is an attempt to address that problem.
[Includes source code]
http://www.sitepoint.com/article/struts-first-steps - May, 2005 - Ajax using XMLHttpRequest and Struts by Frank W. Zammetti - [Clicks: 375]
Frank W. Zametti has written an article and accompanying webapp that shows simple usage of Ajax (Asynchronous Javascript + XML), specifically within a Struts application. Mr. Zametti walks through how Ajax is working, why it might be used, and how to apply it in a number of interesting usages of Ajax, including a sortable table and an RSS feed parser, with full code.
[Includes source code]
http://www.omnytex.com/articles/xhrstruts/ - Apr, 2005 - Web Wizard Component, Part 2: The View by Michael Jouravlev - [Clicks: 73]
In the previous article in this series, we started creating a wizard component for a web application using a model-driven approach. We designed a set of rules represented by a linked list of wizard steps. Now it is the time to integrate these rules with a corresponding user interface (UI).
http://today.java.net/pub/a/today/2005/03/29/webwizard2.htm - Mar, 2005 - Web Wizard Component, Part 1: The Model by Michael Jouravlev - [Clicks: 63]
The first part of the article shows how to define and test wizard navigation rules using nothing more than the standard JDK. The second part explains the ideas behind the user interface and shows how to implement them using the well known Struts framework.
http://today.java.net/pub/a/today/2005/03/15/webwizard1.htm - Mar, 2005 - A Look at Commons Chain, Part 2 by Bill Siggelkow - [Clicks: 96]
In part two of this two-part series, Bill Siggelkow shows how Struts uses Chain to add custom behavior to request processing. Bill is the author of O'Reilly's Jakarta Struts Cookbook.
http://www.onjava.com/pub/a/onjava/2005/03/02/commonchains2.html - Mar, 2005 - Java Annotation Facility - A Primer by Krishnan Viswanath - [Clicks: 163]
The 5.0 release of JDK introduced a slew of new features. A powerful technique that resulted from the JSR-175 recommendation is the Program Annotation Facility. It can annotate code in a standard way and automate the generation of source code or configuration files, helping cut down on boilerplate code.
http://www.sys-con.com/story/?storyid=48539&DE=1 - Mar, 2005 - A Look at Commons Chain: The New Java Framework by Bill Siggelkow - [Clicks: 73]
In part one of a two-part series, Bill Siggelkow covers the basics of Commons Chain, a promising new framework that lets you integrate Chain into the Struts build process. Bill is the author of O'Reilly's Jakarta Struts Cookbook.
http://www.onjava.com/pub/a/onjava/2005/03/02/commonchains.html - Mar, 2005 - Audit Your Struts Configuration Files to Avoid JAAS Errors by Doug Tillman - [Clicks: 166]
By programmatically comparing your Struts configuration files against your JAAS policy file, you can simplify the process of keeping the files synchronized, and automatically get advance warnings if your pages aren't accessible.
[Includes source code]
http://www.devx.com/opensource/Article/27200 - Feb, 2005 - Struts Recipes: Hibernate and Struts by George Franciscus, Danilo Gurovich - [Clicks: 199]
In this excerpt from Struts Recipes, (Manning Publications, December 2004) authors George Franciscus and Danilo Gurovich illustrate how to use Hibernate in a Struts application. They also show how to create a Struts plug-in to improve performance.
http://www.javaworld.com/javaworld/jw-01-2005/jw-0124-strutshibernate.html - Jan, 2005 - Step 8: The Best of Both Worlds: Integrating JSF with Struts in Your J2EE Applications by Craig McClanahan - [Clicks: 149]
For several years, Struts has been a popular and widely used framework for building web applications using Java. Recently, a new API that has significant overlap with Struts functionality—JavaServer Faces (JSF)—has become standard, giving rise to questions about which technology developers should use, and what they can do with existing Struts-based applications to start taking advantage of JSF's capabilities. This article briefly introduces both technologies, and discusses how to migrate the user-interface elements from Struts to JSF, providing a technique you can use to integrate the two technologies to obtain the best of both worlds.
[Mastering J2EE Application Development Series]
http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk8.html - Jan, 2005
- Jakarta Struts Cookbook
by Bill Siggelkow - [Clicks: 514]
The Jakarta Struts Cookbook is an amazing collection of code solutions to common--and uncommon--problems encountered when building web applications with the Struts Framework. With solutions to real-world problems just a few page flips away, this quick, look-up reference is perfect for independent developers, large development teams, and everyone in between who wishes to use the Struts Framework to its fullest potential.
O'Reilly Media, Inc., Paperback - Feb, 2005
- Using multiple Struts configuration files by Brett McLaughlin - [Clicks: 461]
Breaking a large configuration file into smaller, more manageable parts makes Struts applications easier to organize and maintain. In this tutorial, Brett McLaughlin shows how to set up Apache Struts to use multiple configuration files. The tutorial reviews Struts configuration, takes you step-by-step through execution of a divide-and-conquer configuration strategy, and guides you through some additional configuration cleanup options.
[Formats: HTML, PDF]
http://www-128.ibm.com/developerworks/edu/j-dw-java-strutsconfig-i.html - Nov, 2005 - Using the Struts Validator by Brett McLaughlin - [Clicks: 622]
Follow along as Web development expert Brett McLaughlin guides you through the process of installing and configuring the Struts Validator component. The Validator, originally developed separately from and on top of Struts, is now an integral component of any professional Struts application programming.With the Validator, you can validate input in your Struts ActionForms. In this tutorial, you will learn to perform this validation declaratively, without touching your existing Java code.
[Formats: HTML]
http://www-128.ibm.com/developerworks/edu/j-dw-java-javastruts-i.html - Aug, 2005 - Handling dates with appfuse and struts by Thomas Gaudin - [Clicks: 170]
This tutorial's purpose is to show how to add java.util.Date to java objects (POJO) that are persisted through the web. It's a step by step course originally designed for appfuse developpers but most of what is done can apply to a standard J2EE web application using struts, hibernate, xdoclet and spring.
http://www.thogau.net/page/thogau/tutorial01 - May, 2005
- From Struts to JavaServer Faces by Kito D. Mann - [Clicks: 314]
With the advent of JSF, organizations that have standardized on other web frameworks, such as Struts, are evaluating their options for future development. First, they are interested in the key benefits that moving to JSF will provide, including the true value of JSF tools. Secondly, they are examining the possibilities for leveraging their existing code base and skill sets. Finally, they are interested in best practices for building new applications with JSF. This white paper addresses these questions with a thorough discussion of key JSF features and an overview of how your organization can begin migrating to JSF.
http://www.m7.com/download/FromStrutsToJSF.pdf - Jun, 2005 - (PDF - 825 Kb)