Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9DB89F2A for ; Wed, 22 Feb 2012 09:01:21 +0000 (UTC) Received: (qmail 64750 invoked by uid 500); 22 Feb 2012 09:01:21 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 64696 invoked by uid 500); 22 Feb 2012 09:01:20 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 64679 invoked by uid 99); 22 Feb 2012 09:01:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 09:01:20 +0000 X-ASF-Spam-Status: No, hits=1.2 required=5.0 tests=FORGED_HOTMAIL_RCVD2,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 09:01:15 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1S084E-0004Z0-2N for users@myfaces.apache.org; Wed, 22 Feb 2012 01:00:54 -0800 Message-ID: <33369560.post@talk.nabble.com> Date: Wed, 22 Feb 2012 01:00:54 -0800 (PST) From: pelican5699 To: users@myfaces.apache.org Subject: Question about annotation and sessionscoped MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: pelican5699@hotmail.com I am using Tomcat 7.0.25 Myfaces 2.1.6 Openjpa 2.2.0 Jdk 1.7.0_02 On Fedora 12 Linux I have a managed bean with the following:- @MangedBean @SessionScoped When I compiled there is a warning message: Warning: Supported source version =E2=80=98RELEASE_6=E2=80=99 from annotati= on processor=20 =E2=80=98org.apache.openjpa.persistence.meta.AnnotationProcessor6=E2=80=99 = less than =E2=80=93source =E2=80=981.7=E2=80=99 Warning: No processor claimed any of these annotations: javax.persistence.ElementCollection, javax.persistence.Column, javax.faces.bean.SessionScoped, javax.persistence.Id, javax.faces.bean.ManagedBean, javax.faces.bean.ManagedProperty, javax.annotation.PreDestroy, javax.persistence.Transient, javax.faces.bean.RequestScoped, javax.persistence.NamedQueries, javax.persistence.Temporal, javax.persistence.IdClass, javax.annotation.PostConstruct Even though I put as =E2=80=9C@SessionScoped=E2=80=9D, it seems that the be= an is created many times when it is called from the page each time. I assumed that there will be one time creating thoughout the session. Is there something that I should check? Thanking in advance, --=20 View this message in context: http://old.nabble.com/Question-about-annotati= on-and-sessionscoped-tp33369560p33369560.html Sent from the MyFaces - Users mailing list archive at Nabble.com.