Hi Michael,

At first: Congratulations for successfully completing your GSoC09
project on time! It's been a pleasure for me to see you working on PubSub.

I hope we see you working on Vysper in future.

Now the demo.
Yesterday I got it working.

I removed the call to JTable.setFillsViewportHeight(boolean) because it
is JDK 6 only.

Then I found that subscribers are receiving every published message two
times (at least it is displayed two times). Can you reproduce?

Maybe you get that fixed one way or the other.

Thanks for giving us PubSub,

  Bernd


Michael Jakl wrote:
> Hi!
> 
> The demo application has finally reached its "feature complete" state. You can
>  - Login (the server accepts user1, user2, user3 all with password 
> "password1")
>  - Discover all nodes on the server
>  - See whether the user is the owner
>  - See if the user is subscribed
>  - Subscribe and unsubscribe
>  - Create new nodes
>  - Delete nodes (if the user is the owner)
>  - Open a detail view for a node
>    * See messages received - if subscribed (and only while online)
>    * Publish messages to a node (if the user is the owner)
> 
> These are most features that are currently implemented in the module
> (not shown is the "persistent-item" feature).
> 
> To try it, you have to start Vysper with the PubSub module loaded (put
> everything in the classpath and start with java
> org.apache.vysper.xmpp.server.ServerMain
> -Dvysper.add.module=org.apache.vysper.xmpp.modules.extension.xep0060_pubsub.PublishSubscribeModule
> for example).
> 
> Sidenote: You have to use a version prior to rev802821 of vysper-core,
> and HEAD of the extension and the client (see my previous mail).
> 
> The client is a simple Java Swing application and is run with the
> three smack libs on the classpath. For example on a *nix with ~/.m2 as
> Maven directory:
> java -classpath
> ~/.m2/repository/jivesoftware/smack/3.1.0/smack-3.1.0.jar:~/.m2/repository/jivesoftware/smackx/3.1.0/smackx-3.1.0.jar:~/.m2/repository/jivesoftware/smackx-pubsub/1.0-20090813101732-vysper/smackx-pubsub-1.0-20090813101732-vysper.jar
> org.apache.vysper.demo.pubsub.client.PubsubClientGUI
> 
> As soon as the server closes, all data (nodes, items) will be lost.
> 
> To see something interesting, you could open two or three clients with
> different users (don't forget to change the JID *and* the username),
> create a few nodes, subscribe to them and post messages back and
> forth.
> 
> Currently only the "owner" is allowed to publish (and there is no
> possibility to grant permissions to other users ATM).
> 
> I hope you enjoy it :)
> 
> Cheers,
> Michael
> 

Reply via email to