Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7653817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:07:09+00:00 2026-05-31T12:07:09+00:00

While developing a web based java application I am a bit confused about the

  • 0

While developing a web based java application I am a bit confused about the use of Facade pattern or, more precisely, can say that I am not able to visualize its exact use.
Here is my use-case:

I Have a web-application where I have Action classes, Service layer and DAO layer as well. My Action classes are responsible to interacting with the UI (JSP) while the service layer will be responsible for handling any business logic as well interacting with the DAO layer and getting DB related work done.

I can create service layer interface and can expose them in my action classes so as my action classes can interact with the Service layer and do any work.

I was asked to introduce another layer as Facade where I am required to expose methods to my Action class while the service layer is now being exposed in the Facade.

Can any one help me to clarify what is being asked is correct and what benefits will be achieved by this approach as it seems to me like introducing additional layer with no much work being done in facade layer (heavy lifting still be in service layer.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:07:11+00:00Added an answer on May 31, 2026 at 12:07 pm

    by using a facade in between your services and your actions, you not always have to use particular services in your actions, you just use the facade. Also, some actions will use combinations of services in the same way, if you can put this in a method in your facade, you’ll save yourself some time cause you can just reuse a facade method that uses that combination of services.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a web based mobile application and I was thinking about the default
Which use of connection management is better while developing a windows based application which
While developing a C++ application, I had to use a third-party library which produced
I am developing a Java web application that bases it behavior through large XML
I'm developing a distributed application, and I need to connect a client Java based
While developing a web application in JSF, I came across an expression which was
Hi while developing one of my web application i am storing the user information
I'm currently developing a web application that has one feature while allows input from
Which is the best base java IDE (eclipse, Netbean) for developing spring based application
I am developing a web app based on django for a while. At the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.