S
Scott M.
As I begin to really look into SOA and get it straight in my mind that SOI
doesn't mean SOA, I've begun thinking about a simple example and am
wondering how it might be best set up as an SOA.
Can those, in the know, comment on the following scenario:
Let's take a simple scenario where a user needs to login to a system so that
they can view details about their account.
Which would make more sense (if any) to set this up as an SOA:
1a. Create a service that performs the login against a database and returns
a sort of login id that is used to indicate that the user is logged in.
1b. Create a service to accept a log in id and an account number to verify
the log in, perform the account lookup and return the account information.
1c. Create a service to perform a logout operation.
2a. Create a service that accepts login credentials and an account number,
does the login, looks up the account and returns the data and performs the
logout.
What I'm struggling with here is trying to envision how granularity and
security might be designed correctly for SOA.
I realize that this is a simple, incomplete example and that there is no one
correct way to design SOA, but I'm just trying to get on the right track
here.
Thanks!
doesn't mean SOA, I've begun thinking about a simple example and am
wondering how it might be best set up as an SOA.
Can those, in the know, comment on the following scenario:
Let's take a simple scenario where a user needs to login to a system so that
they can view details about their account.
Which would make more sense (if any) to set this up as an SOA:
1a. Create a service that performs the login against a database and returns
a sort of login id that is used to indicate that the user is logged in.
1b. Create a service to accept a log in id and an account number to verify
the log in, perform the account lookup and return the account information.
1c. Create a service to perform a logout operation.
2a. Create a service that accepts login credentials and an account number,
does the login, looks up the account and returns the data and performs the
logout.
What I'm struggling with here is trying to envision how granularity and
security might be designed correctly for SOA.
I realize that this is a simple, incomplete example and that there is no one
correct way to design SOA, but I'm just trying to get on the right track
here.
Thanks!