Coder Social home page Coder Social logo

维迪易优统一通信平台


本平台是一个可以用于建立企业解决方案的商业网络平台,使用的开源框架与技术包含liferay,appfuse,Spring,Hibernate,AJAX,Apache ServiceMix,ehcache,Groovy,ICEfaces,jBPM,JGroups,Lucene,MuleSource ESB,Seam,Tapestry,Velocity等.如果你正在阅读本文,请确保你有一定的Java基础,熟悉Maven的特性,并且详细阅读过或者掌握liferay开发的技巧。(2013-04-20,liferay等相关技术已从此平台剥离,属于另外一个项目,详情参见公司Wiki)

模块

unified-communication-core                 核心与公用类模块
unified-communication-extension-hr         公司人事管理与招聘
unified-communication-extension-rcp        远程逻辑服务器调用与处理
unified-communication-extension-security   用户安全中心
unified-communication-extension-social     社交网络整合与逻辑处理
unified-communication-support-cas          OAuth,SSO等鉴权登录组件
unified-communication-support-vidyo        与Vidyo相关接口
unified-communication-support-unicom       与China Unicom相关接口
unified-communication-webapp               WEB表现层

部署

  1. support,extension等项目由命令行模式或含有Maven插件的Eclipse工具运行:"mvn install"。
  2. portlet等项目由命令行模式或含有Maven插件的Eclipse工具运行:"mvn package",然后运行"mvn liferay:deploy"。
  3. 命令行模式下进入webapp目录或在含有Maven插件的Eclipse工具运行命令:"mvn jetty:run"。
  4. 打开浏览器查看平台页面 http://localhost:8080。
  5. 使用默认管理员 hotmob:121212,普通用户 mupeng:121212 登陆平台。
  6. 更多问题请查询公司wiki:http://wiki.seekoom.com

注意

  1. 字符集编码统一使用UTF-8。
  2. 程序中杜绝使用可变的静态变量。
  3. 包名、类名、方法名、参数名、变量名与jsp页面等命名规则参见公司Wiki。
  4. 配置Log4j日志记录,不要造成多个模块同时对同一个日志文件进行写操作。
  5. 尽量少将数据存入session中,避免频繁的在集群服务器间复制影响性能。
  6. 不要使用与服务器本地环境相关的状态,如本地时间、操作系统状态等。
  7. 用到缓存时,选取缓存一定要支持集群,或有相应及类似解决方案提供。
  8. 用到附件上传,一定要将附件信息存储到指定一台附件管理的服务器上。

常用命令

mvn appfuse:gen-model     根据数据库的表生成java类

mvn appfuse:gen 根据 POJOs.生成并安装 Tests, DAOs, Managers, Controllers and Views mvn appfuse:full-source 把运行所需要的org.appfuse中的依赖类转换成你的包名称 mvn eclipse:eclipse 生成eclipse的项目的配置文件,用户可以直接把项目导入到eclipse中 mvn jetty:run-war 打包并且发布你的应用程序到Jetty, 查看在 http://localhost:8080 mvn appfuse:install 把生成的源代码及配置文件写入到src中 mvn integration-test 启动TOMCAT(或别的服务器)进行测试 mvn appfuse:remove 删除appfuse:gen.生成的代码 mvn appfuse:clean 清除target下的所有内容

mvn archetype:generate -B -DarchetypeGroupId=com.liferay.maven.archetypes -DarchetypeArtifactId=liferay-ext-archetype -DarchetypeVersion=6.1.1 -DgroupId=com.ammob.communication -DartifactId=liferay-hook-wdyy -Dpackage=foo

happyjason's Projects

java-game-server icon java-game-server

Jetserver is a high speed nio socket based multiplayer java game server written using Netty and Mike Rettig's Jetlang.It is specifically tuned for network based multiplayer games and supports TCP and UDP network protocols.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.