DZone ForumsDZone Forums  

Go Back   DZone Forums > Community > Enterprise Development > Patterns & Architecture
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
LinkBack Thread Tools Display Modes

Topic: Calling Buisness Layer
Old 02-19-2008, 02:12 AM   #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
chitra_v10 is offline   Reply /w Quote -


Old 05-23-2008, 01:58 PM   #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
garvagh is offline   Reply /w Quote -


Thread Tools
Display Modes




All times are GMT -5. The time now is 05:21 PM.