Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Veena Rani

Ranch Hand
+ Follow
since Mar 09, 2000
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 Veena Rani

Hi,
What will be the effect of setting the isolation level of a session bean method as serializable with oracle database? Does this also guarantee that
any databse read/update in that method will be serializable if multiple clients are calling the bean method in the clustered environment?
Will this have any effect on the performance of the other transactions being performed/
We are using WebSphere in a clustered environment with Oracle 8 database.
Our requirement is to read and then update a row in the table depending on some condition. read and update process should be exclusive, no other transaction should be able to read that row while first tranasction is reading and updating the row.
please suggest the possible approaches for this.
Regards,
Veena
16 years ago
You can use WebSphere Control Program (wscp) for starting, stoping the server and also for installing the application to WAS.
More detail about this can be found here
http://www-3.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/060600020201.html
Veena
16 years ago
Hi Kyle,
We need distributed transaction in our application using Oracle and sql Server databases. Is it possible to perform two phase commit in WAS 4.0 across two different types of database?
can anybody give any pointer related to this?
Thanks,
Veena
17 years ago
Thin installation of WAS means , you have to choose only web server plug-in component when installing the WAS on the m/c where you have installed your web server.
Veena
17 years ago
Hi Neel,
If session persistence is set to true, the session should be available to all the clones. I think session affinity is supported by default in WAS.I don't have any more inputs on this.
Are you using any other software for like servlet redirector, network dispatcher etc. for load balancing?
You can post this to WebSphere forum. Kyle Brown can provide some info in that forum.
Veena
Hi Neel,
I haven't worked with 3.5 but WAS4.0 supports server affinity that way subsequent requests are directed to the same clone.
Both clone1 and clone2 are on the same m/c or on the different m/c(I mean u are using horizonatal or vertical clustering)
I think for this to work you can use session persistence feature of the app server so that seession information is available to all the clones in the cluster
Veena
You can use the column aliases in both Statement and prepared statements.

Select name CustomerName from Customer
here CustomerName is alias name for column name.
a sql query like this can be used in both statement or prepared statement
Veena
you can use onbeforeunload event in place of onUnload this will display the message before closing the window. But i dont think you can prevent the closing of window according to user respose to message displayed.
Veena
17 years ago
JSP
HttpServlet class is an abstract class but it does nothave any abstract methods.But for proper functioning we normally override the doGet or doPost because these methods are called by the service method of the servlet depending upon the request received.
Veena
17 years ago
Prameterized preparedStatements are compiled only once by the database engine. If the same prepared statement is executed more than once then the next execution onwards database uses the previously parsed and compiled statement.Because of this it gives better performance than the Statement.
Veena
You can create another hashtable that will map the values in the int array to either key or value
of your original key or value array.For this you have to convert int primitive type to Integer object because in the hashtable you can use only objects as key or value.
Then use this hashtable as key or value to construct the final hashtable.
Veena
17 years ago
After generating the plug-in replace
the host name "ELI-1BX1NW393" with the ip address of the host.
Veena
17 years ago
convert searchString to upper case then query like
upper(column name) like '%serachString%'
Veena
you are right
isolation level attribute is specified in
the ibm-ejb-jar-ext.xmi
Veena
17 years ago
On click of save button in the upper frame you can submit the forms in the lower frame , that way you can get the value in the interface screen after submitting.
Before submiiting for getting the values stored the top frame in the lower frame you can use
top.frames[0].document.forms[0].formElement.value
vice versa will also work
Veena
17 years ago
JSP