You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2016/01/28 21:21:39 UTC

[jira] [Resolved] (DELTASPIKE-1049) Avoid bean serializations / use ApplicationScoped instead Dependent for performance reasons

     [ https://issues.apache.org/jira/browse/DELTASPIKE-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Andraschko resolved DELTASPIKE-1049.
-------------------------------------------
    Resolution: Fixed
      Assignee: Thomas Andraschko  (was: Thomas Hug)

> Avoid bean serializations / use ApplicationScoped instead Dependent for performance reasons
> -------------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-1049
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1049
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Data-Module
>    Affects Versions: 1.5.2
>            Reporter: Thomas Andraschko
>            Assignee: Thomas Andraschko
>             Fix For: 1.5.3
>
>
> Currently QueryHandler is Dependent and a instance will be created for every repository.
> QueryHandler can be ApplicationScoped to avoid serialization if the user doesn't set a scope to the repository.
> Classes which doesn't need to implement Serializable (and doesn't need a serialVersionUID):
> QueryBuilderFactory
> RepositoryComponents
> QueryHandler
> Classes which can be ApplicationScoped:
> QueryBuilderFactory
> TransactionalQueryRunner
> QueryHandler



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)