摘要:基于Hibernate的实现,主要实现用户在数据库中的查询,保存,删除。UserDao接口:/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and...
阅读全文
摘要:主要就是UserTable的代码:/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the ter...
阅读全文
摘要:1.配置文件,读取config.xml/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the t...
阅读全文
摘要:1.服务器单例设计一个比较Nice的地方,注意Xmpp构造函数抛出的异常/** * Returns the singleton instance of XmppServer. * * @return the server instance. */ public ...
阅读全文
摘要:1.Starter 类似一个Web容器的实现/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under th...
阅读全文
摘要:jivesoftware, androidpn基于openfire实现。dom4j是解析XMPP协议。Jetty 是一个开源的servlet容器,它为基于Java的web内容,例如JSP和servlet提供运行环境。Jetty是使用Java语言编写的,它的API以一组JAR包的形式发布。开发人员可以...
阅读全文
摘要:/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gen...
阅读全文
摘要:AuthManager* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of t...
阅读全文
摘要:1.XmppCodecFactory:负责创建Encoder和Decoder/* * Copyright (C) 2010 Moduad Co., Ltd. * * This program is free software; you can redistribute it and/or modi...
阅读全文