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

  • Home
  • SEARCH
  • 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 79391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:08:18+00:00 2026-05-10T21:08:18+00:00

Our application exposes queries by way of web services, and what we’ve found is

  • 0

Our application exposes queries by way of web services, and what we’ve found is that our clients often want custom queries, either by way of further limiting the results returned by specifying additional criteria, or by asking for things that we don’t already expose.

Now, we can take the approach of creating new methods for each of these new methods, but that’s somewhat inconvenient; deployment of our application at a client site usually requires weeks of staged integration testing. We’ve proposed a named query mechanism, where the application administrator would define queries by name that are parameterized, and a corresponding web service that simply invokes these parameters. However, I can’t help but think that someone has solved this problem before, so I’d like some input from the SO community on possible designs.

Thanks!

Updates

The specification pattern is a good one, but our application deals with enough data that we want to push as much of the querying work down into an RDBMS, which can do a better job of optimizing the query plan than we would ever want to. Moreover, we support three RDBMS backends, so we’re stuck using a greatest-common-denominator approach: we use as much capability as the least functional database can provide.

  • 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. 2026-05-10T21:08:19+00:00Added an answer on May 10, 2026 at 9:08 pm

    I would also recommend to consider the ‘Specification Pattern’ in this type of applications as a design decision for your backend. Check the following posts about ‘Specification Pattern’:

    http://www.mattberther.com/2005/03/25/the-specification-pattern-a-primer/

    http://devlicio.us/blogs/jeff_perrin/archive/2006/12/13/the-specification-pattern.aspx

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

Sidebar

Ask A Question

Stats

  • Questions 74k
  • Answers 74k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Here are things to consider: Is this big project? If… May 11, 2026 at 2:15 pm
  • added an answer Have you tried the load event? This should be called,… May 11, 2026 at 2:15 pm
  • added an answer import sys def get_caller(ext=False): ''' Get the caller of the… May 11, 2026 at 2:15 pm

Related Questions

Our application exposes queries by way of web services, and what we've found is
Our application is interfacing with a lot of web services these days. We have
Our application is a hybrid Win32 unmanaged application and a .NET 2.0 managed application.
Our application has a file format similar to the OpenDocument file format (see http://en.wikipedia.org/wiki/OpenDocument
Our application is structured something like: UI <--> REST API <--> Workflow <--> Business
Sometimes we deploy applications behind customer firewall and we need read only access to
I’m looking at rewriting a portion of our application in C# (currently legacy VB6
In short: what is the best way to design and implement a factory+plugin mechanism,
Should I use old synchronized Vector collection, ArrayList with synchronized access or Collections.synchronizedList or

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.