logo       


RE: Need help: which annotations mark fields that mightbe set by EJB3?: msg#00009

Subject: RE: Need help: which annotations mark fields that mightbe set by EJB3?
Hi,

  Just a thought, but is this not a generic issue with all IoC
containers, not just EJB3?


Chris Nappin.


-----Original Message-----
From: findbugs-discuss-bounces@xxxxxxxxxx
[mailto:findbugs-discuss-bounces@xxxxxxxxxx] On Behalf Of Sven Reimers
Sent: 15 November 2006 15:48
To: findbugs-discuss@xxxxxxxxxx
Subject: Re: [FB-Discuss] Need help: which annotations mark fields that
mightbe set by EJB3?

Hm,

javax.persistence.* (JPA) can be used outside of EJB - so maybe a
better name for the detector?

-Sven

On 11/15/06, Bill Pugh <pugh@xxxxxxxxxx> wrote:
> Can someone who understands EJB3 help me out?
>
> In classes that are marked with EJB3 annotations,
> the EJB container will automatically set some of the fields.
>
> I need to take this into account in the findbugs checker for unwritten
> fields.
>
> At the moment, I've mark as an EJB field anything annotated with
> with a javax.annotation.*, javax.ejb.* or javax.persistence.*
> annotation,
> and never treat an EJB field as an unwritten field.
>
> This is probably overkill, and it may not be sufficient. Are there
> annotations
> on a class or field that cause other fields to be set by EJB3.
>
> Please advise,
>
>    Thanks,
>
>      Bill
>
>
> _______________________________________________
> Findbugs-discuss mailing list
> Findbugs-discuss@xxxxxxxxxxxxxxxxxx
> http://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss
>
_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@xxxxxxxxxxxxxxxxxx
http://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss


CONFIDENTIALITY & PRIVILEGE NOTICE

This e-mail is confidential to its intended recipient. It may also be 
privileged. Neither the confidentiality nor any privilege attaching to this 
e-mail is waived lost or destroyed by reason that it has been mistakenly 
transmitted to a person or entity other than its intended recipient. If you are 
not the intended recipient please notify us immediately by telephone or fax at 
the numbers provided above or e-mail by Reply To Author and return the printed 
e-mail to us by post at our expense. We believe, but do not warrant, that this 
e-mail and any attachments are virus-free, but you should check. We may monitor 
traffic data of both business and personal e-mails. We are not liable for any 
opinions expressed by the sender where this is a non-business e-mail. If you do 
not receive all the message, or if you have difficulty with the transmission, 
please telephone us immediately.



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe