From what I understand, synchronized keyword syncs local thread cache with main memory. volatile keyword basically always reads the variable from the main memory at every access. Of course accessing main memory is much more expensive than local thread cache so these operations are expensive...
Hello,
Was wondering if one of the requests to a web server results in StackOverflow error is the whole server shutdown or just the thread dies or an error is thrown back to the client?
Thanks,
Salil
Hello Friends,
I have an junit testcase that tests a eclipse application with a very long classpath and this can't be executed in Eclipse because of Windows classpath limitations. So I decided to write a program that will execute the the JUnit Test. I create my own classloader that takes the...
Hello Friends,
I have jar files from a third party and the corresponding source code. I wanted to know how I could add the jar files to my weblogic runtime and then debug it by pointing to the source code. I don't want to directly add the source code to the project because that will mean...
Hello Friends,
I am using page flows for the first time. I would also need to run the web application under another j2ee server. I know that we can use the portability kit to do this transformation.Even though I understand that using page flows have certain advantages, I wanted to know whether...
Hello friends,
I am trying to call a function from the onclick of an <option> tag. I just have a simple alert message within the function. The function doesn't get called. I have posted the code below:
<HEAD>
<SCRIPT type="text/javascript">
function func_1() {
alert('test');
}</SCRIPT>...
Hello Friends,
I have this problem. We are using a ODBC Text Driver(I don't know which one but mostly it is a Microsoft Text Driver) in order to read a CSV or TSV file and import the data in that file into our application database. The problem is that we need to internationalize our...
Hello,
My problem is that I am opening a child window from a parent window. Now the parent window gets replaced by some other page and I lose the reference to the child window. If the user again tries to open the child window from the same parent window I want to check that the child...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.