example using struts and business delegeate pattern

Posted on 2005-04-25
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
    LVL 92

    Accepted Solution

    See the UserDelegate in the following:

    Some general background:
    LVL 15

    Expert Comment

    >> 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

    do u have any sample code ??????
    LVL 15

    Assisted Solution


    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Suggested Solutions

    INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
    For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
    Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
    Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now