The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Federated Identity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Federated Identity " Watch "Federated Identity " New topic

Federated Identity

Andy Smith
Ranch Hand

Joined: Sep 28, 2003
Posts: 239
Can anyone explain how the fedareated identity is better then the centralizaed one?

Share Knowledge to gain it.
SCJP 2, SCWCD 2, SCDJWS, IBM 141 (In Progress), IBM 486 (Next)
Dushy Inguva
Ranch Hand

Joined: Jun 24, 2003
Posts: 264
Anyone on this one???

Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
Let me try and explain this with a JAXR example . I am not sure what u meant by centralized .. can you clarify on that.
This is how I see it
ConnectionFactory factory = ConnectionFactory.newInstance();
//configure the ConnectionFactory
Properties props = new Properties();
//Connect to UDDI test registry
Connection connection = factory.createConnection();
The above code creates a single connection to only one inquiryapi or publishapi.
For a federated connection you can create connections to other sites for inquiry and publish api and combine them like below.
Collection fedCollection = new HashSet();
// Generally federated connections would involve more then two factory connections. Federated connections can help you combine a connection. you can create connections to different inquiryapis
FederatedConnection fedConn = factory.createFederatedConnection(fedCollection);
fedConn object lets you do all the calls you want which you do with a normal connection only now you have any number of sites interrelated.
I hope I didnt confuse you further.
sandeep kulkarni
Ranch Hand

Joined: Feb 25, 2004
Posts: 36
Federation allows us to perform "distributed" queries on the multiple XML-registries at the same time.This is not possible with normal Connection
I agree. Here's the link:
subject: Federated Identity
jQuery in Action, 3rd edition