How to use flush-at-the-end in sun-ejb-jar.xml

Hi Every one ,

could anybody tell me the syntax for using flush-at-the-end option in sun-ejb-jar.xml

I have tried with following statements. First one was no complier error but no output too.

Second one is resulting in compilation errors

1)

<flush-at-end-of-method>

<ejb-name>SemaphoreUtilityBean</ejb-name>

<method-name>create()</method-name>

</flush-at-end-of-method>

2)

<flush-at-end-of-method>

<ejb-name>SemaphoreUtilityBean</ejb-name>

<method-name>create()</method-name>

</flush-at-end-of-method>

any help is appreciated

[694 byte] By [Sri-nia] at [2007-11-14]
# 1

Your syntax is wrong in both cases. <flush-at-end-of-method> contains a single element <method>, see:

http://docs.sun.com/app/docs/doc/819-2556/6n4rap8uh?l=es&a=view#beatf

<method> contains:

<description>

<ejb-name>

<method-name>

<method-intf>

<method-params>

see: http://docs.sun.com/app/docs/doc/819-2556/6n4rap8uo?l=es&a=view#beauz

Sultala at 2007-7-7 > top of java,Application & Integration Servers,Application Servers...