Path: csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Hairy generics question Date: Sat, 10 Mar 2012 07:38:56 -0800 Organization: albasani.net Lines: 34 Message-ID: References: <3c65271e-a388-49c9-bcc6-ca3bf274e74f@e27g2000vbu.googlegroups.com> <29108397.63.1330110725245.JavaMail.geo-discussion-forums@vbpw21> <7822487.176.1330121248108.JavaMail.geo-discussion-forums@vbkl3> <4f5abd76$0$290$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.albasani.net MzPrl2I03Te8K2JiAmTcjtAAGissZZL3DpX5AYIYEBfNLorQLVIQTTOyvRmqZhzu4M3KQ1+E9A03vcncbhwFL0Texeokj8R4GzsF3Jp1KkPD1leThvQkgoIpnaGDEI41 NNTP-Posting-Date: Sat, 10 Mar 2012 15:38:52 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="y+/zj8sXClUl29RGfux51Kw7SHbIcE3VGlKhpSYBMJxjHF/ambAg3TxcUncDxwqNAtJK1F1ltbzb9P9q/cp91PkkIDReUfDsuhgIb7xpo+RW78A0qqjbDoYC+bLzq5iI"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: <4f5abd76$0$290$14726298@news.sunsite.dk> Cancel-Lock: sha1:QRkJ3QnGi/rRO01hdarero85b6Q= Xref: csiph.com comp.lang.java.programmer:12838 Arne Vajhøj wrote: > Lew wrote: >> Arved Sandstrom wrote: >>> If you choose to think of JSF as MVC - let's say because you aren't >>> interested in breaking out MVP as a derivative of MVC - then that's fine >>> too. I have no problem with that, it's what I actually do myself, >>> because most folks haven't heard of MVP anyway so why confuse them? I >>> would like it though if people who "knowledgeably" classify JSF as being >>> MVC could identify what the Controller is in JSF: I've run across more >>> people than not who either think it's the FacesServlet or just don't >>> know. >> >> JSF is MVC if you think of a backing bean as a (generally) per-screen >> controller. > > It usually have functionality besides controller, so it is not just > a controller. > > And clean MVC should have something that is just a controller. QWhat non-controller functionality goes in a backing bean? I've done a fair amount of JSF work, and the backing beans I've done work just like a controller - they coordinate screen events and delegate fulfillment to model objects. I'm not sure where one exactly draws the line between "logic" and "control", so perhaps I'm not writing controllers, but your statement is too vague for me to discern if that's so. Please clarify. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg