Re: ApplicationGateway vs DefaultEventGateway
"Diez B. Roggisch" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, > Well... that's clear, as it's clear (i hope to have understood > correctly) why you choose to extend ApplicationGateway (to provide your > onw implementation of the dispatcher factory) what is not so clear is > why you choose to use another class (ExampleGateway) as EventGateway > instead of using DBRApplicationGateway. To be honest - I have no idea :) I don't have the code in front of me right now, as I'm at work. However, what I remember is that I didn't use the application-assembler from the beginning - it might even be jacob who reworked my code to use it, or at least politely forced me to do it. I know that we used different EventGateways to structure different parts of our app. While this isn't exactly neccessary for my example, I took it from our working app from my employer where it _is_ necessary. And that came from a time where the application-assembler wasn't there. So, basically, there is no real reason for it :) Regards, Diez