Re: TomEE plans for Java EE 7

2014-11-03 Thread David Blevins
On Nov 2, 2014, at 12:30 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hibernate is just not apache compliant, im not for eclipselink since it usage and behavior is error prone and harder to control + id like to stay apache. Well stay openjpa i think. Btw this kind of discussion is

Re: TomEE plans for Java EE 7

2014-11-03 Thread David Blevins
First -- welcome, Roberto! Great to see you on the list :) We should definitely try with TomEE 2.0-SNAPSHOT. Would be great to track these. What CI are you using? We could set something up on the Apache side if needed. -David On Sun, Nov 2, 2014 at 1:35 PM, Roberto Cortez

Re: TomEE plans for Java EE 7

2014-11-03 Thread Romain Manni-Bucau
travis I guess? https://travis-ci.org/javaee-samples/javaee7-samples/jobs/39782388 Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-03 9:24 GMT+01:00 David Blevins david.blev...@gmail.com: First -- welcome,

Re: TomEE plans for Java EE 7

2014-11-03 Thread Roberto Cortez
Hi Romain, Yes, Travis was also setup as a backup plan. Let's see what's going to happen with Cloudbees. Cheers,Roberto From: Romain Manni-Bucau rmannibu...@gmail.com To: users@tomee.apache.org users@tomee.apache.org Cc: Roberto Cortez radcor...@yahoo.com Sent: Monday, November 3, 2014

Re: TomEE plans for Java EE 7

2014-11-03 Thread Roberto Cortez
Hi David, Thanks for a warm welcome :) The samples are setup with TomEE 2.0-SNAPSHOT already. We were using the Cloudbees - Jenkins FOSS, but for some reason it's unavailable. They are looking into it.  Cheers,Roberto From: David Blevins david.blev...@gmail.com To: users@tomee.apache.org;

Question on calling @Asynchronous EJB methods

2014-11-03 Thread Lars-Fredrik Smedberg
Hi In WebSphere there is a thread pool for serving @Asynchronous EJB method calls as well as request work queue used when all threads are busy. When the thread is full the work is placed on the queue and when the queue is full the policy of BLOCK or FAIL will determine if the thread calling the

Re: Question on calling @Asynchronous EJB methods

2014-11-03 Thread Romain Manni-Bucau
Hi in application.properties you can configure: - AsynchronousPool.Size (default 5 for recent versions, was 3 before IIRC) - AsynchronousPool.ShutdownWaitDuration: how many time we wait for tasks to be done when undeploying the app - AsynchronousPool.CorePoolSize -

Re: Question on calling @Asynchronous EJB methods

2014-11-03 Thread Romain Manni-Bucau
@AccessTimeout + @Asynchronous is not enough specified IMHO so I wouldn't rely on it. For openejb case we go through the thread pool before respecting @AccessTimeout IIRC so it wouldn't work yes. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn:

Class as return type in subresources

2014-11-03 Thread Alex Soto
Hi, I would like to create a subresource which returns a class type (annotated with javax.injection.Singleton). The example comes from Jersey documentation. Let me show you how it looks: @Path(/v1) public class DispatcherResourceV1 { @Path(/chapter) public ClassChapterResourceV1 v1Chapters() {

Re: Class as return type in subresources

2014-11-03 Thread Romain Manni-Bucau
Spec says Objects returned by sub-resource locators (see Section 3.4.1) are expected to be initialized by their creator. + reading 3.4.1 not sure Class is valid (even if I get it could make sense). Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn:

Re: TomEE plans for Java EE 7

2014-11-03 Thread Leonardo K. Shikida
Hi David Thanks for the useful info about IBM decision on switching form OpenJPA to Eclipselink from JPA 2.1. I think that's exactly the point. I myself also prefer OpenJPA, but I can understand why IBM wants to stick with eclipselink from now on. [] Leo On Mon, Nov 3, 2014 at 6:13 AM, David

Re: Class as return type in subresources

2014-11-03 Thread Alex Soto
Well it is a class annotated with CDI annotation (@Singleton) so for what I understand the instance should be initialized by CDI container. Look Jersey example is: import javax.inject.Singleton; @Path(/item) public class ItemResource { @Path(content) public

Re: Class as return type in subresources

2014-11-03 Thread Romain Manni-Bucau
I understood what it should do but JAXRS spec doesn't speak about it (or I missed it, if so please point it out then we'll fix it) Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-03 12:33 GMT+00:00 Alex Soto

error at compilation time .

2014-11-03 Thread mauro2java2011
i have tried to create a jsf application with the tomee archetype. i use netbeans 8.0.1 . I have use the entity Book already present after generation of web project with the archetype . I have tired to gnerate jsf page from entity ,. the pages created fro mwizard of netbeans i have put into

Re: whi the properties is not present ?

2014-11-03 Thread mauro2java2011
i you send a project similar created without primefaces I have generated the web app with the tomee web app archetype. NExdt i have tied to generate JSF pages from entity . I have used the already Entity Book gnerated from the archetype of tomee web app. I used the netbeans wiazrd . generate

Re: whi the properties is not present ?

2014-11-03 Thread Romain Manni-Bucau
I know I do typos but your mails are always very very hard to read so please take 1 more second to re-read you if you want to keep having answers. Also you already have the answer: jsf api is not provided by the tomee archetype 2014-11-03 17:05 GMT+00:00 mauro2java2011 mauro2java2...@gmail.com:

Re: whi the properties is not present ?

2014-11-03 Thread mauro2java2011
i have attached the project to precedent email 2014-11-03 18:09 GMT+01:00 Mauro Chi mauro2java2...@gmail.com: i you send a project similar created without primefaces I have generated the web app with the tomee web app archetype. NExdt i have tied to generate JSF pages from entity . I

Re: error at compilation time .

2014-11-03 Thread mauro2java2011
i h ave to add : dependency groupIdorg.apache.myfaces.core/groupId artifactIdmyfaces-api/artifactId version2.2.3/version typejar/type scopeprovided/scope /dependency it is ok? 2014-11-03 17:58 GMT+01:00 Romain Manni-Bucau-2 [via TomEE OpenEJB]

Re: error at compilation time .

2014-11-03 Thread Romain Manni-Bucau
2.1.16 Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-03 17:39 GMT+00:00 mauro2java2011 mauro2java2...@gmail.com: i h ave to add : dependency groupIdorg.apache.myfaces.core/groupId

Re: error at compilation time .

2014-11-03 Thread mauro2java2011
I am confused.. But if the tomeewebapp archetype not reference myfaces-api how it is possible that the web project generated from archetype run and show the pages ? It not work only if i add other class.. Il 03/nov/2014 18:47 Romain Manni-Bucau [via TomEE OpenEJB]

Re: error at compilation time .

2014-11-03 Thread mauro2java2011
The web project generated from archetype use jsf class . But it work. Il 03/nov/2014 19:04 Mauro Chi mauro2java2...@gmail.com ha scritto: I am confused.. But if the tomeewebapp archetype not reference myfaces-api how it is possible that the web project generated from archetype run and show

Re: error at compilation time .

2014-11-03 Thread Romain Manni-Bucau
Cause archetype doesn't use JSF API in java code. Only CDI and jsf pages (xhtml so no compilation). Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-11-03 18:00 GMT+00:00

Re: error at compilation time .

2014-11-03 Thread Romain Manni-Bucau
2014-11-03 18:04 GMT+00:00 mauro2java2011 mauro2java2...@gmail.com: The web project generated from archetype use jsf class . But it work. Can you point it out please? There is no jsf import Il 03/nov/2014 19:04 Mauro Chi mauro2java2...@gmail.com ha scritto: I am confused.. But if the