You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ap...@apache.org on 2012/10/02 20:12:37 UTC
svn commit: r1393072 - /mina/site/trunk/content/vysper/
Author: apaliwal
Date: Tue Oct 2 18:12:37 2012
New Revision: 1393072
URL: http://svn.apache.org/viewvc?rev=1393072&view=rev
Log:
migrated all vysper pages
Added:
mina/site/trunk/content/vysper/dependencies.mdtext
mina/site/trunk/content/vysper/extending_server.mdtext
mina/site/trunk/content/vysper/extension_roadmap.mdtext
mina/site/trunk/content/vysper/getting_involved.mdtext
mina/site/trunk/content/vysper/issue_tracking.mdtext
mina/site/trunk/content/vysper/mailing_lists.mdtext
mina/site/trunk/content/vysper/server_standalone.mdtext
mina/site/trunk/content/vysper/service_discovery.mdtext
mina/site/trunk/content/vysper/sources.mdtext
mina/site/trunk/content/vysper/user_guide.mdtext
Modified:
mina/site/trunk/content/vysper/documentation.mdtext
mina/site/trunk/content/vysper/index.mdtext
Added: mina/site/trunk/content/vysper/dependencies.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/dependencies.mdtext?rev=1393072&view=auto
==============================================================================
--- mina/site/trunk/content/vysper/dependencies.mdtext (added)
+++ mina/site/trunk/content/vysper/dependencies.mdtext Tue Oct 2 18:12:37 2012
@@ -0,0 +1,36 @@
+Title: Dependencies
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
+# Dependencies
+
+Vysper depends on these fine libraries and frameworks:
+
+[MINA](http://mina.apache.org) - for socket communication.
+
+[Spring Framework](http://springframework.org/) (optional) - for component configuration and wiring.
+
+[Bouncy Castle SSL Provider](http://www.bouncycastle.org/) - stream encryption
+
+[JUnit](http://junit.sourceforge.net/) - unit testing
+
+[slf4j](http://slf4j.org/) - logging framework, currently using [log4j](http://logging.apache.org/log4j), but this is exchangable
+
+[Jackrabbit](http://jackrabbit.apache.org/) - Jackrabbit is used for JCR container persistence.
+
+More detailed info about dependencies and libraries can be found [here](http://svn.apache.org/repos/asf/labs/vysper/lib/LIBRARY_OVERVIEW.txt).
Modified: mina/site/trunk/content/vysper/documentation.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/documentation.mdtext?rev=1393072&r1=1393071&r2=1393072&view=diff
==============================================================================
--- mina/site/trunk/content/vysper/documentation.mdtext (original)
+++ mina/site/trunk/content/vysper/documentation.mdtext Tue Oct 2 18:12:37 2012
@@ -25,26 +25,26 @@ XMPP is more commonly known as 'Jabber'.
## XMPP Specifications
-A list of the implementation status of the various specifications are available.
+A [list of the implementation status](standards_supported.html) of the various specifications are available.
## Architecture
-XML Processing
-Stanza processing
-User authentication and management
+* [XML Processing](xml_processing.html)
+* [Stanza processing](stanza_processing_layer.html)
+* [User authentication and management](user_mgmt.html)
## Using the server
-Apache Vysper can run stand-alone or embedded into another application.
-It should work with any compliant XMPP client.
-A test client is included with the project.
+Apache Vysper can run stand-alone or [embedded into another application](embed.html)
+It should work with any [compliant XMPP client](http://en.wikipedia.org/wiki/List_of_Jabber_client_software).
+A [test client](test_client.html) is included with the project.
## Modules/endpoints
Here you can find documentation for using some of the Vysper extensions. Modules usually implement different XEP specifications, while Endpoints implement network protocols.
-Server-to-server connections
-SOCKS5 bytestream module
-Websockets endpoint
+* [Server-to-server connections](server_to_server_comm.html)
+* [SOCKS5 bytestream module](socks5.html)
+* [Websockets endpoint](websocket_endpoint.html)
Added: mina/site/trunk/content/vysper/extending_server.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/extending_server.mdtext?rev=1393072&view=auto
==============================================================================
--- mina/site/trunk/content/vysper/extending_server.mdtext (added)
+++ mina/site/trunk/content/vysper/extending_server.mdtext Tue Oct 2 18:12:37 2012
@@ -0,0 +1,60 @@
+Title: Extending the Server
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
+# How to extend the server functionality
+
+## XMPP support for extensions
+
+[XMPP](http://www.xmpp.org/) provides a bunch of already specified extensions. See <http://www.xmpp.org/extensions> for a complete list.
+
+XMPP also allows for custom extensions of the core stanza types 'message', 'iq' and 'presence'. All XMPP clients and servers should be able to savely ignore them unless they are able to deal with them. See the [relevant specification chapter](http://www.xmpp.org/internet-drafts/draft-saintandre-rfc3920bis-05.html#stanzas-extended).
+
+Most XMPP extensions rely on Disco (Service Discovery, XEP-0030).
+It's easy to integrate modules with Vysper's Disco extension.
+
+Most XMPP extensions rely on Disco ([Service Discovery, XEP-0030](http://xmpp.org/extensions/xep-0030.html)).
+It's easy to integrate modules with [Vysper's Disco extension](http://mina.apache.org/vysper/service-discovery.html).
+
+## Modules
+
+Regardless which kind of extension it is (Vysper internal, XMPP standardized or home-brewn) they all can be deployed using the Vysper Modules.
+
+Vysper Modules are implementations of interface org.apache.vysper.xmpp.modules.Module, but it is probably more convenient to extend DefaultModule. Modules supporting disco should extend DefaultDiscoAwareModule.
+
+An example of a Vysper-internal module is org.apache.vysper.xmpp.modules.roster.RosterModule.
+
+## Handlers and Dictionaries
+
+Every incoming stanza is processed by one dedicated StanzaHandler instance. For implementing a new functionality, we'd have to code new StanzaHandlers. They are registered with the server. The server introspects the stanza and decides which handler is tailored for it by basically looking at the stanza name ('message'/'iq'/'presence') and the namespace attributes ('xmlns') on the top and first-child XML elements.
+
+Dictionary objects are used to compile handlers for the same namespace.
+
+## A custom handler
+
+It is highly recommended that custom handlers do subclass
+
+* org.apache.vysper.xmpp.modules.core.base.handler.DefaultIQHandler
+* org.apache.vysper.xmpp.modules.core.base.handler.MessageHandler
+* org.apache.vysper.xmpp.modules.core.im.handler.PresenceHandler
+
+## Activate a module in the server
+
+Modules are registered with the server calling ServerRuntimeContext.addModule(Module module).
+
+Using spring-config.xml, they are configured in bean 'server'. Simply add a new bean for the module to the config. Then add a bean reference to property 'modules' list in 'server'. On server startup, these modules are loaded and activated.
Added: mina/site/trunk/content/vysper/extension_roadmap.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/extension_roadmap.mdtext?rev=1393072&view=auto
==============================================================================
--- mina/site/trunk/content/vysper/extension_roadmap.mdtext (added)
+++ mina/site/trunk/content/vysper/extension_roadmap.mdtext Tue Oct 2 18:12:37 2012
@@ -0,0 +1,108 @@
+Title: Extension Roadmap
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
+# Extension Roadmap
+
+## Extension Roadmap
+
+## Change the prios!
+
+If there is anything you want to implement, regardless if it is on this lists or not, please don't hesitate to contact us.
+This is not set in stone! It's just there to give some perspective
+
+## Completed
+
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0004.html" class="external-link" rel="nofollow">XEP-0004</A> </TD>
+<TD class="confluenceTd"> Data Forms </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0030.html" class="external-link" rel="nofollow">XEP-0030</A> </TD>
+<TD class="confluenceTd"> <A href="service_discovery.html" title="Service Discovery">Service Discovery</A> </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0048.html" class="external-link" rel="nofollow">XEP-0048</A> </TD>
+<TD class="confluenceTd"> Bookmarks </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0049.html" class="external-link" rel="nofollow">XEP-0049</A> </TD>
+<TD class="confluenceTd"> Private XML Storage </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0054.html" class="external-link" rel="nofollow">XEP-0054</A> </TD>
+<TD class="confluenceTd"> vcard-temp </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0090.html" class="external-link" rel="nofollow">XEP-0090</A> </TD>
+<TD class="confluenceTd"> Entity Time (deprecated, see XEP-0202) </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0092.html" class="external-link" rel="nofollow">XEP-0092</A> </TD>
+<TD class="confluenceTd"> Software Version </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0199.html" class="external-link" rel="nofollow">XEP-0199</A> </TD>
+<TD class="confluenceTd"> XMPP Ping </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0202.html" class="external-link" rel="nofollow">XEP-0202</A> </TD>
+<TD class="confluenceTd"> Entity Time </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+## In development
+
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TD class="confluenceTd"> <A href="http://ietf.org/rfc/rfc3920.txt" class="external-link" rel="nofollow">RFC3920</A> </TD>
+<TD class="confluenceTd"> in progress, some features missing </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://ietf.org/rfc/rfc3921.txt" class="external-link" rel="nofollow">RFC3921</A> </TD>
+<TD class="confluenceTd"> in progress, major features missing </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0060.html" class="external-link" rel="nofollow">XEP-0060</A> </TD>
+<TD class="confluenceTd"> Publish-Subscribe, fully compliant but not full featured </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0045.html" class="external-link" rel="nofollow">XEP-0045</A></TD>
+<TD class="confluenceTd">Multi-user chat</TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+## Upcoming
+
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0009.html" class="external-link" rel="nofollow">XEP-0009</A> </TD>
+<TD class="confluenceTd"> RPC </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <A href="http://xmpp.org/extensions/xep-0077.html" class="external-link" rel="nofollow">XEP-0077</A> </TD>
+<TD class="confluenceTd"> In-band Registration </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
Added: mina/site/trunk/content/vysper/getting_involved.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/getting_involved.mdtext?rev=1393072&view=auto
==============================================================================
--- mina/site/trunk/content/vysper/getting_involved.mdtext (added)
+++ mina/site/trunk/content/vysper/getting_involved.mdtext Tue Oct 2 18:12:37 2012
@@ -0,0 +1,28 @@
+Title: Getting Involved
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
+# Getting Involved
+
+The Apache Vysper developers communicates using our [Mailing Lists](mailing_lists.html). If you have any questions, feedback or suggestions, you're very welcome to join the list and send an email. We are also happy to receive [bug reports and feature requests in our JIRA]({{base}}/vysper/issue_tracking.html).
+
+## Patches
+
+The best chance of getting your bug or feature fixed is to provide a patch, if they fit our goals we will usually have them commited within a few days. The Apache Contributors page has excellent [information on how to produce patches](http://apache.org/dev/contributors.html#patches).
+
+
Modified: mina/site/trunk/content/vysper/index.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/index.mdtext?rev=1393072&r1=1393071&r2=1393072&view=diff
==============================================================================
--- mina/site/trunk/content/vysper/index.mdtext (original)
+++ mina/site/trunk/content/vysper/index.mdtext Tue Oct 2 18:12:37 2012
@@ -21,7 +21,7 @@ Notice: Licensed to the Apache Softwa
Apache Vysper aims to be a modular, full featured XMPP (Jabber) server.
-More details on Vysper in our documentation.
+More details on Vysper in our [documentation](documentation.html).
There are already some larger XEPs as modules available, most notably
@@ -29,5 +29,5 @@ There are already some larger XEPs as mo
* Publish/Subscribe ([XEP0060](http://xmpp.org/extensions/xep-0060.html))
* BOSH ([XEP0124](http://xmpp.org/extensions/xep-0124.html), [XEP0206](http://xmpp.org/extensions/xep-0206.html))
-To start using and/or developing extensions for Vysper, don't miss the User Guide!
+To start using and/or developing extensions for Vysper, don't miss the [User Guide](user_guide.html)!
Added: mina/site/trunk/content/vysper/issue_tracking.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/issue_tracking.mdtext?rev=1393072&view=auto
==============================================================================
--- mina/site/trunk/content/vysper/issue_tracking.mdtext (added)
+++ mina/site/trunk/content/vysper/issue_tracking.mdtext Tue Oct 2 18:12:37 2012
@@ -0,0 +1,35 @@
+Title: Issue Tracking
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
+# Issue Tracking
+
+We are using JIRA to track all Vysper issues including bugs. Please visit our [issue tracker page](http://issues.apache.org/jira/browse/VYSPER) to report a bug.
+
+## How to report a bug
+
+Writing a bug report with detailed information will help us to fix your problem sooner.
+
+* Make sure if the bug you are going to report doesn't exist yet.
+* Attaching JUnit test case which reproduces the problem will put your report in our highest priority.
+* Attach full thread stack dump if you suspect a dead lock.
+* Attach full heap dump if you suspect a memory leak.
+* Specify the environment in detail as much as possible.
+ * Operating system version, distribution, architecture, ...
+ * JVM vendor, version, build number, command line arguments, ...
+ * Network settings
Added: mina/site/trunk/content/vysper/mailing_lists.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/mailing_lists.mdtext?rev=1393072&view=auto
==============================================================================
--- mina/site/trunk/content/vysper/mailing_lists.mdtext (added)
+++ mina/site/trunk/content/vysper/mailing_lists.mdtext Tue Oct 2 18:12:37 2012
@@ -0,0 +1,97 @@
+Title: Mailing Lists
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
+# Mailing List
+
+General information about the Vysper mailing lists can be found here.
+
+## For Users
+
+Please use this list for any questions regarding how to use Vysper.
+
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Subscribe </TH>
+<TD class="confluenceTd"> <A href="mailto:users-subscribe@mina.apache.org" class="external-link" rel="nofollow">users-subscribe@mina.apache.org</A> </TD>
+</TR>
+<TR>
+<TH class="confluenceTh"> Unsubscribe </TH>
+<TD class="confluenceTd"> <A href="mailto:users-unsubscribe@mina.apache.org" class="external-link" rel="nofollow">users-unsubscribe@mina.apache.org</A> </TD>
+</TR>
+<TR>
+<TH class="confluenceTh"> Post </TH>
+<TD class="confluenceTd"> <A href="mailto:users@mina.apache.org" class="external-link" rel="nofollow">users@mina.apache.org</A> </TD>
+</TR>
+<TR>
+<TH class="confluenceTh"> Archive </TH>
+<TD class="confluenceTd"> <A href="http://www.mail-archive.com/users@mina.apache.org/" class="external-link" rel="nofollow">http://www.mail-archive.com/users@mina.apache.org/</A> </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+## For Developers
+
+We use the MINA developers list for asking technical questions, discussing feature suggestions or general questions regarding the project.
+
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Subscribe </TH>
+<TD class="confluenceTd"> <A href="mailto:dev-subscribe@mina.apache.org" class="external-link" rel="nofollow">dev-subscribe@mina.apache.org</A> </TD>
+</TR>
+<TR>
+<TH class="confluenceTh"> Unsubscribe </TH>
+<TD class="confluenceTd"> <A href="mailto:dev-unsubscribe@mina.apache.org" class="external-link" rel="nofollow">dev-unsubscribe@mina.apache.org</A> </TD>
+</TR>
+<TR>
+<TH class="confluenceTh"> Post </TH>
+<TD class="confluenceTd"> <A href="mailto:dev@mina.apache.org" class="external-link" rel="nofollow">dev@mina.apache.org</A> </TD>
+</TR>
+<TR>
+<TH class="confluenceTh"> Archive </TH>
+<TD class="confluenceTd"> <A href="http://www.mail-archive.com/dev@mina.apache.org/" class="external-link" rel="nofollow">http://www.mail-archive.com/dev@mina.apache.org/</A> </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+## Subversion commits
+
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Subscribe </TH>
+<TD class="confluenceTd"> <A href="mailto:commits-subscribe@mina.apache.org" class="external-link" rel="nofollow">commits-subscribe@mina.apache.org</A> </TD>
+</TR>
+<TR>
+<TH class="confluenceTh"> Unsubscribe </TH>
+<TD class="confluenceTd"> <A href="mailto:commits-unsubscribe@mina.apache.org" class="external-link" rel="nofollow">commits-unsubscribe@mina.apache.org</A> </TD>
+</TR>
+<TR>
+<TH class="confluenceTh"> Post </TH>
+<TD class="confluenceTd"> <A href="mailto:commits@mina.apache.org" class="external-link" rel="nofollow">commits@mina.apache.org</A> </TD>
+</TR>
+<TR>
+<TH class="confluenceTh"> Archive </TH>
+<TD class="confluenceTd"> <A href="http://www.mail-archive.com/commits@mina.apache.org/" class="external-link" rel="nofollow">http://www.mail-archive.com/commits@mina.apache.org/</A> </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+
Added: mina/site/trunk/content/vysper/server_standalone.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/server_standalone.mdtext?rev=1393072&view=auto
==============================================================================
--- mina/site/trunk/content/vysper/server_standalone.mdtext (added)
+++ mina/site/trunk/content/vysper/server_standalone.mdtext Tue Oct 2 18:12:37 2012
@@ -0,0 +1,43 @@
+Title: Standalone Server
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
+# run main class
+
+if you like to invoke the server from an IDE or the commandline, use the Java class
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>org.apache.vysper.spring.ServerMain
+</PRE>
+</DIV></DIV>
+
+for example by typing
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>java org.apache.vysper.spring.ServerMain
+</PRE>
+</DIV></DIV>
+
+be sure to include all jars in lib/ in your classpath plus the spring-config.xml.
+
+It is also possible to load modules on the command line:
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>java org.apache.vysper.spring.ServerMain -Dvysper.add.module=module1,module2...
+</PRE>
+</DIV></DIV>
Added: mina/site/trunk/content/vysper/service_discovery.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/service_discovery.mdtext?rev=1393072&view=auto
==============================================================================
--- mina/site/trunk/content/vysper/service_discovery.mdtext (added)
+++ mina/site/trunk/content/vysper/service_discovery.mdtext Tue Oct 2 18:12:37 2012
@@ -0,0 +1,69 @@
+Title: Service Discovery
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
+# Using Service Discovery
+
+## Disco quick start
+
+Service Discovery (or 'disco') is a XMPP extensions specified at (Service Discovery, XEP-0030).
+
+Disco resembles Directory services like LDAP, or even file systems.
+
+Disco is a server-side service. It maintains a tree of nodes (branches) and items (leafs). Clients discover child nodes and items of the root node or some other already discovered node by sending info-requests (IQ stanzas).
+The server replies with a IQ response containing a list of nodes and items.
+
+## Using disco
+
+In Vysper, Disco is itself implemented as a module (making it easy to swap disco implementations). The disco module must be loaded to link into it.
+
+Any module can publish its own features, nodes and items through disco to become 'discoverable' by clients and other servers and to expose 'stuff', whatever makes sense for that module.
+
+It is highly recommended that modules supporting disco extend DefaultDiscoAwareModule, which provides convenient integration with disco.
+
+Via DefaultDiscoAwareModule overrides, modules can register listeners for disco requests. If applicable, they simply add their part to the response. So, the disco-aware module has full control over the stuff it exposes.
+
+## The most simple form of disco is to advertise a feature. Clients knowing about that feature can then use it, for example by adding special payload to stanzas, by interacting with the module through dedicated stanzas or by using more disco.
+
+This is how a feature is advertised in the XEP-0092 implementation:
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>public class SoftwareVersionModule extends DefaultDiscoAwareModule implements ServerInfoRequestListener {
+ @Override
+ protected void addServerInfoRequestListeners(List<ServerInfoRequestListener> serverInfoRequestListeners) {
+ serverInfoRequestListeners.add(this);
+ }
+
+ public List<InfoElement> getServerInfosFor(InfoRequest request) {
+ List<InfoElement> infoElements = new ArrayList<InfoElement>();
+ infoElements.add(new Feature(NamespaceURIs.JABBER_IQ_VERSION));
+ return infoElements;
+ }
+}
+</PRE>
+</DIV></DIV>
+
+At init time, the listener is registered, which is the module class itself ("this").
+On every disco request occuring on server level, disco calls the listener via getServerInfosFor(), and the module advertises its support for XEP-0092. Please note that in an advanced scenario, we can make the module's behavior depending on the properties of the InfoRequest parameter.
+
+## Item and Info discovery
+
+They work similar, with similar listeners and callback.
+TODO: elaborate!
+
+
Added: mina/site/trunk/content/vysper/sources.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/sources.mdtext?rev=1393072&view=auto
==============================================================================
--- mina/site/trunk/content/vysper/sources.mdtext (added)
+++ mina/site/trunk/content/vysper/sources.mdtext Tue Oct 2 18:12:37 2012
@@ -0,0 +1,106 @@
+Title: Sources
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
+# Getting the source
+
+This project uses Subversion to manage its source code. Instructions on Subversion use can be found at <http://svnbook.red-bean.com/>. If you are on Windows, the excellent [TortoiseSVN](http://tortoisesvn.tigris.org/) client is highly recommended.
+
+## Web Access
+
+The following is a link to the [online source repository](http://svn.apache.org/viewvc/mina/vysper).
+
+## Anonymous access
+
+The source can be checked out anonymously from SVN with this command:
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ svn checkout http://svn.apache.org/repos/asf/mina/vysper/trunk vysper
+</PRE>
+</DIV></DIV>
+
+
+## Developer access
+
+Everyone can access the Subversion repository via HTTPS, but Committers must checkout the Subversion repository via HTTPS.
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ svn checkout https://svn.apache.org/repos/asf/mina/vysper/trunk vysper
+</PRE>
+</DIV></DIV>
+
+To commit changes to the repository, execute the following command to commit your changes (svn will prompt you for your password)
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ svn commit --username your-username -m "A message"
+</PRE>
+</DIV></DIV>
+
+## Access from behind a firewall
+
+For those users who are stuck behind a corporate firewall which is blocking http access to the Subversion repository, you can try to access it via the developer connection:
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ svn checkout https://svn.apache.org/repos/asf/mina/vysper/trunk vysper
+</PRE>
+</DIV></DIV>
+
+## Access through a proxy
+
+The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)
+
+There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.
+
+Example : Edit the 'servers' file and add something like :
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>[global]
+http-proxy-host = your.proxy.name
+http-proxy-port = 3128
+</PRE>
+</DIV></DIV>
+
+## Building
+
+We use Maven for managing our dependencies and packaging. Please use Maven 2.2.1 or later.
+To install all of Vysper (core, modules etc) you can try this after the checkout:
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>mvn clean install
+</PRE>
+</DIV></DIV>
+
+You can also build a complete, runnable Vysper server:
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>cd dist
+mvn clean package
+</PRE>
+</DIV></DIV>
+
+
+On successful build, you will find a functional binary package at
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>target/vysper-1.0.0-SNAPSHOT-bin.{zip|tar.gz}
+</PRE>
+</DIV></DIV>
+
+Unpackaging a bin-package reveals a bin/ directory, containing run-scripts for Windows and Unix/MacOS.
+Executing this script will boot a working Vysper XMPP server.
+
Added: mina/site/trunk/content/vysper/user_guide.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/vysper/user_guide.mdtext?rev=1393072&view=auto
==============================================================================
--- mina/site/trunk/content/vysper/user_guide.mdtext (added)
+++ mina/site/trunk/content/vysper/user_guide.mdtext Tue Oct 2 18:12:37 2012
@@ -0,0 +1,29 @@
+Title: User Guide
+Notice: Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
+# User Guide
+
+* [Dependencies](dependencies.html)
+* [Embed into another application](embed.html)
+* [Extending the Server](extending_server.html)
+* [Extension Roadmap](extension_roadmap.html)
+* [Run Server Standalone](server_standalone.html)
+* [Service Discovery](service_discovery.html)
+* [Test client](test_client.html)
+* [XML Processing](xml_processing.html)