Nilesh Nadiyana

Greenhorn
+ Follow
since Dec 24, 2002
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 Nilesh Nadiyana

Hi!
Environment : Weblogic 451
We have configured weblogic tasks that do specific tasks for us. Now, It was working fine all these days and One fine day, It Just halted without giving any error. So question is: Is there some way to know whether a specific task has halted? Note: We have configured around 15 such tasks (which is good for background processing) and all other were working fine when this particular task halted. Any inputs would be of great help.
Thanks in Advance.
Regards,
Nilesh.
20 years ago
Hi All,
Does bean locking has anything to do with the load? (no, I am not talking about the concurrent access here).
Thanks in Advance.
Regards,
Nilesh.
20 years ago
Thank You for your Response.
Now, apart from this concurrent access problem,The Bean locking can also occur due to the high load?
Say, I have max number of possible instances of a Entitybean as 1000. but I am processing 2000 records , from multiple clients. (Assume that it's a common routine like a scheduler which gets executed for each client accessing the same set of records), Is it that such a situation can lead to bean locking?
20 years ago
Hi!
Environment : Weblogic 4.5.1
We are facing bean locking problems lately (no, not because of deadlock).. I read that BEA uses Pessimistic locking approach. In the simplest case, Meaning that User1 has fetched data (say for reading) and at the same time, user 2 also needs data for reading, then until and unless user1 is finished, user2 wont get this data and the bean would remain locked.
Now, Question:
1) How do I know whether user1 has finished? ( I am assuming it has started a transaction of its own); Might be end of that procedure (say in a session bean to retrieve data from that specific entity say company based on company id?)
2) Is there a way to change this pessimistic locking to optimistic locking
a) Programmatically
a.1=> This could be like including time stamp or version. Any other way ?
b) At appserver level (any other option then Upgradation )
Your help would be highly appreciated.
Thanks in Advance.
Regards,
Nilesh.
20 years ago
Hi,
Is it for sure that the sequence doesnot matter? because while searching for examples and objectives, I did came across texts which mentioned about memorizing the sequence in which the elements appear in dtd's.. If not, thats good.. Any confirmation would be very helpful..
Regards,
Nilesh.
Hi!
Can someone suggest resources for Tag Libraries, Samples examples etc?
Thanks a lot in Advance,
Nilesh.
Site is : www.2test.com/index.html
Sites in Mumbai :
NIIT MUMBAI Phone: 2226053038 Site Code: II7
KARROX TECHNOLOGIES LTD Phone: 91 22 500 2554
ULTRAMAX INFONET TECHNOLOGIES Phone: 24221538
Regards,
Nilesh.
Thats quite helpful. Thank you for your inputs. I have/am working on <=J2EE1.2. So am finding lots of differences in here; Lots to learn ...
Hi!,
Some very basic questions:
1) This exam is for J2EE v1.4.
2) Which App Server does every one recomments for exam?
might be Sun's J2EE SDK (link mentioned in earlier posts) or tomcat??
3) How much amount of "practical experience" or "practice" is actually required for the exam?
Now, there is no limit to this, but say two categories:
a) Total theoretical
b) With some experience on previous version say Worked on J2EE 1.0
Thank you in advance for your inputs.
Regards,
Nilesh.
ok. Weblogic 7.0 has direct facility to do this.
Interesting. Could you please suggest, How is this possible? Probably using some tools? or supported by the specific App Server ?
Thanks for response. However, How do I know whether the cache is enabled or it is coming from cache?
I am using weblogic 4.5.1.
The problem is :
we have a servlet.
From the servlet, It finds an entity bean based on id. (somehow session has it).
checks whether the status of the found bean (record) is "cancel" and throws an "application exception" (kind of validation).
However, At the end of this operation, the lastediteddate of the table gets updated to system date. This is due to execution of a trigger which says:
on insert/update of table, update last edited date to sysdate.
This means, the trigger gets fired. But the code does not do any update ("Set" methods).
Thanks in advance for clarifying my doubt.
Regards,
Nilesh.
Hi!
a trivial question:
Does accessing a quering method say myentity.getStatus() would cause the DB trigger(insert/update) to be fired?
<snip>
myentity = myentityhome.findby(id);
myentity.getStatus();
<snip>
Regards,
Nilesh.
Yes, This did the trick for me, Thanks a lot.
20 years ago
JSP
Hi All,
I have a login jsp page, inside which I have two text fields, Login and Password and a button for submit. This is pretty simple and working.
On choose of Submit, I want to open a new JSP page (not servlet) (because of specific requirements that on choose of login button a new page should be opened and the current page would remain as is) which should be able to read the values entered inside that form.
Is there someway, I can read those entered values here ?
one way is to submit the form and setting its action to the same jsp page, but that wont/doesnt work.
Or, Is there a possibility that I can simply read those values , say using javascript but then how to pass them onto the next JSP page?
Or, Effectively what I want to do is pass the values of the form in JSP1 to a new JSP page JSP2 and read those from there (without "get" method).
TIA.
Regards,
Nilesh.
[ November 05, 2003: Message edited by: Nilesh Nadiyana ]