开发者

GWT RequestFactory with Command pattern

开发者 https://www.devze.com 2023-02-15 15:12 出处:网络
Are you currently using the Command Pattern in combination with RequestFactory? I\'d like to use it but since RequestFactory doesn\'t allow inheritance, I\'m not sure how to do it.开发者_运维技巧

Are you currently using the Command Pattern in combination with RequestFactory? I'd like to use it but since RequestFactory doesn't allow inheritance, I'm not sure how to do it.开发者_运维技巧

If anyone has been through this issue and found a way to implement it, I'd be glad to know.

Thank you!


I am not 100% sure that I can explain it right but I think that you try to mix oranges and apples.

RequestFactory framework is a very smart thing and it does a lot of things well and clever BUT you got to embrace the way of thinking and design it offers. Learn it and you will pleased by results. It seems like a complex concept but it worth it. Do not fight to fit it in to the box of "Command Pattern". As you give little information on what you try to achieve I can not give you a HowTo for your case. Sorry.

Ask some more concrete question and I am sure you will get an answer on StackOverflow.

Good Luck!

0

精彩评论

暂无评论...
验证码 换一张
取 消