![]() ![]() |
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Member
Join Date: Feb 2008
Posts: 1
|
Hi!
I hve stucked up for getting performance to be checked as:::::::: I need to call 2 Business Layer methods from one action in struts. So,is it advisable to call 2 methods...which will make rounds twice between action and business layer..... ![]() Please let me know the reply as early as possible..... Thnx in advance. Chitra ![]() |
|
|
|
|
#2 (permalink) |
|
Member
Join Date: May 2008
Posts: 12
|
I know this is not a speedy reply but here it is anyway. This is how I call my business layer from within an action. Note, code has been trimmed down a bit but this is the basic idea.
Code:
public String list() {
//call to business layer
grades = gradeService.getGradeList(grade);
return SUCCESS;
}
__________________
Registry Cleaner Reviews |
|
|
|
|
| Thread Tools | |
| Display Modes | |
|
|