Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Best Practice: DB Lookup or Web Service?

Posted on 2003-10-26
2
Medium Priority
?
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

636 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