Welcome

th guest

Component Library Management System

Colimas Techs

Detail Design

Architecture   Source Fragment
  Tomcat+Struts+MySQL+Apache HTTP

Colimas use MVC framework to build component library management system. Tomcat is excellent JSP container and Apache HTTP is most famous open source web server. Colimas integrate both to establish web server and web service server in order to enable both java web service and C++ web service.

使用Eclipse 3.1 WST编写Struts文件上传
Security    
 
JAAS

Colimas uses JAAS to control security. But Colimas doesn't change any policy or policy file to implement JAAS in struts web app. It uses platform independent tech to build a good security structure. Show in source fragment right in detail. Sorry for only Chinese language is available.

Filter

Colimas use filter instead of LDAP to maintain simple structure. Filter will protect specified directory from illegal visit.

[原创]JAAS 实现in Struts Web App,使用XMLPolicy文件,不改变VM安全配置(1)认证

[原创]JAAS 实现in Struts Web App,使用XMLPolicy文件,不改变VM安全文件(2)授权

Web App struts框架里实现Filter.

View    
  XSL

XSL is used to show xml data in jsp page.

Colimas use struts-tiles to layout its view, and it uses Validator to process invalid input.

用XSLT文件在浏览器格式化显示XML文件

struts框架下,在jsp页面显示XSL格式化的XML。

Struts里使用tiles模板

Struts使用Validator

Logging    
  Log4j

Colimas uses log4j to log online and back-end actions.

web app的Log4j应用
Searching    
  Lucene

Colimas uses lucene open source search engine to search resources (Project, Component, Web Service, Source Codes in it.

使用lucene生成html文件索引
Web Service    
  Axis

Colimas can publish web service from components by deploying to Axis web service container.

 
Document Parser    
 

Apache POI , tm-extractors

Colimas uses POI to analyze Excel file and uses tm-extractors to analyze Word file.

使用TextMiniing和Apache POI获得Word文件内容,无须MS-Office ActiveX

使用Apache POI和Java获得Excel文件内容,无须MS-Office ActiveX OLE

Source Modeling    
  doxygen, velocity

Colimas uses doxygen to analyze source codes of components and uses velocity to create template of documents.

Java实现读取Doxygen查询功能的索引文件。
Test Tools    
  JUNIT  
SCM    
  CVS  
Development Tool    
  Eclipse3.1 with WebDev Tool  
Mail Sending    
  JavaMail

Colimas uses JavaMail to send mail to admins and every user.

 
Schedule Jobs    
 

Quartz

Quartz is a open source components for java scheduling jobs. Colimas uses it to build scheduling batch to send mail, backup, checkout cvs, etc.

Web App使用Quartz实现java schedule job
DAO/JNDI/JDBC    
  DAO

Colimas uses DAO design pattern and JNDI to connect MySQL DB by JDBC. Two xml config files are used to reduce coupling between logic and implementation.

实现可扩展的DAO,本文给出实现DAO的编程思想。

Internationalization    
  Colimas uses multilanguage structure. It supports Chinese, Japanese and English. Struts实现多国语言切换
Client Ends    
.NET PIA, .NET WSDL, .NET Office Add-in, Eclipse Plug-in Colimas uses .NET PIA that is a component library to process MS-Office(Word and Excel) docs.
.NET WSDL is a tool named wsdl.exe that transform webservcer.wsdl file to VB.NET or C# client so that Windows client can communicate non windows Web Service(java web service).
Colimas uses .NET Office Add-in to integrate Colimas client to MS-Office applications.

创建简单Eclipse插件实现Axis Web Service客户端

VB.NET客户端调用Axis的Java Web Service实现文件上传

Microsoft Office VB.NET编程,获得当前编辑文档的对象,并打印到控制台

Microsoft Office,VB.NET编程 PIA使用小程序

Colimas All rights reserved by Zhao Lei, tyrone1979 | All rights reserved | Contact us