JuanP barbancho

Ranch Hand
+ Follow
since Oct 25, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by JuanP barbancho

You need using POST instead GET.

You could using a URL filter in order to get the url and change to old param, and when you return you could rewrite the URL from old manner to new manner.

With the filter you only need made the filter and activate, you do not need change in the rest of app.
Weblogic have multipool, but I unknow the use of them
Hi,

I use cookies and URL rewritte when I cannot put cookies.

I use an session attribute for the action of the post. I put this session attributte in the JSP.

I calculate the session attributte when the user log and put in session.

some code
17 years ago
Hi,

I understand that you need only change the row, have changed.

I think that you use JSP and you could use a litle of javascript, too?

You could send to the server a new HTML form field, that have a number or similar (String etc). This new field could be X (String) or bit active (number) when you need update the row.

This is a litle complex logic in Javascript client, but you minimize the number of update's.

Thansk you
IMO, You must create your customized exception, I think that NullPointerException and IllegalArgumentException, both are Spec Exception, If you throw a Exception you could extend, any of this exception.
18 years ago
Hi,

I think that you need reading as fast as possible and you write to the collection only a few of times.

I think that you could use a internall Object flags that have different values, by example, READING, WRITING, HAVEWRITED, HAVEREAD etc.

You could make a system that in reading mode enable the concurrent read of the collection, in writing make a queue of the rest, in havewriting ....
you only finish to start writing ...

Is most complex, but you could reading in most than 1 thread.
18 years ago
Hi,

I attach some code that I use in a lot of program:


[ November 07, 2005: Message edited by: Joe Ess ]
18 years ago
Congratulations,



I call the SOAP servlet, I understand the XSD (xml satanic definition) .

Thank for your replys
18 years ago
HI,

Download all record in a file, make a program that read the file and make your process.

You could too using a very complex SQL query with Pararell process.

Thanks you
18 years ago
IMO,

Use of NullPointerException is a bad choice.

I think that extends Thowable and not Exception, and It is the more complex Exception for programmer, When I see a NullPointerException I think that a not controled error is throw.

The best choice is to Extends IllegallArgumentException and Throw your extended exception.

Thanks.
18 years ago
Hi,

Try to use a Thread for save the data, you could use two buffer array.

Thanks you.
18 years ago
Hi,

c is a singleton like a Vector.

a and b are add to the Vector.

Thanks you
18 years ago
Sorry,

I think that you need a performance solution and not a algorithmic solution.

Thanks
18 years ago
Manage Execption is more slower than do not manage.

Test the following


or



Thanks
18 years ago
Hi,

GRID is good for very heavy CPU process. But, grid need Network.

I think that if you want use only a machine, with a minimun of CPUs.

Memory hardware is cheaper than CPUs hardware, and memory do not pay license. Some product like J2EE server have license by CPUs.

I need know the CPU time that you will need and the memory that you will need.

You could divide the CPU time / num CPUs

You could divide the )CPU time + Network Time) / (num GRID cpus )

Thanks you
18 years ago