Re: CdiControl in Java EE?

2012-03-10 Thread Mark Struberg
Subject: Re: CdiControl in Java EE? Mark, are you saying you would like to be able to attach a backing store (e.g. map) and activate / detach the backing store and deactivate for multiple threads using one api call for all threads. Any idea what the API would look like. I think

Re: CdiControl in Java EE?

2012-03-10 Thread Mark Struberg
. LieGrue, strub - Original Message - From: Mark Struberg strub...@yahoo.de To: deltaspike-dev@incubator.apache.org deltaspike-dev@incubator.apache.org Cc: Sent: Saturday, March 10, 2012 11:10 AM Subject: Re: CdiControl in Java EE? G etting this back to life again! The next

Re: CdiControl in Java EE?

2012-03-10 Thread Mark Struberg
: Sent: Saturday, March 10, 2012 2:21 PM Subject: Re: CdiControl in Java EE? Hi! I've now reviewed https://cwiki.apache.org/DeltaSpike/cdi-11-proposals.html and I think the ManagedContext extends Context  has a very basic defunct. Let's look at the methods the Context

Re: CdiControl in Java EE?

2012-03-01 Thread Pete Muir
@incubator.apache.org Cc: Sent: Wednesday, February 29, 2012 6:46 PM Subject: Re: CdiControl in Java EE? @mark: that was exactly our intention. @others: pete will simplify the api based on some objections and a concrete suggestion. - afterwards we could prototype and discuss it in parallel

Re: CdiControl in Java EE?

2012-02-29 Thread Jason Porter
All sounds good to me. We could try to get Peter Royal to explain Seam 3 Cron, but I'm not sure what his availability is. On Wed, Feb 29, 2012 at 00:53, Mark Struberg strub...@yahoo.de wrote: Hi! Pete did ask me a few days ago if the CdiContainer is really only targeted to JavaSE. Well,

Re: CdiControl in Java EE?

2012-02-29 Thread Gerhard Petracek
hi mark, i see the advantage as well as some others you haven't mentioned. for most of them there are alternatives. the only real benefit (without alternatives) i can see is the easier usage for users, because it would just work. however, as i saw with (both) cdi-se implementations, we need

Re: CdiControl in Java EE?

2012-02-29 Thread Martin Kouba
Hi, +1 to 2.) as using RequestScoped beans during job execution seems to me pretty useful. AFAIK Seam Cron does not support request context during job execution [1]. +1 to some kind of Context-Control to the CDI-1.1 spec. Right now similar integration requires CDI impl specific code which is

Re: CdiControl in Java EE?

2012-02-29 Thread Gerhard Petracek
, February 29, 2012 12:37 PM Subject: Re: CdiControl in Java EE? Hi, +1 to 2.) as using RequestScoped beans during job execution seems to me pretty useful. AFAIK Seam Cron does not support request context during job execution [1]. +1 to some kind of Context-Control to the CDI-1.1 spec

Re: CdiControl in Java EE?

2012-02-29 Thread Gerhard Petracek
i agree with pete. we can create a draft at [1]. regards, gerhard [1] https://cwiki.apache.org/confluence/display/DeltaSpike/CDI+1.1+Proposals#CDI1.1Proposals-ContextManagement 2012/2/29 Pete Muir pm...@redhat.com This just reinforces my feeling that CDIControl and context lifecycle

Re: CdiControl in Java EE?

2012-02-29 Thread Pete Muir
I've added the proposed APIs to the doc. On 29 Feb 2012, at 14:18, Gerhard Petracek wrote: i agree with pete. we can create a draft at [1]. regards, gerhard [1] https://cwiki.apache.org/confluence/display/DeltaSpike/CDI+1.1+Proposals#CDI1.1Proposals-ContextManagement 2012/2/29

Re: CdiControl in Java EE?

2012-02-29 Thread Pete Muir
Gerhard and I discussed this on IRC. I would propose altering the api to change activate() - start(), deactivate() - stop() I would also propose removing invalidate() (as it needs to be called almost all the time, so it's silly to have it split out), and see if anyone needs the suspend

Re: CdiControl in Java EE?

2012-02-29 Thread Mark Struberg
Struberg strub...@yahoo.de Cc: Sent: Wednesday, February 29, 2012 2:14 PM Subject: Re: CdiControl in Java EE? T his just reinforces my feeling that CDIControl and context lifecycle management should be two separate APIs. Context control is relevant in Java EE and SE. Container start/stop is only

Re: CdiControl in Java EE?

2012-02-29 Thread Gerhard Petracek
: Wednesday, February 29, 2012 2:14 PM Subject: Re: CdiControl in Java EE? T his just reinforces my feeling that CDIControl and context lifecycle management should be two separate APIs. Context control is relevant in Java EE and SE. Container start/stop is only relevant in JavaSE. I would

Re: CdiControl in Java EE?

2012-02-29 Thread Mark Struberg
29, 2012 6:46 PM Subject: Re: CdiControl in Java EE? @mark: that was exactly our intention. @others: pete will simplify the api based on some objections and a concrete suggestion. - afterwards we could prototype and discuss it in parallel. regards, gerhard 2012/2/29 Mark

Re: CdiControl in Java EE?

2012-02-29 Thread Gerhard Petracek
...@gmail.com To: deltaspike-dev@incubator.apache.org Cc: Sent: Wednesday, February 29, 2012 6:46 PM Subject: Re: CdiControl in Java EE? @mark: that was exactly our intention. @others: pete will simplify the api based on some objections and a concrete suggestion. - afterwards we could