jsr345-experts@ejb-spec.java.net

[jsr345-experts] Fwd: (EJB_SPEC-72) Clarify rules on use of Timer and TimerHandle

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Mon, 03 Dec 2012 18:35:37 -0800

Experts,

What should be the rules for the Timer and TimerHandle objects when they
are returned from a business method or passed as an argument to a
business method?

Can the caller or callee (as long as it is a local call) call any method
on those references?

Can the (local) caller or callee be not an EJB to be able to call those
methods?

thanks,
-marina

-------- Original Message --------
Subject: [JIRA] Created: (EJB_SPEC-72) Clarify rules on use of Timer
and TimerHandle
Date: Tue, 4 Dec 2012 01:11:49 +0000 (GMT+00:00)
From: marina vatkina (JIRA) <jira-no-reply_at_java.net>
To: mvatkina_at_java.net



Clarify rules on use of Timer and TimerHandle
---------------------------------------------

                 Key: EJB_SPEC-72
                 URL: http://java.net/jira/browse/EJB_SPEC-72
             Project: ejb-spec
          Issue Type: Bug
    Affects Versions: 3.2
            Reporter: marina vatkina
            Assignee: marina vatkina
             Fix For: 3.2


Current spec

13.2.6The Timer and TimerHandle Interfaces
{quote}
The javax.ejb.TimerHandle interface allows the Bean Provider to ...
{quote}

Q: Does *the* Bean Provider match the bean that owns the timer?

13.4.1TimerService, Timer, and TimerHandle Interfaces
{quote}
Timer instances must not be serializable.
{quote}

The above doesn't prohibit passing it through a local business or local component interface (or a no-interface view).
Q: Can it be passed to a Web component?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira