• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hi., i got problem in designing the scheduler application using struts frame work

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my problem is if i extend the action like as follows

Class actionclass1 extends action {
protected function1;
protected function2;
public ActionForward execute(...)
{
call function1;
call function2;
}
}
Class extendedclass extends actionclass1 {
protected function3;
protected function4;
public ActionForward execute(...)
{
call function1;
call function2;
call function3;
call function4;
}
}
in this way i would like to extend the functionaly if the TaskBean functionality i need to enhance.
what i want is , i have a taskBean it is having some properties and methods
using that i build actionclass (i.e., actionclass1) as above.
after some time i want to enhance the taskBean properties,for this i want reuse alreary developed actionclass(i.e., actionclass1) with this enhanced taskBean without changes in actionclass.For this my view is develop the first developed actionclass (i.e., actionclass1) like above ... and extend the actionclass1 for further enhancements.

MY PROBLEM IS " Is this right approch, to deal this kind of tasks"," does it work properly for future enhancements if no alternative. Tell me sir, how to deal this kind of tasks.Please send your idea about this ... thanks.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"The Legend Meduru" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy. User names cannot be obviously fake and must constist of a first name and a last name.

You can change your user name here.

Also, this is a Struts question, so I'm moving to the "Web Application Frameworks" forum.

Thanks! and welcome to the JavaRanch!
[ November 05, 2004: Message edited by: Nathan Pruett ]
 
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic