users@ejb-spec.java.net

[ejb-spec users] [jsr345-experts] Fwd: PassivationTimeout

From: Rick Hightower <richardhightower_at_gmail.com>
Date: Tue, 8 May 2012 17:30:53 -0700

---------- Forwarded message ----------
From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Tue, May 8, 2012 at 5:27 PM
Subject: Re: [jsr345-experts] PassivationTimeout
To: Rick Hightower <richardhightower_at_gmail.com>


Can you please reply to all?

thanks.

Rick Hightower wrote:

> I vote no.
>
> On Tue, May 8, 2012 at 3:07 PM, Marina Vatkina <marina.vatkina_at_oracle.com<mailto:
> marina.vatkina_at_oracle.**com <marina.vatkina_at_oracle.com>>> wrote:
>
> Experts,
>
> Please vote
>
> A) if you agree to add the @PassivationTimeout to the EJB3.2
> B) if you don't think it is necessary
>
> thanks,
> -marina
>
> -------- Original Message --------
> Subject: [ejb-spec issues] [JIRA] Commented: (EJB_SPEC-56)
> Preventing Passivation of SFSBs
> Date: Tue, 8 May 2012 21:30:20 +0000 (GMT+00:00)
> From: Carlo de Wolf (JIRA) <jira-no-reply_at_java.net
> <mailto:jira-no-reply_at_java.net**>>
> Reply-To: issues_at_ejb-spec.java.net
> <mailto:issues_at_ejb-spec.java.**net <issues_at_ejb-spec.java.net>>
> To: issues_at_ejb-spec.java.net <mailto:issues_at_ejb-spec.java.**net<issues_at_ejb-spec.java.net>
> >
>
>
>
> [
> http://java.net/jira/browse/**EJB_SPEC-56?page=com.**
> atlassian.jira.plugin.system.**issuetabpanels:comment-**
> tabpanel&focusedCommentId=**339309#action_339309<http://java.net/jira/browse/EJB_SPEC-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=339309#action_339309>
> <http://java.net/jira/browse/**EJB_SPEC-56?page=com.**
> atlassian.jira.plugin.system.**issuetabpanels:comment-**
> tabpanel&focusedCommentId=**339309#action_339309<http://java.net/jira/browse/EJB_SPEC-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=339309#action_339309>
> >
> ]
> Carlo de Wolf commented on EJB_SPEC-56:
> ------------------------------**---------
>
> http://docs.oracle.com/javaee/**6/api/javax/ejb/**
> StatefulTimeout.html#value%28%**29<http://docs.oracle.com/javaee/6/api/javax/ejb/StatefulTimeout.html#value%28%29>
>
> A value of -1 means the bean will never be passivated due to timeout.
>
> Preventing Passivation of SFSBs
> ------------------------------**-
>
> Key: EJB_SPEC-56
> URL: http://java.net/jira/browse/**EJB_SPEC-56<http://java.net/jira/browse/EJB_SPEC-56>
> Project: ejb-spec
> Issue Type: New Feature
> Affects Versions: 3.2
> Reporter: abien
>
> Stateful Session Beans can be passivated (and so often
> serialized) by the container to disk to save resources. This
> behavior can lead to problems with performance, scalability
> and even robustness of the application. A SFSB may contain
> non-serializable attributes which prevent a successful
> serialization and lead to runtime exceptions.
> Proposal: introduction of @NotPassivable annotation (TODO:
> suggest better name) to prevent passivation of SFSB. SFSB
> denoted with this annotation should never be passivated and
> the methods ejbActivate and ejbPassivate never invoked. In an
> overload scenario the container is supposed to destroy the
> SFSB instances, instead of passivating them.
> @Documented
> @Target({ElementType.METHOD, ElementType.TYPE})
> @Retention(RetentionPolicy.**RUNTIME)
> public @interface NotPassivable {
> }
>
>
> -- 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<http://java.net/jira/secure/Administrators.jspa>
> -
> For more information on JIRA, see:
> http://www.atlassian.com/**software/jira<http://www.atlassian.com/software/jira>
>
>
>
>
>
> --
> *Rick Hightower*
> (415) 968-9037
> Profile <http://www.google.com/**profiles/RichardHightower<http://www.google.com/profiles/RichardHightower>>
>
>



-- 
*Rick Hightower*
(415) 968-9037
Profile <http://www.google.com/profiles/RichardHightower>