Mega Code Archive

 
Categories / Java / J2EE
 

Exercise 4

/* First edition copyright 2004 ObjectSource LLC. All rights reserved. This training material and the accompanying lab exercises were prepared  by Srikanth Shenoy for ObjectSource LLC. GRANT OF LICENSE: ObjecSource LLC grants you a non-exclusive license to  use the material. No part of this publication may be reproduced, stored  in a retrieval system or transmitted in any form or by any means  electronic, mechanical, photocopying, recording or otherwise, without  the prior written permission of ObjectSource LLC. At its discretion,  ObjectSource LLC may provide limited support through email or discussion  forums at ObjectSource web site. ObjectSource incurs no obligation  to provide any support under this Agreement. */ /* Technical Objectives for this exercise:  The technical objectives of this exercise is to learn ?how to?:  1. A whole lot of patterns based code is added in this exercise. Hence no Struts related functionality  is added. Just the Search Functionality with Database is Implemented  2. Gof Patterns - Factory Method, Abstract Factory are implemented  3. Core J2EE Patterns - Business Delegate, Session Facade, Transfer Object, Data Access Object  are implemented  Observe how patterns are applied and the Search functionality is implemented. This steps are not  listed since they are not core to Struts usage that we want to illustrate. Time permitting, I will add  this section later. Let us move on to important coverage of Struts features in subsequent exercises.  */                     struts-training.zip( 26,264 k)