What is the point of web services? [closed] - web-services

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I really don't see the point of making EJB's into web services. The first thing that comes to mind is security. How do I keep the entire world from using my business methods? How would you authenticate a user to use a service. The second it seems hard to pass objects or if it's even possible to pass lists into a web service.
I can see some justifications such as having services for multiple applications that use the same methods. But why not just have a library or deploy an ear with all the business methods?
Thanks for your help.

How would you like to deploy your Java package to .NET client? Or better how would you like to deploy your Java package to 1.000.000 iPhones?
Web services are here because of interoperability. You will use them to pass data between processes without making the processes dependent on concrete technology. The communication will only be dependent on some interoperable and broadly supported protocols and data structures represented in XML or other interchangable format (like JSON).
If you need some advanced protocols for transaction flow, message level security or reliable messaging you will build SOAP service. If you need lightweight service for broad variety of clients you will build REST service.
Web services have its place and once you will have to build interoperable application or generally logic used by non Java code you will find them useful.

Related

Microsoft Sync Framework 2.1 Scope Create Remove Issues [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
This is my first application using Microsoft Sync Framework 2.1 so you assume i don't know any thing of it.
The question is i need to synchronize tables- these number of tables to synchronize increase or decrease as the Database changes.
Like wise the direction of tables is also random in nature sometimes it is up or down or bi-directional. Even the rules vary
As we have large no of clients/distributors so the no of tables to synchronize for UserA may be different for UserB and even the direction.
As we need to create Scopes and what i find out we need to create a new Scope for every change and for every User Tables is it right?
So Example we have 100 tables 10 Users and 3 directions then the possibility of no of scopes will be above 3000
How to the number of scope effect the DB performance?
Even i dont know how can i remove scopes for the tables that are deleted in DB? or that i choose not to synchronize and even for the user also.
I found out there is something called as Deprovisioning but dont know how to use it.
Moreover i need to apply filters to the tables also so in that case do i need to create a new Scope again or not? I don't know how to create filters as the samples i downloaded does not have any example of filters?
Any help/sample/link is highly appreciated
a scope is a collection of tables that are sync together in a single sync session. how many tables to include is up to you.
have a look at this link for some guidance: Sync Framework Scope and SQL Azure Data Sync Dataset Considerations
I suggest you go thru the documentation and the tutorials/walkthroughs first. The documentation actually gets installed with the framework.
if you have trouble finding them, here's the corresponding links:
How to: Use Synchronization Scopes
How to: Provision and Deprovision Synchronization Scopes and Templates (SQL Server)
How to: Filter Data for Database Synchronization (SQL Server)
if you want to understand further what provisioning actually does, have a look at this: Sync Framework Provisioning
you might want to specify what databases are you actually synching

What hosting do people normally use to publish Django web-site? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have small Django web-site, which I've wrote in learning purpose, but now I'd like to publish it in Internet.
Dear Stackoverflowers, could you please recommend any free Django providers which are convenient to work with?
Sorry, if that is a stupid question.
P.S. I've searched in the Internet, and found some providers, but I can't decide which is good. Need your advice.
Free cloud hosting service for django applications with postgres available on Heroku. I deployed an app in like 20 mins.
https://devcenter.heroku.com/articles/django
I believe Heliohost is popular and comes highly recommended. I've not used it myself, but it is probably worth checking it out.

Implementation Microsoft Sync Framework [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am looking for resources on Microsoft Sync Framework. Although MSDN and Google Search gave me the brief overview,but I want simple example of demos,implementations of the Sync framework.
How about this?
Microsoft Sync Framework 4.0 October 2010 CTP Documentation
Contains documentation, tutorials and samples.
EDIT:
Perhaps also some introduction videos to the Microsoft sync framework.
you havent mentioned what you want to sync: files? databases? feeds?
if you install Sync Framework itself, the documentation comes with tutorials/walkthroughs especially on database synchronization.
for database sync, you can take a look at:
Tutorial: Synchronizing SQL Server and SQL Server Compact
Tutorial: Synchronizing SQL Server and SQL Express

What is the difference between a web service and a web application? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
How can we differentiate between a web service and a web application?
There's a variety of answers to this question, but I think the most concise is as follows. A web application is designed to be used by humans, whereas a web service is designed to be used by other pieces of software (which may or may not be part of a web application). Does that help?
Think of a web service as a function you can call through the internet. In contrast a web application is the whole thing, including gui.
Web application have both UI and data communication functionality.. while web service only meant to transfer data or actions.
One is optimized for computer access, while the other is optimized for human access.

SOA - What Internal Web Service Did Your Company Implement First? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What internal web service did your company implement first? What did you learn?
One of the first movers was the "Customer base system".
The common authority for all customers in the company.
EDIT:
regarding the comment:
It did indeed open up for more SOA. It's about 3-5years ago (before me) and currently it was publicly known last year that the SOA helped the company switch from a 3years delayed system to a new one within a year.
Regarding other stuff:
Dont get me started on our SAP integration :S Thats 3 years old as well, and nobody is really able to debug or update the setup. Currently we are POCing webservice integration with SAP. Pheeew
We just implemented a credit card processing web service that allows us to process transactions from a Delphi POS system and a Classic ASP web site. Additionally, we are hoping to get it to work with a Java based IVR system.
The web service was written in ASP.NET (C#) and utilizes SSL encryption, XML, XSD validation and a load balanced web farm.
We have also recently implemented various utility services that do everything from address verification to creating orders in our ERP system.
Our first web service was actually externally exposed. It caused us to think about security upfront...
Let me see if I can get this conversation going. My company implemented a wrapper around the most common Active Directory look-up needs. I imagine this might be one of the most common things to do first in Microsoft/.NET shops.
Anybody implement a library of utility services? Write a facade to some SAP module? Wrap up some services for Human Resources? I'm curious to what people are working on.