Thomas Andraschko created DELTASPIKE-1049:
---------------------------------------------

             Summary: 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 Hug


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)

Reply via email to