package constants: all public classes, fileds in which is public static final, CONSTANT
package core: commonly used classes, always contains a interface(like class Service, Message and so on) and classes implement it.
package data: DB Management, including Java Beans for DB. In which, class DataSet defines the data from DB(including fileds col_name, row_data and dataset_name). DBManage manages the DB connection.
package exception: custom exceptions
package jsp: functions seperated from JSP. Inteface Command and interface ContentModel(javabean)。The classed implementing former interface usually have excute function to return object of the latter type.
本文介绍了一种基于包的Java软件架构设计方案,详细说明了不同包的功能定位:如constants包用于存放公共类及常量,core包包含核心业务类并定义接口以供实现,data包负责数据库管理包括JavaBeans定义等,exception包自定义异常处理,jsp包分离JSP页面的业务逻辑。
3310

被折叠的 条评论
为什么被折叠?



