
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Hi,
We are using DWR 1.1.4. We using class level variable in
our DWR classes. Can it cause any memory leak issue? We have not defined scope attribute
in dwr.xml. What will be default scope?
DocInfoDWR.java
public class DocInfoDWR {
private XMLConverter converter=new XMLConverter(); //
class level variable
public DocInfoDWR() {
}
}
dwr.xml
<?xml version="1.0"
encoding="ISO-8859-1"?>
<!DOCTYPE dwr PUBLIC
"-//GetAhead Limited//DTD Direct Web Remoting
0.4//EN"
"http://www.getahead.ltd.uk/dwr/dwr.dtd">
<dwr>
<allow>
<create
creator="new"
javascript="DocInfoDWR"
class="DocInfoDWR"/>
</allow>
</dwr>
Regards,
Maulin