Voting: Unterschied zwischen den Versionen

Aus Java Student User Group Austria - Java + JVM in Wien Österreich / Vienna Austria
Wechseln zu: Navigation, Suche
(HcmGCadqzGaLFSRnIr)
(jEggYVmBrrYHsvB)
Zeile 1: Zeile 1:
                                            Monster (along with many other products) is brguhot into stores by a vendor. In the case of most chains, the corporate office has to authorize any new items before they can be brguhot into the stores. Chai Hai is relatively new and in my area, it's only been authorized in one grocery chain so far. The chain doesn't extend too far beyond our county so it would be of little use to you. Your best bet is to try to find it in independantly owned grocery and convenience stores because Monster doesn't require a pre-authorization to bring it in there.. just approval from the managers/ owners. Give it a little more time and more stores will start to carry it soon. There's 5 other new flavors of monster that came out at the same time!
+
Hi, Cedric.IoC is a design/coding plihosophy that's seperate from the frameworks that implement them. I don't use the frameworks, so I can't talk about them.Typically, I hand code factories. I start by having the factory simply return a new instance, and over time I find I need to get the factory to configure the instance in some way. That's where IoC comes in. It works pretty well for me, and of course as the factories are hand coded, there's no refactoring problems.One point I would stress is that you really want to use interfaces when using IoC. This way, only the factory needs to know about the IoC hooks.Finally, both Eclipse and IntelliJ offer the option of searching non-Java files when renaming. I'd advise always previewing what it's doing when doing this though.

Version vom 16. Dezember 2012, 06:46 Uhr

Hi, Cedric.IoC is a design/coding plihosophy that's seperate from the frameworks that implement them. I don't use the frameworks, so I can't talk about them.Typically, I hand code factories. I start by having the factory simply return a new instance, and over time I find I need to get the factory to configure the instance in some way. That's where IoC comes in. It works pretty well for me, and of course as the factories are hand coded, there's no refactoring problems.One point I would stress is that you really want to use interfaces when using IoC. This way, only the factory needs to know about the IoC hooks.Finally, both Eclipse and IntelliJ offer the option of searching non-Java files when renaming. I'd advise always previewing what it's doing when doing this though.