[Webinar] Learn how to a build a cloud-first strategyRegister Now


example using struts and business delegeate pattern

Posted on 2005-04-25
Medium Priority
Last Modified: 2013-11-24
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

Question by:royalcyber
  • 2
LVL 92

Accepted Solution

objects earned 1000 total points
ID: 13863418
See the UserDelegate in the following:

Some general background:
LVL 15

Expert Comment

ID: 13863898
>> 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.

Author Comment

ID: 13873318
do u have any sample code ??????
LVL 15

Assisted Solution

aozarov earned 1000 total points
ID: 13873450

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month20 days, 10 hours left to enroll

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question