Source code, test code and docs for Software Reuse class 2016 Spring
This is an C-S Java Application to send messages between clients. Of course the messages sent by logged-in clients are validated firstly by the server and then forwarded to all of the valid clients.
One more important thing: the application is named as Naught
.
Additionally, I'd like to tell you something intresting about the name.
Cause many groups use
Netty
to accomplish the tasks, which we hadn't know it before they told us, and we chooseActiveMQ
to be the main part of message middleware, in which way we will not care things aboutSocket
. It may be a bad thing for learning the useful thing,Socket
. Therefore we choose a name sounds likeNaughty
to make up. hhhhh...there seems to be nothing deserves laughing, right?...
In the main Directory of our Git project, you will see two main directories:
NaughtyProject
is the main project directory, including all of the source code and test code.Documents
is the directory for project documents, written in Chinese, for better explanating our thoughts without misunderstanding...
This directory includes the following files:
Name | URL |
---|---|
测试文档 | 测试文档 |
程序文档 | 程序文档 |
复用文档 | 复用文档 |
软件复用管理文档 | 软件复用管理文档 |
构件使用文档 | 构件使用文档 |
构件选择文档 | 构件选择文档 |
本组构件反馈跟踪 | 本组构件反馈跟踪 |
保存和打包消息文件文档 | 保存和打包消息文件文档 |
加密解密文档 | 加密解密文档 |
软件复用分组发送更新文档 | 软件复用分组发送更新文档 |
输出文件控制+归档文件加密复用文档 | 输出文件控制+归档文件加密复用文档 |
持久化消息+显示同组成员列表文档 | 持久化消息+显示同组成员列表文档 |
debugLog+errorLog+打包文档 | debugLog+errorLog+打包文档 |
拆分Server复用文档 | 拆分Server复用文档 |
Disscussion
is the direcotry for in-class discussion homework, which is finished independently.Resources
is the directory for an example ofCM
component file. Anyone can modify a Json file by adding some properties in it and then they can use the properties by callingReadJson
's functions. Andtest.json
is our group's basic configuration file.Components
is the direcotory for documents and.jar
file of our components.
Name | Student Id | Github Id |
---|---|---|
林思妙 | 1352849 | linsimiao |
康慧琳 | 1352871 | 1352871 |
安哲宏 | 1352834 | anzhehong |
张嘉琦 | 1352863 | kobpko |
One more thing, the components .jar
file and document path are listed as follows.
There are two ways for you to import our components into your project.
- Maven
- Jar File
You can refer to the document below for detail.
Notice: Because installing methods of each component is very similar, we only make Utility Document in detail. If you're trying to use other components, you can refer to Utility Document.
Component Name | Document Link | .jar File Download Link |
---|---|---|
Utility | Utility Document | Utility Jar |
CM | CM Document | CM Jar |
Communication | Communication Document | Communication Jar |
Database | Database Document | Database Jar |
License | License Document | License Jar |
PM | PM Document | PM Jar |