Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Mark Struberg
Hi Howard! JUEL is an Expression Language implementation. It has nothing to do with CDI apart from CDI providing an ELResolver. JUEL is much faster than the EL interpreter in glassfish, so this is fine. For your beans getting recognized in EL expressions: 1.) Do you have a

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Howard W. Smith, Jr.
Mark, Thank you for the response. 1. Yes, I did add an 'empty' beans.xml to WEB-INF as advised by many places on the internet, and the app starts up successfully. I did 'not' have beans.xml added to META-INF, since all of my code is in the web app (I created no JARs of my own). I just added

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Mark Struberg
If you have troubles starting tomee then don't hesitate to ping us via IRC on irc.freenode.net in channel #openejb (tomee s hosted there). LieGrue, strub From: Howard W. Smith, Jr. smithh032...@gmail.com To: MyFaces Discussion users@myfaces.apache.org; Mark

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Howard W. Smith, Jr.
Great, thanks Mark. I did download TomEE, and looking at examples (referenced on same page as TomEE downloads) and I'm looking at this guide below to ensure I am injecting beans correctly. http://docs.jboss.org/weld/reference/1.0.0/en-US/html/injection.html On Sat, Nov 17, 2012 at 6:50 AM, Mark

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Mark Struberg
Hi! If you look for docs, here they are: http://tomee.apache.org/documentation.html LieGrue, strub From: Howard W. Smith, Jr. smithh032...@gmail.com To: Mark Struberg strub...@yahoo.de Cc: MyFaces Discussion users@myfaces.apache.org Sent: Saturday,

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread José Luis Cetina
Hi let me tell you my experience. I migrate from managedbeans + mojarra + glassfish to myfaces + WELD + TomEE and now I'm so happy to did so. Now my app use: -Apache TomEE 1.5 -Apache MyFaces -Apache CODI -Primefaces 3.4.2 -Primefaces Mobile -Primefaces Extensions 0.6.1 -PrettyFaces 3.3.3

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Howard W. Smith, Jr.
Thanks Jose (a.k.a. maxtorzito maxtorz...@gmail.com, I know you from PrimeFaces forums). TomEE is next on the to-do list. :) On Sat, Nov 17, 2012 at 9:00 AM, José Luis Cetina maxtorz...@gmail.comwrote: Hi let me tell you my experience. I migrate from managedbeans + mojarra + glassfish to

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Gerhard Petracek
hi jose, just fyi: with tomee you don't need weld, because you get openwebbeans out-of-the-box. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/11/17 José Luis

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Howard W. Smith, Jr.
Okay, I downloaded TomEE 1.5 plus, and trying to start the app. I have the following in my web.xml: context-param param-nameorg.apache.myfaces.EXPRESSION_FACTORY/param-name param-valuede.odysseus.el.ExpressionFactoryImpl/param-value /context-param The error(s) below

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread José Luis Cetina
Gerhard,it was a mistake i try to say Open Web Beans not WELD sorry about that, and like you say is out of the box. 2012/11/17 Howard W. Smith, Jr. smithh032...@gmail.com Okay, I downloaded TomEE 1.5 plus, and trying to start the app. I have the following in my web.xml: context-param

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Mark Struberg
Hi Howard! cross-posting to openejb-dev which is the community behind TomEE. Juel is an Expression Language library which parses the EL expressions and invokes the various registered ELResolvers until one of them feels responsible. TomEE (like glassfish) contains plain tomcat which has an own

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Howard W. Smith, Jr.
Done. I removed JUEL (and MyFaces CODI), for now, from classpath as well as web.xml. FYI, with respect to writeup, how to use Juel with TomEE/OpenWebBeans, I used instructions at the following URL: http://tandraschko.blogspot.de/2012/08/increase-your-jsf-application.html Before and after

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread José Luis Cetina
Howard please the best place for ask TomEE stuff is to suscribe: us...@openejb.apache.org El 17/11/2012 11:49, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Done. I removed JUEL (and MyFaces CODI), for now, from classpath as well as web.xml. FYI, with respect to writeup, how to use