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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:21:45+00:00 2026-05-15T19:21:45+00:00

Here’s the situation. We have a 3rd party middleware (using SQLServer as a back-end)

  • 0

Here’s the situation.

We have a 3rd party middleware (using SQLServer as a back-end) which we communicate with using an HTTP service link and XMLRPC-like messaging.

The service always returns a dataset as results of any commands that returns something. There is a way to pass an embedded SQL statement to the service.

So, we do not have a direct access to the database.

I’m trying to isolate this service with a layer that would simplify access. I was thinking of using an ORM like NHibernate.

Is this scenario supported by NHibernate or does NH always needs a direct access to the database?

If you have any other suggestions I’m all ears open…

  • 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-15T19:21:45+00:00Added an answer on May 15, 2026 at 7:21 pm

    If I understand you correctly, you’re forced to use the 3rd party middle-ware – but it’s not easy to deal with?

    I’ve never used NHibernate so I can’t speak for that.

    Sounds like you want to add a new “service layer” (for want of a better term) on the top that’s easier to deal with; the Facade pattern leaps to mind (although that’s often used to bundle up a variety of different and disparate interfaces underneath a single cohesive integration point).

    Basically you want to define a nice clean set of interfaces / services (in the new service layer); this new layer will then do all the hard work of interacting with the middle-ware – or with the database directly if you get the chance.

    I would also suggest making this new layer into a couple of sub-parts: you don’t want to go and build a new layer that’s tightly coupled to the middle-ware (or database) – use Dependency Injection to isolate the outer facade from the concrete implementation, and maintain loose coupling. That way if the middle-ware disappears you won’t directly impact consumers of the new service layer you’ve built.

    Lastly, keep the Interface Segregation Principle (ISP) in mind when designing the new externally facing services.

    Free Image Hosting http://www.freeimagehosting.net/uploads/89e5a8a47a.jpg
    (Full size image here)

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

Sidebar

Ask A Question

Stats

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

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

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

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

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Ok, here is a quick something for you to figure… May 17, 2026 at 2:56 am
  • Editorial Team
    Editorial Team added an answer Activate the logging of the org.hibernate.tool.hbm2ddl category to DEBUG. Update:… May 17, 2026 at 2:56 am
  • Editorial Team
    Editorial Team added an answer If you can run PHP code on the server and… May 17, 2026 at 2:56 am

Trending Tags

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

Top Members

Related Questions

Here, i have coded to get data from DB. I want to store the
Here's the top of my usercontrol: <UserControl x:Class=MyApp.Common.Controls.Views.SimpleView xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml xmlns:mc=http://schemas.openxmlformats.org/markup-compatibility/2006 xmlns:d=http://schemas.microsoft.com/expression/blend/2008 xmlns:Framework=http://www.memoryexpress.com/UIFramework mc:Ignorable=d
here's what I currently have, unfortunately I cannot seem to figure out how to
Here's the issue... if I use, say a directory catalog in MEF and have
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I used javascript for loading a picture on my website depending on which small
I have a jquery bug and I've been looking for hours now, I can't
Here's a basic regex technique that I've never managed to remember. Let's say I'm

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.