Skip to main content

Multiple JXTA peers on one JVM for multiple identities

2 replies [Last post]
merlante
Offline
Joined: 2010-08-18
Points: 0

Hi all,

I've been reading this thread: http://forums.java.net/jive/message.jspa?messageID=366618, about running multiple JXTA instances in one VM. I have an interest in this, but for different reasons than unit testing, etc. I believe that if P2P networking is going to take off, in tandem with social networking, then users will need different partial identities in different operating contexts. However, if each partial identity uses the same PeerID for communications, then they can easily be linked together by a cursory examination of advertisement traffic.

Partial identities are 'views' of the user's real identity, that the user chooses to express in different contexts.

For example, the me_at_work and the me_with_my_friends partial identities will tend to have different attributes and social networks. If these social networks can be ascertained by traffic watching then it's a big privacy concern.

So, what is required to solve this problem is the ability to operate as different peers with different PeerIDs, different PeerGroups, etc., all within the same JVM -- preferably within the same JXTA instance up to a point. There are generic/static objects that you would prefer were only loaded once for performance reasons.

I'd be interested in hearing the views of JXTA developers on this issue, and whether it is something that on the face of it is easily achieved. It'd would be great if it were just a case of doing without NetworkManager and kicking things off in a more generic way.

Regards,
mark

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
boylejohnr
Offline
Joined: 2008-10-27
Points: 0

Hi Mark,

this is in hand. In the onedrum branch we have made functionally separate and have one remaining issue that on shutdown we have a lingering dependancy. I would expect this to be resolved in trunk in next couple of weeks.

Regards,
John.

merlante
Offline
Joined: 2010-08-18
Points: 0

That's great news, John, thanks for that!