分类分类
大小:6.91 MB更新:2014/10/17
类别:其它插件系统:Win2003,WinXP,Win2000,Win9X
====================
开发说明(README)
This is a webim plugin demo for struts2 web application.
Demo
====
Import 'Webim' Project to Eclipse EE.
Create Tomcat Server and Run
Access: http://localhost:8080/Webim/
Developer Guide
===============
Create Database
---------------
import install.sql
Coding WebimPlugin.java
-----------------------
implements these methods:
```java
public WebimEndpoint endpoint();
public List<WebimEndpoint> buddies(String uid);
List<WebimEndpoint> buddiesByIds(String uid, String[] ids);
public WebimRoom findRoom(String roomId);
public List<WebimRoom> rooms(String uid);
public List<WebimRoom> roomsByIds(String uid, String[] ids);
public List<WebimMember> members(String roomId);
public List<WebimNotification> notifications(String uid);
```
Coding WebimModel.java
-----------------------
Histories
Settings
Coding Config
-------------
You should change the WebimConfig.java, and load configurations from database or xml.
Webim Javascript
-----------------------
Insert Javascript code below to web pages that need to display Webim:
```javascript
<script type="text/javascript" src="/Webim/boot.do"></script>
```