Link to home
Start Free TrialLog in
Avatar of royalcyber
royalcyber

asked on

example using struts and business delegeate pattern

I am using struts for my webapplication ; but I am not using EJB

can i still use business delegate pattern ; the examples I have seen with business delegate all uses ejb

can someone show me an example using struts and business delegate pattern without EJB


Thankyou!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aozarov
aozarov

>> can i still use business delegate pattern ;
Yes you can, this pattern comes to solve two main problems one is to seperate your web teir from your business tier.
That you can achived in many ways (without EJB) like by using different container for your buisness logic (e.g
Spring). That seperation should be done via some business facade (the business delegate) that will hide the access details
to the rest of the business objects and will less sensetive for changes.

The other problem is to reduce network load and if your business logic resides together with your web teir then that is
not an issue for you.
Avatar of royalcyber

ASKER

do u have any sample code ??????
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial