... tasks.
CHAPTER 4 ■ MANAGING BUSINESS LOGIC WITH STRUTS 145
Ch 04_ 7389_CMP3 9/27/06 10:59 AM Page 145
We have encountered far more of the latter design problem, “fat” EJBs, when building
Struts- based ... "+
"ServiceLocator.getDBConn()" , e);
CHAPTER 4 ■ MANAGING BUSINESS LOGIC WITH STRUTS1 44
Ch 04_ 7389_CMP3 9/27/06 10:59 AM Page 144
public class StoryManager...
... Harrop
THE APRESS JAVA
™
ROADMAP
Beginning Apache Struts Pro Apache Struts with Ajax
Pro Apache Ant
Pro Apache Tomcat 6
Enterprise Java
™
Development on a Budget
Rob Harrop, coauthor of
Pro Jakarta Struts
Kunal ... count
EMPOWERING PRODUCTIVITY FOR THE JAVA
™
DEVELOPER
John Carnell, coauthor of
Pro Jakarta Struts
US $44 .99
Shelve in
Java Programming
User leve...
... parameter provides the ActionServlet with the location of the
struts- config.xml file. By default the ActionServlet looks for struts- config.xml
at /WEB-INF /struts- config.xml. If you place your struts- config.xml ... com .apress. javaedge .struts. homepage;
import com .apress. javaedge.common.ApplicationException;
import com .apress. javaedge.story.StoryManagerBD;
import com .apress....
... Concern
Slush and Tier Leakage antipatterns in Struts.
CHAPTER 4 ■ MANAGING BUSINESS LOGIC WITH STRUTS1 24
Ch 04_ 7389_CMP3 9/27/06 10:59 AM Page 1 24
Viewing the Errors
The Struts ActionServlet checks if there ... patterns that
are most appropriate for use in building Struts- based applications.
CHAPTER 4 ■ MANAGING BUSINESS LOGIC WITH STRUTS1 32
Ch 04_ 7389_CMP3 9/27/06 10:...
... FRONT-ENDS WITH THE TILES FRAMEWORK2 34
Ch06_7389_CMP3 9/27/06 11:30 AM Page 2 34
The actual Java class that implements the StoryDAO is defined in a Java properties file. This
Java properties filename ... OJB
•Deleting data with OJB
CHAPTER 5 ■ ARCHITECTING THE DATA ACCESS TIER WITH OBJECTRELATIONALBRIDGE2 24
Ch05_7389_CMP3 9/27/06 11:05 AM Page 2 24
CHAPTER 5 ■ ARCHITECTING THE DAT...
... VelocityContext();
Collection products = new ArrayList();
products.add(new Product("Widget", 12.99));
products.add(new Product("Wotsit", 13.99));
products.add(new Product("Thingy", ... presentation layer through the
Struts framework.
• Extending RequestProcessor: By extending RequestProcessor, you can hook into the
Struts request processing flow and perform y...