发帖    主题    评论    推荐    标签    作者    订阅    查搜    注册   登陆   关注
 
面向对象 设计模式 领域驱动设计 企业架构 框架 开发教程 微服务 大数据 扩展性 并发编程 事件驱动 分布式 SOA

ban COME IN仓库管理系统

2004-05-05 14:41
赞助商链接

我需要做一个仓库管理系统(inventory manager)
客户端是GUI application
请问我该采取如何的架构叫好


(1)GUI----->EJB------>DATABASE

(2)GUI----->EJB(business logic layer) JDO(persistence layer)---->DATABASE

jdbc
(3)GUI(construct a persistence layer myself in GUI layer, and how)------->DATABASE

(4) other suggestion?



if(1)
(a) if采用entity bean 方式, 当我update gui table 中一个row的时候,
how to map this update in the gui table to the corresponding entity bean

eg
table in GUI(editable table) entity bean
customer_id,customer_name Customer (ejbobject)

then i change the customer_name in the left table in GUI, i want this change to be reflected and executed on the corresponding
ejb, how can i locate the ejb that corresponds to this particular table row in GUI, What's the best way to establish this mapping.


in ADO.net, Microsoft has databinding mechnasim, is there any conterpart in J2EE.

if (3)
how to establish a persistent layer myself (ie not using any ejb and communicate directly with batabase)


Another question:
If i want to update lots of table rows in a time, and i don't want this update to be excuted immediately, ie cache the change
in the persistent layer.And then after i press a button, say "UPDATE", all the updates will be done to the database. How to
implement such a CACHE mechanism?






2004-05-08 09:46

Gui application用j2ee不是一个好的选择,如果用delphi或者pb会很方便的;
etity bean查询速度慢,性能有问题;

赞助商链接

赞助商链接

返回顶部

移动版 关于本站 使用帮助 联系管理员 最佳分辨率1366x768
OpenSource JIVEJDON Powered by JdonFramework Code © 2002-20 jdon.com