Re: Tomee Plus instead of Glassfish

2012-11-22 Thread smithh032772
I agree, this is a great discussion! I know this is an old topic, but I was doing some browsing, came across this topic, and thought I might take a look, since I have had the same goal... 'Tomee Plus instead of Glassfish'. :) It 'sounds' good, and for good 'business' to allow developers to 'drop

Re: Tomee Plus instead of Glassfish

2012-11-22 Thread Jean-Louis MONTEIRO
this topic, and thought I might take a look, since I have had the same goal... 'Tomee Plus instead of Glassfish'. :) It 'sounds' good, and for good 'business' to allow developers to 'drop' an app (or deploy an app) to any container, but honestly, I don't mind the work involved to go from

Re: Tomee Plus instead of Glassfish

2012-11-22 Thread Howard W. Smith, Jr.
a look, since I have had the same goal... 'Tomee Plus instead of Glassfish'. :) It 'sounds' good, and for good 'business' to allow developers to 'drop' an app (or deploy an app) to any container, but honestly, I don't mind the work involved to go from one container (e.g. Glassfish

Re: Tomee Plus instead of Glassfish

2012-11-22 Thread Jean-Louis MONTEIRO
... 'Tomee Plus instead of Glassfish'. :) It 'sounds' good, and for good 'business' to allow developers to 'drop' an app (or deploy an app) to any container, but honestly, I don't mind the work involved to go from one container (e.g. Glassfish) to another container (TomEE

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Jean-Louis MONTEIRO
David, Not sure how to understand that post content. IMO, a @Local annotation (without any interface specified) on the bean class is not allowed by the spec. JLouis 2012/6/4 David Blevins david.blev...@gmail.com On Jun 3, 2012, at 9:18 AM, Marco de Booij wrote: @Local

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Bjorn Danielsson
I distinctly remember having seen the combo @Local @Stateless in a Glassfish tutorial a few years ago, because I copied from that tutorial and used the code for a while (in Glassfish 2.1) until I ran into some unrelated problem that made me rewrite all my annotations. -- Björn Danielsson Cuspy

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Neale Rudd
comments and flames welcome ;-) Best Regards, Neale - Original Message - From: Jean-Louis MONTEIRO jeano...@gmail.com To: users@openejb.apache.org Sent: Monday, June 04, 2012 7:07 PM Subject: Re: Tomee Plus instead of Glassfish David, Not sure how to understand that post content

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Romain Manni-Bucau
Subject: Re: Tomee Plus instead of Glassfish David, Not sure how to understand that post content. IMO, a @Local annotation (without any interface specified) on the bean class is not allowed by the spec. JLouis 2012/6/4 David Blevins david.blev...@gmail.com On Jun 3, 2012, at 9:18 AM

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Neale Rudd
, 2012 3:13 AM Subject: Re: Tomee Plus instead of Glassfish hmm, personnally (you probably know) i have no issue doing something not in the spec but here i don't find it logical, i even don't understand it at all. If there is no interface that's obviously local (even localbean is weird by the way

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Neale Rudd
and thanks Romain for getting the discussion going ;-) Best Regards, Neale - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: users@openejb.apache.org Sent: Tuesday, June 05, 2012 3:13 AM Subject: Re: Tomee Plus instead of Glassfish hmm, personnally (you probably

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Fernando Lozano
: Tuesday, June 05, 2012 3:13 AM Subject: Re: Tomee Plus instead of Glassfish hmm, personnally (you probably know) i have no issue doing something not in the spec but here i don't find it logical, i even don't understand it at all. If there is no interface that's obviously local (even localbean

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Marco de Booij
@openejb.apache.org Sent: Tuesday, June 05, 2012 3:13 AM Subject: Re: Tomee Plus instead of Glassfish hmm, personnally (you probably know) i have no issue doing something not in the spec but here i don't find it logical, i even don't understand it at all. If there is no interface that's obviously

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Romain Manni-Bucau
going ;-) Best Regards, Neale - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: users@openejb.apache.org Sent: Tuesday, June 05, 2012 3:13 AM Subject: Re: Tomee Plus instead of Glassfish hmm, personnally (you probably know) i have no issue doing something

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread David Blevins
Great discussion! Note, I'm also having this exact same discussion with the JBoss folks who are also facing the same issue. We'll be working this out with GlassFish and likely making some clarifications or changes in EJB 3.2. On Jun 4, 2012, at 9:58 AM, Neale Rudd wrote: If Glassfish is

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread David Blevins
On Jun 4, 2012, at 2:07 AM, Jean-Louis MONTEIRO wrote: Not sure how to understand that post content. IMO, a @Local annotation (without any interface specified) on the bean class is not allowed by the spec. Exactly right. On deploy we flagged it and failed the deployment with a clear error

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Fernando Lozano
Hi, Note that the TCK license agreement explicitly mentions such flags. They are allowed but must be on by default. The default settings must be compliant. -David Curious how JBoss AS was certified and used to be non-compliant on the default configuration. At least this was the case with

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread David Blevins
On Jun 4, 2012, at 1:24 PM, Fernando Lozano wrote: Hi, Note that the TCK license agreement explicitly mentions such flags. They are allowed but must be on by default. The default settings must be compliant. -David Curious how JBoss AS was certified and used to be non-compliant on the

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Anthony Fryer
practice for the sake of making people's lives easier when migrating non-compliant apps from glassfish to tomee. Maybe creating a Migrating Your App from Glassfish to Tomee webpage would be helpful. -- View this message in context: http://openejb.979440.n4.nabble.com/Tomee-Plus-instead-of-Glassfish

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Fernando Lozano
programming practice for the sake of making people's lives easier when migrating non-compliant apps from glassfish to tomee. Maybe creating a Migrating Your App from Glassfish to Tomee webpage would be helpful. -- View this message in context: http://openejb.979440.n4.nabble.com/Tomee-Plus-instead

Tomee Plus instead of Glassfish

2012-06-03 Thread Marco de Booij
Hello, Nearly 2 years ago I tried OpenEJB. I wanted to use it with Tomcat. It was not such a big success for me :-( Lack of knowledge from my side. I went to Glassfish and there I managed to get an application running. I used EJB3.1 so I could pack the whole application in a single WAR and

Re: Tomee Plus instead of Glassfish

2012-06-03 Thread Romain Manni-Bucau
Hi, Can you share some code? Tomee supports ejb 3.1 Romain Le 3 juin 2012 16:16, Marco de Booij mdeb...@scarlet.be a écrit : Hello, Nearly 2 years ago I tried OpenEJB. I wanted to use it with Tomcat. It was not such a big success for me :-( Lack of knowledge from my side. I went to

Re: Tomee Plus instead of Glassfish

2012-06-03 Thread Marco de Booij
Hello, My EJB is like: @Local @Stateless(mappedName = CodeDao) public class I18nCodeDao extends DaoI18nCodeDto { static Logger logger = LoggerFactory.getLogger(I18nCodeDao.class); @PersistenceContext(unitName=doos, type=PersistenceContextType.TRANSACTION) private EntityManager em;

Re: Tomee Plus instead of Glassfish

2012-06-03 Thread Romain Manni-Bucau
2notes: 1) @local needs an interface (remove it) 2) mappedname is container dependent (remove it) Le 3 juin 2012 18:23, Marco de Booij mdeb...@scarlet.be a écrit : Hello, My EJB is like: @Local @Stateless(mappedName = CodeDao) public class I18nCodeDao extends DaoI18nCodeDto { static

Re: Tomee Plus instead of Glassfish

2012-06-03 Thread Marco de Booij
Thanks. The errors disappeared. Op 03-06-12 18:49, Romain Manni-Bucau schreef: 2notes: 1) @local needs an interface (remove it) 2) mappedname is container dependent (remove it) Le 3 juin 2012 18:23, Marco de Booijmdeb...@scarlet.be a écrit : Hello, My EJB is like: @Local

Re: Tomee Plus instead of Glassfish

2012-06-03 Thread David Blevins
On Jun 3, 2012, at 9:18 AM, Marco de Booij wrote: @Local @Stateless(name=I18nCodeManager) public class I18nCodeManager { @EJB private I18nCodeDao i18nCodeDao; Strangely enough we're seeing a lot of portability issues on GlassFish's handling of @Local. Some JBoss friends just