has anyone done something similar and if so how?
Regards
LF
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es
Just want to clarify that we are using JEE 6 and cannot use the
getAllTimers() method in TimerService
Regards
LF
On Thu, May 28, 2015 at 11:13 AM, Lars-Fredrik Smedberg
wrote:
> Hi!
>
> Is there a way to get a list of references to all timers running in an
> application (
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <ht
threadpool... since this is a long running task I
should have the same thread all the time right? But I agree interrupting
isnt the best way
Regards
LF
On Fri, May 29, 2015 at 3:14 PM, Romain Manni-Bucau
wrote:
> 2015-05-29 14:55 GMT+02:00 Lars-Fredrik Smedberg :
>
> > @Romai
omain Manni-Bucau" wrote:
> 2015-05-29 15:35 GMT+02:00 Lars-Fredrik Smedberg :
>
> > @Romain
> >
> > Thanks for the answer
> >
> > I use a boolean now... the problem (if any) is that using a boolean flag
> is
> > that the shutdown will take at
://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
>
> 2015-05-29 15:45 GMT+02:00 Lars-Fredrik Smedberg :
>
> > @Romain
> >
> > Got it... so do i need in @PreDestroy method to wait for the
gt; Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
&
Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
>
> 201
@Romain where can I read more about jaxrs.txt ?
On Oct 25, 2015 09:34, "Romain Manni-Bucau" wrote:
> Think only web-inf/classez is guaranteed to be first but using jaxrs.txt
> you should have a guaranteed order.
>
> Side note: tomcat just added a flag on snapshot to have a sorting, will
> come in
(in am
application server indendent way if possible).
The reason for all this is that I would ilke to assemble the war/ear once
and use it throughout testing up to and including the production
environment.
Best regards
LF
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF
lines.
>
> Depending the app a simple interceptor or JAXRS filter if you use
> JAXRS 2 are nice API to use for such a need as well.
>
>
> Romain Manni-Bucau
> @rmannibucau | Blog | Github | LinkedIn | Tomitriber
>
>
> 2015-11-18 8:24 GMT-08:00 Lars-Fredrik Smedberg :
&
ristian
> > Diedrich
> > Vorstände: Dr. Daniel von Borries (Vorsitzender), Ralf Hartmann, Dr. Jörg
> > Stoffels · Sitz: Fürth
> > Karl-Martell-Straße 60 · 90344 Nürnberg · Internet: ergodirekt.de
> > UniCredit Bank AG - HypoVereinsbank Kto.-Nr.: 66 071 430 · BLZ 700 202 70
> > IBAN: DE63 7002 0270 0066 0714 30 · BIC: HYVEDEMM
> >
>
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the intended recipient, please notify Lars-Fredrik Smedberg
immediately at itsme...@gmail.com, and destroy all copies of this
message and any attachments.
is this something that will work in any JEE6/JEE7 app server?
Regards
Lars-Fredrik
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive
his is not
permitted according to the EJB spec or is MDBs a special case where it
should be permitted?
Regards
Lars-Fredrik
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments
gt; Le 16 juin 2016 12:34, "Lars-Fredrik Smedberg" a
> écrit :
>
> > Hi
> >
> > Some parts of this is WELD specific and I know Tomee uses OWB but other
> > parts are questions more to whats in the specs
> >
> > In the EJB 3.2 spec in
gt; Le 16 juin 2016 13:08, "Lars-Fredrik Smedberg" a
> écrit :
>
> > Thanks for the reply Romain ... out of curiosity does Tomee allow it?
> >
> > Regards
> > LF
> > On Jun 16, 2016 13:02, "Romain Manni-Bucau"
> wrote:
> >
sk is that as far as I understand CDI does not have any
concurrency management but the EJB has. What will be the case when doing as
above?
Please help me get some in-depth understanding on this.
Thanks
Lars-Fredrik Smedberg
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEME
nstance that allows concurrent calls
> without
> > wait? Correct?
> >
>
> same as before, thread safety is ensured
>
> > The reason I ask is that as far as I understand CDI does not have any
> > concurrency management but the EJB has. What will be the case whe
is that
>
> cdi scope is just a proxy in front of ejb proxy
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-08-2
com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-08-26 21:10 GMT+02:00 Lars-Fredrik Smedberg :
> > Sorry for that, ofcourse I meant @Stateful, that was what we discussed in
> > the previous posts :)
> >
> > Thinking o
-Bucau
wrote:
> It works but it is handled by the ejb itself, not cdi
> Le 26 août 2014 21:53, "Lars-Fredrik Smedberg" a
> écrit :
>
> > @Romain
> >
> > I though that I could @Inject an EJB and apply CDI-interceptors to the
> EJB
> > or methods on it.
Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-08-27 8:00 GMT+02:00 Lars-Fredrik Smedberg :
> > Good to know...
> >
> > So in the case no CDI-proxy is created the EJB-pr
that e.g. has @TransactionAttribute(REQUIRED) I will start
multiple transactions?
Thanks
Regards
Lars-Fredrik
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are
Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-01 10:32 GMT+02:00 Lars-Fredrik Smedberg :
> > Hi
> >
> > I have some questions on EJBs and c
press.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-01 12:15 GMT+02:00 Lars-Fredrik Smedberg :
> > @Romain
> >
> > Thanks for the answers... in question 4 I meant that if I annotate a bean
> &g
at 4:50 PM, Romain Manni-Bucau
wrote:
> Hi
>
> 2014-08-26 16:45 GMT+02:00 Lars-Fredrik Smedberg :
> > Hi
> >
> > I have a few questions on EJB, CDI and Concurrency when I read
> > http://tomee.apache.org/examples-trunk/access-timeout/README.html, I
> read
> &
au
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-01 16:27 GMT+02:00 Lars-Fredrik Smedberg :
> > Hi Romain
> >
> > A follow up question. What
//rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-01 16:36 GMT+02:00 Lars-Fredrik Smedberg :
> > So basically if I instead use @Singleton I have the possibility to use
> bean
> > manage
s to be discarded. If thats the case is it still called
for singletons?
Best Regards
Lars-Fredrik
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for t
@Romain
Thanks for quick answers. Gonna try and explore it abit more doing some
examples.
Thanks again
On Tue, Sep 2, 2014 at 10:44 PM, Romain Manni-Bucau
wrote:
> Hi
>
>
>
> 2014-09-02 22:37 GMT+02:00 Lars-Fredrik Smedberg :
> > Hi!
> >
> > Maybe someone
help to shed some light on this
Regards
Lars-Fredrik
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may
> > Hope it helps even if adding some blur ;)
> >
> >
> >
> >
> >
> > Romain Manni-Bucau
> > Twitter: @rmannibucau
> > Blog: http://rmannibucau.wordpress.com/
> > LinkedIn: http://fr.linkedin.com/in/rmannibucau
> > Github: https://gith
27;d use
> @Singleton @Lock(READ), do you need any state?
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-04 10:30 GMT+02
au
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-04 10:55 GMT+02:00 Lars-Fredrik Smedberg :
> > @Romain
> >
> > Or should I even do @Singleton @ConcurrencyManagement(BEAN)
he CDI spec?
Thanks
Lars-Fredrik
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidentia
Hi
Thanks for the answers, see some follow up questions below.
On Sat, Sep 6, 2014 at 1:20 PM, Jean-Louis Monteiro <
jlmonte...@tomitribe.com> wrote:
> Hi,
>
> Le 6 sept. 2014 11:39, "Lars-Fredrik Smedberg" a
> écrit
> :
> >
> > Hi!
> >
>
witter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-06 18:17 GMT+02:00 Lars-Fredrik Smedberg :
> > Hi
> >
> > Thanks for the answers, see some follow up questions
/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-06 19:08 GMT+02:00 Lars-Fredrik Smedberg :
> > @Romain
> >
> > When you say singleton you mean a singleton that allows multiple threads
> to
> > execute... much like @Singleton @Lock(READ) @WebServ
vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the
PORTED (if one started, execption).
> >
> > JLouis
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> > On Mon, Sep 8, 2014 at 2:58 PM, Lars-Fredrik Smedberg <
> itsme...@gmail.com>
p question...
On Mon, Sep 8, 2014 at 3:32 PM, Lars-Fredrik Smedberg
wrote:
> Hi Jean-Louis
>
> So an EJB (e.g. a stateless EJB) NOT annotated with @TransactionAttribute
> at all will still have the container start a transaction when its methods
> are called?
> My understanding was t
. If the answer to the above is NO should I then move this parameter out
of web.xml and place it somewhere else? Any suggestions to where?
Regards
LF
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message
Hi
Thanks for the quick reply... a follow up below.
On Thu, Sep 25, 2014 at 4:41 PM, Romain Manni-Bucau
wrote:
> 2014-09-25 16:03 GMT+02:00 Lars-Fredrik Smedberg :
> > Hi
> >
> > I have a context-param in my web.xml file that I access using
> > getInitParameter in S
So I guess it would be better to put the configuration somewhere else
then... rather than mixing the containers and their configuration as you
point out.
Thanks
LF
On Thu, Sep 25, 2014 at 5:40 PM, Romain Manni-Bucau
wrote:
> 2014-09-25 17:03 GMT+02:00 Lars-Fredrik Smedberg :
>
nibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-25 21:49 GMT+02:00 Lars-Fredrik Smedberg :
> > So I guess it would be better to put the configuration somewhere else
>
bucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-09-26 20:56 GMT+02:00 Lars-Fredrik Smedberg :
> > If I use ejb-jar.xml or web.xml, are they bound to same JNDI name? That
> i
wrote:
> Ejb jndi entries can be private. If you bind something different but using
> the same name than in the web jndi tree then you can get some surprises
>
> Le dimanche 28 septembre 2014, Lars-Fredrik Smedberg
> a
> écrit :
> > What does that mean? Same name? ...
rs how are the container handling
exceptions? Will the container retry? If so how many times and at what
interval? Or will it simple retry at the next timeout?
Regards
Lars-Fredrik
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contain
, 1 retry by default sorry
>
> Le lundi 29 septembre 2014, Romain Manni-Bucau a
> écrit :
> > Hi
> >
> > Le lundi 29 septembre 2014, Lars-Fredrik Smedberg a
> écrit :
> >> Hi!
> >>
> >> I try to find more information on EJB Timers, Except
ot;
wrote:
> 2014-09-30 8:12 GMT+02:00 Lars-Fredrik Smedberg :
> > Thanks for your answers Romain some follow ups (and really preciate
> > you help me out):
> >
> > - Will any types of exceptions result in 1 retry? Checked or runtime?
>
> it respect ejb exception h
nject correct?
3. If the EJB is packaged in another WAR inside the same EAR or in another
EAR I need to use @EJB correct?
4. In case 3 how do I adress the EJB? Where can I read more about the
naming standard?
Regards
LF
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEME
abble.com/Regarding-Inject-vs-EJB-for-EJB-tp4672108p4672117.html
> >> Sent from the TomEE Users mailing list archive at Nabble.com.
> >>
> >
> >
> > --
> > Enviat amb Gmail Mobile
>
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEME
@Romain
Thanks is @EJB with CDI-interceptors working for any App server that is
JEE6 compatible or is it a TomEE feature?
On Mon, Oct 6, 2014 at 9:02 AM, Romain Manni-Bucau
wrote:
> 2014-10-06 8:38 GMT+02:00 Lars-Fredrik Smedberg :
> > @Romain
> >
> > - Do I not need t
scoped CDI Managed Bean
to an @Asynchronous EJB method, the choice depends on wether the object
passed needs to inject anything, correct?
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
, DeltaSpike has a CDIControl module that can
> do this for you.
>
> John
>
> On Mon, Oct 6, 2014 at 11:08 AM, Lars-Fredrik Smedberg >
> wrote:
>
> > When executing an EJB @Asynchronous method I know that valid CDI scopes
> are
> > request and application.
>
ta to the async computation no more, no?
>
This method is simple and I guess will create the least amount of errors
when developers that does not know every aspect of EJB and CDI will build
applications.
>
> > On Mon, Oct 6, 2014 at 12:51 PM, Lars-Fredrik Smedberg <
> itsme...@g
Exception {
someEJB1.doWork();
someEJB2.doWork();
return true;
}
}
On Mon, Oct 6, 2014 at 10:20 PM, Lars-Fredrik Smedberg
wrote:
>
> On Mon, Oct 6, 2014 at 6:58 PM, Romain Manni-Bucau
> wrote:
>
>> 2014-10-06 18:55 GMT+02:00 John D. Ament :
>> > No, not at a
really great to
understand it all more in-depth to be able to have the understanding and
discuss it with the DBA.
Thanks
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this messa
omain Manni-Bucau
wrote:
> Hi
>
> this is actually more bound to JTA (you can read
>
> http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/resource/jdbc/managed/local/ManagedConnection.java
> )
>
>
> 2014-10-15 0:14
b-core for
> instance)
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-10-15 1:19 GMT+02:00 Lars-Fredrik Smedberg :
> > Hi Romain
> >
> > Thanks f
Thanks Romain, please see if you can help me on the follow up below?
On Thu, Oct 16, 2014 at 9:33 AM, Romain Manni-Bucau
wrote:
> 2014-10-16 9:31 GMT+02:00 Lars-Fredrik Smedberg :
> > @Romain
> >
> > I can see in the ManagedConnection code that the reused Connection is pe
com> wrote:
> Well I don't know websphere enough to answer to the related question
>
>
> 2014-10-16 12:55 GMT+02:00 Lars-Fredrik Smedberg :
> > Thanks Romain, please see if you can help me on the follow up below?
> >
> >
> > On Thu, Oct 16, 2014 at 9:33 A
t 12:59 PM, Romain Manni-Bucau <
rmannibu...@tomitribe.com> wrote:
> Well I don't know websphere enough to answer to the related question
>
>
> 2014-10-16 12:55 GMT+02:00 Lars-Fredrik Smedberg :
> > Thanks Romain, please see if you can help me on the follow up below?
&
Thanks again, see below.
On Thu, Oct 16, 2014 at 2:05 PM, Romain Manni-Bucau <
rmannibu...@tomitribe.com> wrote:
> 2014-10-16 13:20 GMT+02:00 Lars-Fredrik Smedberg :
> > Just one more thing I forgot to put in the other mail
> >
> > With "Depend, using ManagedCo
Thanks for the answer
What exactly is involved in a checkDs1() call?
Regards
LF
On Thu, Oct 16, 2014 at 3:33 PM, Romain Manni-Bucau <
rmannibu...@tomitribe.com> wrote:
> 2014-10-16 15:01 GMT+02:00 Lars-Fredrik Smedberg :
> > Thanks again, see below.
> >
> > On T
https://github.com/rmannibucau
>
>
>
> 2014-10-16 15:38 GMT+02:00 Lars-Fredrik Smedberg :
> > Thanks for the answer
> >
> > What exactly is involved in a checkDs1() call?
> >
> > Regards
> > LF
> >
> > On Thu, Oct 16, 2014 at 3:33 PM, Roma
@Romain
Is there something similar to checkDs that I can do when using EJBs,
Container Managed tx and PureQuery (which in turn gets connections from an
injected datasource and fires queries...). That is checkDs without JPA?
Regards
LF
On Thu, Oct 16, 2014 at 3:48 PM, Lars-Fredrik Smedberg
/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2014-10-17 8:19 GMT+02:00 Lars-Fredrik Smedberg :
> > @Romain
> >
> > Is there something similar to checkDs that I can do when using EJBs,
> > Container Managed tx and Pure
is really cool for JSF apps, because
> it enables lazy loading in the render response phase) then you can also use
> EJBs.
>
>
> LieGrue,
> strub
>
>
>
>
> > On Friday, 17 October 2014, 8:38, Lars-Fredrik Smedberg <
> itsme...@gmail.com> wrote:
> > &
änlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the int
o inject DataSource
> > - @Inject of CDI managed beans / EJBs
> > - CDI- and EJB-interceptors
> > - CDI-extensions (This I can still do with CDI-Unit if needed)
> > - TimerEJBs
> > - MDBs
> > - Transactions
> > - Concurreny management
> > - A
the
tx?
Regards
LF
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged
hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the intended
ut (if RejectedExecutionHandlerClass not set)
>
> I guess you want just a custom RejectedExecutionHandlerClass
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.
(or twice within a short timeinterval
around) 2:00 ?
- Will the retry of the Timer stop as soon as the Timer not fails
regardless of wether it was triggered as a result of a retry or a normal
@Scheduler?
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIA
g-etc-td4672037.html
> ?
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-11-06 13:22 GMT+00:00 Lars-Fredrik Smedberg :
> > Hi
> >
> > I've been looking for
anni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-11-06 14:39 GMT+00:00 Lars-Fredrik Smedberg :
> > Hi again
> >
> > Yes some of it (the vendor specific part and configuration of
annotation from the @Interceptor implementation class.
This way there is only a compile time dependency to the @InterceptorBinding
annotation. Is there a way to accomplish the same using EJB?
Regards
Lars-Fredrik
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF
@Romain
We use TomEE for development but still WebSphere for production :)
I will try out my question on TomEE and let you know... thanks anyway for
taking time to answer :)
/LF
On Fri, Nov 7, 2014 at 3:15 PM, Romain Manni-Bucau
wrote:
> 2014-11-07 14:00 GMT+00:00 Lars-Fredrik Smedb
Hi!
I would like to understand how TomEE/OpenEJB implements @Asynchronous EJB
Methods
Can anyone perhaps give me a short descriptions and the point to what
source code classes to look at?
Regards
LF
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY
Thanks... What source code can I look at?
Regards
LF
On Thu, Nov 27, 2014 at 11:29 PM, Romain Manni-Bucau
wrote:
> It basically just does executorService.execute(new OpenEjbMethod(method,
> securitycontext))
> Le 27 nov. 2014 22:12, "Lars-Fredrik Smedberg" a
> écrit
&
c/main/java/org/apache/openejb/core/ivm/EjbObjectProxyHandler.java
> Le 28 nov. 2014 00:18, "Lars-Fredrik Smedberg" a
> écrit
> :
>
> > Thanks... What source code can I look at?
> >
> > Regards
> > LF
> >
> > On Thu, Nov 27, 2014 at 11:29 PM
)...
For our use cases it is fine if the @RequestScoped beans lives a little bit
longer than the original request.
Is there any easy/good way to pass information so I can recreate the beans
on the new thread?
Regards
LF
On Fri, Nov 28, 2014 at 12:33 AM, Lars-Fredrik Smedberg
wrote:
> Thanks Rom
's
> just values idea is to use a dependent bean passed as message to the async
> method. To keep request scope you need a request scoped wrapper.
> Le 28 nov. 2014 02:18, "Lars-Fredrik Smedberg" a
> écrit :
>
> > Romain, could you please explain what the u
(even though its outside spec to use)?
Regards
LF
On Fri, Nov 28, 2014 at 9:05 AM, Romain Manni-Bucau
wrote:
> Le 28 nov. 2014 08:49, "Lars-Fredrik Smedberg" a
> écrit
> :
> >
> > We do it by a dependent scope bean impl callable at the moment... and
> > r
, 2014 at 9:37 AM, Romain Manni-Bucau
wrote:
> 2014-11-28 9:26 GMT+01:00 Lars-Fredrik Smedberg :
> > Oh, so by request scoped wrapped you mean simply pull out whatever data I
> > need from the scoped beans before I call the async method?
> >
>
> sure "message passin
Hi
I'm running TomEE Plus 1.7.1 and I try to inject a CDI extension in a
@RequestScoped bean but I get an error saying that no bean with @Default is
available for injection.
Is this the right way of getting data collected in the extension available
to the application?
Regards
Lars-Fredrik
at 2:24 PM, Romain Manni-Bucau
wrote:
> Hi
>
> seems ok yes
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-12-05 14:15 GMT+01:00 Lars-Fredrik Smedberg :
>
during the boot of the container. I guess that's
> the issue. What I don't get is why it doesn't fail more abruptally.
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-12-05 21:44 GMT+01:00 Romain Manni-Bucau :
> > Sorry misread the listener api you were using. Do you have a ready to run
> > sample we can use to reproduce?
> >
> > Le 5 déc. 2014 20:37, "Lars-Fredrik Sme
Is that tomee or tomee plus?
On Sat, Dec 6, 2014 at 12:25 PM, Romain Manni-Bucau
wrote:
>
> http://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/
> Le 6 déc. 2014 11:37, "Lars-Fredrik Smedberg" a
> écrit :
>
> > Thanks, where can
> That's is all TomEE
> >
> > plus, plume, jaxrs, webprofile. :)
> >
> > On Sat, Dec 6, 2014 at 12:16 PM, Lars-Fredrik Smedberg <
> itsme...@gmail.com
> > >
> > wrote:
> >
> > > Is that tomee or tomee plus?
> > >
> > &g
more
On Sat, Dec 6, 2014 at 1:35 PM, Lars-Fredrik Smedberg
wrote:
> Daniel, Romain
>
> Thanks, will try it out and let you know if it fixed my problems...
>
> Regads
> LF
>
> On Sat, Dec 6, 2014 at 1:30 PM, Romain Manni-Bucau
> wrote:
>
>> Will not change
kThread$WrappingRunnable.run(TaskThread.java:61)
> > at java.lang.Thread.run(Thread.java:722)
> > Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: Api
> type
> > [test.JAXBContextExtension] is not found with the qualifiers
> > Qualifiers: [@javax.enterprise.inject.Default()]
> > for injection into F
Duh, my mistake, when zipping it up I saw that I had an old class with the
same name in a different package
Sorry for wasting your time :)
On Mon, Dec 8, 2014 at 11:44 AM, Lars-Fredrik Smedberg
wrote:
> @Romain
>
> I see that the extension receives the events... I'll zip so
some appservers the
request wait queue, request queue full policy etc)?
If not available how someone here done something similar and in that case
how?
Regards
LF
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic
any good pages to look at?
Regards
LF
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain
as
SoapFaultExceptions.
Ps2. For @WebFault annotated checked exceptions and most of the runtime
exceptions the above mentioned interceptor does nothing but rethrow
--
Med vänlig hälsning / Best regards
Lars-Fredrik Smedberg
STATEMENT OF CONFIDENTIALITY:
The information contained in this electro
> https://github.com/rmannibucau
>
>
> 2015-01-27 20:54 GMT+01:00 Lars-Fredrik Smedberg :
> > Hi
> >
> > As far as I understood from previous discussions and from reading e.g.
> > JSR-109:
> >
> > *Spec *says/allows
> >
> > - Allows Stateles
o have interceptors.
>
> Not OOTB example but using PhaseInterceptor should do the trick whatever
> solution you choose or a cxf interceptor allows you to do it without any
> hack.
> Le 27 janv. 2015 21:37, "Lars-Fredrik Smedberg" a
> écrit :
>
> > Hi Romain
>
1 - 100 of 112 matches
Mail list logo