Template Method Design

2003-09-18 Thread Vijay K Hegde
Hi,

  I have a requirement. Anybody has created an abstract action class that extends 
Action. It makes the perform method as final. And creates an abstract method 
satPerform that has to implemented by the classes extending thus providing sort of a 
base class.

The intention behind is to take care of exception handling in the abstract class and 
rest in the child classes.

Action   perform()
Abstract Class extends Action final perform(), abstract satPerform()
SatAction extends Abstract - satPerform().

The pattern is Template Method Design.

If anybody has used such approach, please share the details.

If somebody could shed some light in this topic i would be grateful.

Vijay K. Hegde
Software Engineer
Infosys Technologies Limited, Hyderabad
* (040) 2300 5222 extn 23239



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Any one has build.xml for making jar of struts source files

2003-06-19 Thread Vijay K Hegde
Hi ,

 I have downloaded the sourcefiles for struts frameework. I need to make the 
struts.jar out of it. Can anyone send me the build.xml file to be used by ANT.

Thanks in advance,
Regards
Vijay

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help needed

2003-06-18 Thread Vijay K Hegde
Hi,

I am developing an struts application that uses EJB classes.

The EJB classes refers a properties file for some constant values. It works fine when 
working in WSAD5.0 but when deployed on the unix server it is not able to find the 
path. It shows the following error.

file:/apps/websphere/ws405/installedApps/CAA.ear/CAAEJB.jar!/resources/TGTSystemProperties.properties
 (No such file or directory)

Can anyone help??

Vijay K. Hegde
Infosys Technologies Limited, Hyderabad



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]