DZone Forums
Go Back   DZone Forums > Community > Enterprise Development > Patterns & Architecture
Reload this Page Calling Buisness Layer
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Feb 2008
Thumbs up Calling Buisness Layer - 02-19-2008, 03:12 AM

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
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2008
Default 05-23-2008, 02:58 PM

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;
     }
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to display three different editparts figures on one root Editpart layer swapna.vadake Eclipse 0 11-25-2008 06:13 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com