Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Best Practice: DB Lookup or Web Service?

Posted on 2003-10-26
2
Medium Priority
?
197 Views
Last Modified: 2010-04-16
My application will be given an employee number. It has to query a database for the username and group memberships matching this employee. I have to use Access or MS SQL. I cannot use ADSI. Multiple applications will eventually query similar info from the same database. There will be an initial load of 5000 - 10000 queries per day. (looking at the current logged in user is cheating)

1) I can put the database inquiry direct in the application

or

2) I can design a web service to return the same information, and put the database inquiry there.

My thought is the fact that other applications will probably access the same info, better to use the service. Plus it seems cool.

Thoughts on the subject?
0
Comment
Question by:namedpipes
2 Comments
 
LVL 1

Accepted Solution

by:
jlach earned 200 total points
ID: 9630282
i agree with your thoughts.. we do it differently here at my job.. all our apps query a central db, and i've also thought it to be bad ... i, in my opinion, think its better to keep all your sql in one central place (the server) and use remoting to execute methods on the server, and read the return value.. that way, if you need to change sql, you have to update the server, and not every client out on the market.. plus everything is centralized.. you dont need to worry about exposing the database to the outside world or anything like that... like i've said, using a central server seems like a better practice to me
0
 
LVL 2

Author Comment

by:namedpipes
ID: 9877168
Sorry.. fell asleep at the wheel... Thanks for the input - I'll accept that answer now.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

810 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