This is good advice. I have seen innumerable emails that follow this same
format: "I want to change x code because it could be a performance problem." If
you were having performance problems, then any number of code profilers will
tell you where the bottleneck is. Just looking at a code fragment
Thanks! I feel the same. I am using Java 5, and I do not see any
performance issue yet, but it just bother other engineers when they see the
code. I look at the source, the 2 main vars will be used are
this.sizeThreshold = sizeThreshold;
this.repository = repository;
They ar
Unless you're using a truly antique version of Java, the cost of
repeatedly instantiating DiskFileItemFactory is entirely negligible.
The constructor does next to nothing, and the JVM already optimizes
repeated class instantiations almost out of existence. If you are
seeing performance issues with
On Thu, Feb 4, 2010 at 10:01 PM, Michael McCarthy
wrote:
> I have a need to validate my XML file prior to trying to create an instance
> of it.
> So, I took the latest schema files provided by w3c and make some tweaks so
> that it would accept
> syntax supported by Commons SCXML.
>
> It currentl
I have a need to validate my XML file prior to trying to create an instance of
it.
So, I took the latest schema files provided by w3c and make some tweaks so that
it would accept
syntax supported by Commons SCXML.
It currently passes validation for XML supported by Commons SCXML, but it may
not
On Thu, Feb 4, 2010 at 6:15 PM, Michael McCarthy
wrote:
> Hello,
>
> I am looking for a way to validate my SCXML document before I try to
> instantiate a state machine from it using Commons SCXML.
>
> I have tried to use various versions of the XSD provided in the W3C
> SCXML spec (including the l
Hello,
I am looking for a way to validate my SCXML document before I try to
instantiate a state machine from it using Commons SCXML.
I have tried to use various versions of the XSD provided in the W3C
SCXML spec (including the latest version at:
http://www.w3.org/TR/scxml/)
but I am finding d
Am 04.02.2010 17:42, schrieb Asterios Katsifodimos:
Hi all,
I would like to know if there is a way to set the value of a variable (key)
to be the space character in a PropertiesConfiguration file.
for example
variable = " "
could I use the double quotes to do that?
From looking at the code
I have a servlet that will handle few hundread thousand requests per day. I
am using the commons FileUpload to loop thru the fields and file items.
Here is the code
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
Hi all,
I would like to know if there is a way to set the value of a variable (key)
to be the space character in a PropertiesConfiguration file.
for example
variable = " "
could I use the double quotes to do that?
thank you,
--
Asterios Katsifodimos
INRIA Saclay
France
Le 03/02/2010 05:57, Harshwardhan Gunjotikar a écrit :
Hi All,
We are thinking of using Apache commons net library in our project to
support FTP operations. We have some specific requirements and we tried to
find out if the library supports those. However, we couldn't find any
concrete informati
11 matches
Mail list logo