facebook

Xdoclet & ejb.transaction – puzzled!

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220896 Reply

    harryajh
    Member

    do you HAVE to have ejb.transaction for every method? – I have a session facade that has methods that never require transactions. If I don’t explicitly state this using an ejb.transaction tag I get –

    <Dec 13, 2004 2:41:59 PM GMT> <Warning> <EJB> <BEA-010212> <The EJB ‘ProjectFacade(Application: _appsdir_PRDApp_dir, EJBComponent: PRDControllersEJB)’ contains at least one method without an explicit transaction attribute setting. The default transaction attribute of Supports will be used for the following methods: local[getMainPageObjects()] >

    Trouble is my JAR file contains several EJB’s & the ejb-jar.xml is 33kb (so far)

    Do you have to then?

    Also is it possible to state for a single EJB a wildcard i.e <method-name>*</method-name> where all transactions are identical?

    thanks

    harry

    #220923 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev, this is an XDoclet/EJB question.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Xdoclet & ejb.transaction – puzzled!

You must be logged in to post in the forum log in