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 153975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:53:48+00:00 2026-05-11T09:53:48+00:00

We have a process that runs a few times a day (via a Windows

  • 0

We have a process that runs a few times a day (via a Windows Service) and can also be invoked at anytime by an administrator level user (through a web app). This process gets a data set from a partner through a web service, then we merge this data with our local copy in our own format. Simple enough.

My question is how this fits into our application design. We have an fairly straight forward Application Services layer that interacts with our repository to deal with our domain objects. The domain is persistence ignorant.

How should this process fit into this architecture? Do we,

  1. Put most logic in the application service? Just have it invoke the 3rd party service, grab our local objects from the repository and do our updates/adds/etc and save back into the repository. Basically just treat the 3rd party service as another repository.
  2. Have the application service grab our local data (don’t worry about data volume for now), pass that into a Domain level service that will call the 3rd party service, merge data as needed, then return a new dataset to the app service to commit into the repository?
  3. Other options…
  • 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-11T09:53:48+00:00Added an answer on May 11, 2026 at 9:53 am

    I would try out the Remote Service Gateway ‘pattern’.
    Below is a link to the concept, all be it, from the perspective of Ajax – not a process. However, when I first saw the concept presented at Dobbs Architecture and Design world in 2006 the example was more like your case – a service calling out once a while.

    http://blog.ontheheap.com/2008/06/06/ajax-and-the-service-gateway-pattern/

    The example in the link provides the basics. In that case, it doesn’t have to do translation. However, the Gateway can be broken into different pieces so that it includes a translation layer or data merge layer.

    I have had success with this approach.

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

Sidebar

Related Questions

I have a process that runs on cron every five minutes. Usually, it takes
Given a C process that runs at the highest priority that requests the current
I have a function in PHP that resizes images into a thumbnail, my image
I have a Java program which runs in Tomcat and which needs to execute
I am using Visual C# Express 2008 and I have an application that starts
Data from another system is replicated into a SQL Server 2005 database in real-time
I've been reading a couple of docs regarding postgres memory allocation configuration but need
I've been configuring and testing CCNet for a little while now using Virtual PC
I need high-resolution (more accurate than 1 millisecond) timing in my application. The waitable

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.