|
这个主题共有 6 回复 / 1 页 [
]
|
|
|
|
|
|
有没比较好的模式:动态切换remote 与 local
|
发表: 2003年07月08日 14:14
|
回复
|
|
各位老大, 现在作的项目,是一个所谓真正 分布式的项目,分布式的业务,分布式的 工作流,请问有比较好的模式解决, EJB REMOTE与LOCAL调用切换的问题,也就是说, 通过配置来选择remote或者LOCAL
|
|
|
|
|
|
Re: 有没比较好的模式:动态切换remote 与 local
|
发表: 2003年07月08日 19:40
|
回复
|
|
|
也许可以用MVC的架构解决。研究一下Struts吧,用controller来控制。
|
|
|
|
|
|
Re: 有没比较好的模式:动态切换remote 与 local
|
发表: 2003年07月09日 10:02
|
回复
|
|
|
参考petstore的serviceLocator,你可以改造一下其中方法。
|
|
|
|
|
|
Re: 有没比较好的模式:动态切换remote 与 local
|
发表: 2003年07月09日 13:43
|
回复
|
|
|
|
|
|
|
|
Re: 有没比较好的模式:动态切换remote 与 local
|
发表: 2003年07月09日 23:39
|
回复
|
|
|
|
|
|
|
|
Re: 有没比较好的模式:动态切换remote 与 local
|
发表: 2003年07月14日 15:52
|
回复
|
|
我们现在采用就是所谓的MVC的简化版了, STRUTS本身不是解决这种问题的!
|
|
|
|
|
|
Re: 有没比较好的模式:动态切换remote 与 local
|
发表: 2003年07月14日 15:53
|
回复
|
|
|
serviceLocator只是一个homeCache的实现方案。
|
|
|
|