• 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

Common Action Class for many transactions. will it slow down the app performance?

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dear all,
i have a scenario like this... we have lots of transactions, all of which starts with choosing client, edit, modify etc. next from there will start the real transaction. we have kept a single common action class which serves as the client profile. depending upon the request the client page will serve, if next clicked forwards it to that specific transaction page.
now, the question is...
does this scenario of design slow down the performance of the application. because of a single resource providing support to lots of different transactions....

thanks in advance
-krishna
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmmm...I thought I responded to this yesterday...maybe I forgot to submit my post.

I am curious why you think that using a common action class is a source of performance issues. What container are you using? I would think that your container would be able to handle multiple requests on separate threads that all used the same instance of your Action class. Isn't that the reason that action classes must be threadsafe?

- Brent
 
I didn't say it. I'm just telling you what this tiny ad said.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic