JXTA provider for ECF

From Eclipsepedia

Jump to: navigation, search

Contents

New commits on ecf1.osuosl.org

I have commited a container example client for jxta provider.

It's in plugins/org.eclipse.ecf.example.jxtaprovider.

You have to first install the feature org.eclipse.ecf.provider.jxta-feature


Introduction

The JXTA container is now working and need some tests for the view part of it.

If you want to test, and this is necessary in order to have more than one tester because JXTA is a P2P network, you should check out the jxta provider org.eclipse.ecf.jxta.provider at https://github.com/ECF/JXTA.

Because this phase of development is on iteration, I will ask regularly on the ecf-dev mailing list for synchronizing (checking out) the iteration n+1.

The project is tracked with bug #135452.

Lauching container

The org.eclipse.ecf.provider.jxta.example package contains an application named RobotApplication, based on the RobotApplication sample for XMPPClient, which runs with the JXTAClient.

For testing, just launch this app. After login in the jxta network - this dialog will be short-circuited in the next release _ You should get the following message:

starting jxta container
JXTAClient
log4j:WARN No appenders could be found for logger (net.jxta.peergroup.PeerGroupFactory).
log4j:WARN Please initialize the log4j system properly.
status.jxta.startNetPeerGroup
status.jxta.joiningApplicationGroup
status.group.join NetPeerGroup
status.group.display NetPeerGroup
group visible
status.group.restore
status.peer.restore
status.dialog.command.register
status.dialog.listener.add: Jxta:IMFreeCommand.jxta-ecf
status.dialog.listener.add: Jxta:IMFreeDialog.jxta-ecf
status.share.register
SO initialized
NetPeerGroup : Connected to the JXTA Network
discover
connect

Perhaps the first time you could also get this error:

java.lang.ExceptionInInitializerError
at org.eclipse.ecf.provider.jxta.search.Searcher.getModifiers(Searcher.java:266)
at org.eclipse.ecf.provider.jxta.search.Searcher.<init>(Searcher.java:138)
at org.eclipse.ecf.provider.jxta.search.Searcher.<init>(Searcher.java:116)
... 33 more

This is 'normal' and should also vanished in next released.

All feedback should be sent to the ecf-dev mailing list, thank you. --Phperret.gmail.com 04:57, 11 July 2006 (EDT)


New RCP with ECF container for JXTA

Here is a fresh snap from my desk with a View of Jxta peers. The app is build with the JXTA container for ECF.


MyJxta RCP app


Code can be checked at : https://github.com/ECF/JXTA

The tricky truc is the presence management - which is a jxta inherent issue.

--Phperret.gmail.com 13:03, 14 September 2006 (EDT)



So now, work to be done is the IPresenceContainerAdapter which I will do in my lost time. Then, to complete the peer view with the chat message view to get a complete little jxta messenger.

I have got the permission to release the JXTA work on the EPL license, :-)


--Phperret.gmail.com 16:52, 19 October 2006 (EDT)