Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 58543 invoked from network); 4 Dec 2010 16:24:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Dec 2010 16:24:09 -0000 Received: (qmail 22939 invoked by uid 500); 4 Dec 2010 16:24:08 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 22796 invoked by uid 500); 4 Dec 2010 16:24:08 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 22788 invoked by uid 99); 4 Dec 2010 16:24:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Dec 2010 16:24:07 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FREEMAIL_FROM,LOTS_OF_MONEY,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [217.146.183.191] (HELO nm17.bullet.mail.ukl.yahoo.com) (217.146.183.191) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 04 Dec 2010 16:24:02 +0000 Received: from [217.146.183.216] by nm17.bullet.mail.ukl.yahoo.com with NNFMP; 04 Dec 2010 16:23:41 -0000 Received: from [217.146.183.170] by tm9.bullet.mail.ukl.yahoo.com with NNFMP; 04 Dec 2010 16:23:41 -0000 Received: from [127.0.0.1] by omp1011.mail.ukl.yahoo.com with NNFMP; 04 Dec 2010 16:23:41 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 154421.72051.bm@omp1011.mail.ukl.yahoo.com Received: (qmail 78486 invoked by uid 60001); 4 Dec 2010 16:23:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1291479820; bh=VoTI0lLQfXv16R/cxTUO9XJm1AaebWAWntDr3BaRops=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xvIi+Aaf7iSRGtghuBWf+v6D35dipnUjtR/b/+WNguA7IbZQ3RkJHCZKFAJUkLeeyb9aVorxnVo7iHM9hUU+UyZ6AxtePRP+Wyp5mORFSiRzBe58o2euYHuTJ+Lroi9C/8Ua1oGY1dpaf5KooZAgHqbRalmNIL+Jc5FX81Fm6WM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=s3S1GSWG4QOdNxYFa/s8T8GtI3jItDHTG8ErzTGL4PBGbwqdwH2h7w/P4ZkQD0x/QusPUw2sei/q71ggqhhltSDpV1IjoH7ita3/dUS2ShAzG9H42FSQacLjJGF8xD9B1jul0DFkvkXmAaf+B9tmvJN4ZYxWHaK4ifxPv1ymvWw=; Message-ID: <937838.74111.qm@web27804.mail.ukl.yahoo.com> X-YMail-OSG: DrEueHgVM1nQgyC3CP9oYU6rG6Jx9zXXiYgIUbnuGCNiY8j 0CAHwOZ5NUG58pbRoPuNrY03qvAZOSyFymjkp4Ae3SQFO9Ee4mwHzvnltXZM 4yPLZFx4xVh8yxYnvEOdJLcVB39lE.WgIliqHStZAius6nmwK74.J20vCF_q 9g9m1uhAlwjKKmPV9MVPdZbLEus5ImXE2TpzJYkvJ4v_VUeClCZlI6CBdKk9 Z81dh7XdLcxDSMi2_zF.AyPX_TBWBxncLv7umcws69LQTESmUOAfQ8A6boQE kisgb7__neS64wMfmvkNm9Zg4PoRg5N.Sbt15eNyt4kYe4Ef_fWDnlA6XmN6 VDOMQY8hVfqApJFmjhs7Dl97g80yGK1QLJF66CRvoJz0- Received: from [80.108.118.219] by web27804.mail.ukl.yahoo.com via HTTP; Sat, 04 Dec 2010 16:23:40 GMT X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.107.285259 Date: Sat, 4 Dec 2010 16:23:40 +0000 (GMT) From: Mark Struberg Subject: Re: myfaces popularity To: MyFaces Discussion In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable +1, with CDI you would be able to simply @Inject all your needed parameters= . In general I'd say that one should generally use CDI instead of the JSF @= ManagedBean mechanism. LieGrue, strub --- On Sat, 12/4/10, Jakob Korherr wrote: > From: Jakob Korherr > Subject: Re: myfaces popularity > To: "MyFaces Discussion" > Date: Saturday, December 4, 2010, 3:45 PM > ... or, you know, use CDI for your > managed beans ;) >=20 > Regards, > Jakob >=20 > 2010/12/4 Jakob Korherr : > > Hi, > > > > Sorry, I just skimmed your mail, but for your last > point > > > >>Finally, what's the correct way to implement an > editor action? The managed > >>bean needs to be initialized before rendering it. > So instead of invoking the > >>no-arg constructor, I want something like: > >>Foo(id) > >>to be invoked. > > > > you can use a no-arg constructor and an init method > annotated with > > @PostConstruct. So something like this: > > > > @PostConstruct > > private void init() { // init bean here } > > > > However, you can't pass arguments neither to the > constructor nor to > > this init method. You need to 1) get everything you > need from the > > context or 2) set them from outside via setter > methods. > > > > Hope this helps. > > > > Regards, > > Jakob > > > > 2010/12/3 ken keller : > >> My last startup is www.collectrium.com. We use > AWS/py/django. This was my > >> first non-Java app & I missed strong typing. > django's template language is > >> verbose & there's not much of a widget > library. So I'm back to Java. AWS > >> avoids setting up a data center (as co-founder of > IGN.com, I don't miss > >> managing 1,000 servers) but one still must manage > the OS & scaling. So I'm > >> trying appengine. > >> > >> jsf's attractions are validation, data binding, > component model, component > >> libraries. Too bad it doesn't include safe HTML > (ala > >> http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#SafeHtm= l) > but > >> it should be easy to wrap text components. Too bad > the component library > >> suppliers won't rally around a standard > look-&-feel so one could mix > >> components. > >> > >> I like gwt but it doesn't have validation & > SEO is too hard. I might use gwt > >> for editing functionality & a lightweight > template language (which doesn't > >> require a servlet container or mock for unit > testing) like freemarker for > >> browsing functionality. > >> > >> My current startup is a productivity tool in the > cloud. I hope it will be > >> used by many people of course. > >> > >> I'm using IntelliJ & appengine 1.3.8. From my > web.xml: > >> > >> =A0 > >> =A0 > =A0com.sun.faces.expressionFactory > >> =A0 > =A0com.sun.el.ExpressionFactoryImpl > >> =A0 > >> > >> From my pom.xml: > >> > >> =A0 > >> =A0 javax.el > >> =A0 el-api > >> =A0 2.2 > >> =A0 > >> =A0 > >> =A0 > org.glassfish.web > >> =A0 el-impl > >> =A0 2.2 > >> =A0 > >> > >> When I run the app, the log shows: > >> > >> INFO: Either you haven't specified the > ExpressionFactory implementation, or > >> an error occured while instantiating the > implementation you've specified. > >> However, attempting to load a known > implementation. > >> > >> The app works but I wonder why. > >> > >> I'm having trouble w/ primefaces too. > >> > >> Finally, what's the correct way to implement an > editor action? The managed > >> bean needs to be initialized before rendering it. > So instead of invoking the > >> no-arg constructor, I want something like: > >> Foo(id) > >> to be invoked. > >> > >> On Fri, Dec 3, 2010 at 10:04 AM, Kito Mann > wrote: > >> > >>> Hello Ken, > >>> > >>> There's definitely a lot of activity in the > JSF world, and it's used by a > >>> lot of large and smaller companies (see http://www.javaserverfaces.or= g/for > >>> a list of sites built using JSF or Seam under > "JSF in Production"). There > >>> are a variety of industries, but it's quite > popular in Finance (banks and > >>> insurance companies). > >>> > >>> In terms of active development, you can just > look at the recent releases to > >>> see there's a lot going on. > >>> > >>> It's worthwhile also to point out that > Trinidad is used as the foundation > >>> for all of the Oracle Fusion applications. > >>> > >>> What sort of application is your startup > intending to build with MyFaces? > >>> --- > >>> Kito D. Mann | twitter: kito99 | Author, JSF > in Action > >>> Virtua, Inc. | http://www.virtua.com | JSF/Java EE > training and consulting > >>> http://www.JSFCentral.com - JavaServer > Faces FAQ, news, and info | > >>> twitter: > >>> jsfcentral > >>> +1 203-404-4848 x3 > >>> > >>> Public JSF 2 Training this January in London: > JSF 2 Update for JSF 1.x > >>> users > >>> (http://bit.ly/jsf2updatecourse< > >>> http://skillsmatter.com/course/java-jee/jsf2-update-course>) > >>> and JSF 2 in Action > >>> (http://bit.ly/jsf2course< > >>> http://skillsmatter.com/course/java-jee/jsf-and-ajax> > >>> ) > >>> > >>> > >>> > >>> On Fri, Dec 3, 2010 at 11:44 AM, ken keller > > wrote: > >>> > >>> > 1Mpvs/day on which URL? > >>> > > >>> > mojarra looks inactive: > >>> > http://java.net/projects/mojarra/lists > >>> > The richfaces team seems to prefer > mojarra to myfaces. Given the effort > >>> > being devoted to richfaces & > primefaces atop jsf2, one would think there > >>> > would be much more activity on the > lists. > >>> > > >>> > I've posted twice over the last few > months about > >>> > > javax.faces.application.ViewExpiredException > >>> > thrown on appengine but nobody replied. > >>> > > >>> > http://www.irian.at/myfaces_support > >>> > costs $5,300/yr for basic > support--$10,600 for advanced. My startup can't > >>> > afford this--especially without trying it > first--perhaps a paygo option. > >>> > > >>> > I haven't studied the source code to see > if there's unit testing. > >>> > > >>> > As compelling as jsf2 is, I'm scared to > bet my startup on it. > >>> > > >>> > On Fri, Dec 3, 2010 at 12:30 AM, Mark > Struberg > >>> wrote: > >>> > > >>> > > Hi! > >>> > > > >>> > > With the pretty fast development on > the spec side (last year 2.0, last > >>> > week > >>> > > 2.1 - thanks Ed!) there is a very > steady development going on atm. Also > >>> > > remember that EE6 is pretty fresh. > >>> > > > >>> > > So while there is currently not that > much traffic on the users@mf list > >>> > > there is pretty much of it on the > dev list atm. > >>> > > The move from JSF-1.x to JSF-2.x is > still to be done for most of the > >>> > legacy > >>> > > projects, but there are a few JFS-2 > projects already in production with > >>> > lot > >>> > > of success (we currently serve ~ 1 > mio page hits per day with > >>> MyFaces-2, > >>> > > OpenWebBeans, CODI, OpenJPA2 and our > servers are pretty 'cold') > >>> > > > >>> > > LieGrue, > >>> > > strub > >>> > > > >>> > > --- On Fri, 12/3/10, Matthias > Wessendorf > wrote: > >>> > > > >>> > > > From: Matthias Wessendorf > > >>> > > > Subject: Re: myfaces > popularity > >>> > > > To: "MyFaces Discussion" > >>> > > > Date: Friday, December 3, 2010, > 7:44 AM > >>> > > > On Fri, Dec 3, 2010 at 7:28 AM, > ken > >>> > > > keller > >>> > > > wrote: > >>> > > > > This mailing list isn't > very active. Most of the > >>> > > > messages seem to be about > >>> > > > > component libs like > Trinidad. > >>> > > > > > >>> > > > > Is myfaces popular? > >>> > > > > >>> > > > yes it is. > >>> > > > > >>> > > > > > >>> > > > > Wouldn't a searchable > group be more convenient than a > >>> > > > mailing list? > >>> > > > > >>> > > > the archives *are* searchable > (e.g. markmail). > >>> > > > > >>> > > > > > >>> > > > > >>> > > > > >>> > > > > >>> > > > -- > >>> > > > Matthias Wessendorf > >>> > > > > >>> > > > blog: http://matthiaswessendorf.wordpress.com/ > >>> > > > sessions: http://www.slideshare.net/mwessendorf > >>> > > > twitter: http://twitter.com/mwessendorf > >>> > > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > >>> > >> > > > > > > > > -- > > Jakob Korherr > > > > blog: http://www.jakobk.com > > twitter: http://twitter.com/jakobkorherr > > work: http://www.irian.at > > >=20 >=20 >=20 > --=20 > Jakob Korherr >=20 > blog: http://www.jakobk.com > twitter: http://twitter.com/jakobkorherr > work: http://www.irian.at > =0A=0A=0A