Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

Lakshmi Anantharaman

Ranch Hand
+ Follow
since Aug 01, 2001
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 Lakshmi Anantharaman

Many QA and QA lead postions request this kind of requirements. J2ee QA jobs is probably what you are looking at.

In US salary varies widely state to State . While QA are not the highest payed technical worker their salries are not low. You would expect to make between 75-85K hightest to 52-65 K in lower paying jobs.

-Lakshmi
16 years ago
There is a Threads forum and each thread in a method have its own local copies of local variable/args inside a method its only the shared objects that will need to be made expicitly thread-safe

Thanks Anyway
Lakshmi
Thanks, I really appreciate it.
I see what may be the problem still have more questions

If a static utility class static method (which does not have any instance/class variable ) when 2 thread enter the method have their own local copies of method arguments , so will each thread will have its own context or is it still possible that the thread that comes in later may overwrite the local method arguments for he earlier thread , While I am going to test this ... I thought I should ask in case I conclude wrongly that without instance variables everything is actually thread safe.

Is there like a thread forum here ?!
[ May 24, 2005: Message edited by: Lakshmi Anantharaman ]
Hi Ravi

I do not know if this question belongs here ... but

I believe that this is impossible . The very reason being HTTP is stateless . When the window object is closed there are no events to capture this . That is the idea of having an explicit logout item that you can capture . Another way would be to write a HTTP Sessionbinding listener . Here the value unbound event will be raised when the session expires (window with no activity for a set amount of time ) then you may be able to do a session invalidate.

You may be able to search about widow close in either the servlet or jsp forum to get many leads

Hope this helps
Lakshmi Anantharaman
[ May 24, 2005: Message edited by: Laksh Anan ]
I know this must be so.I know this is a weird question to ask , but nevertheless I ask. Will all stateless session-bean methods be thread safe and only serviced by one client at a time ?

But we cannot say the same of a util java class method this bean/active beans of different clients may call inbetween right ... Debugging ... Synchronized ...

Okay I am checking something that smells and sounds "concurrency" that I can never reproduce in my box but user incidents of such occurances in production let me believe something otherwise ...

Thanks
Lakshmi

[ May 24, 2005: Message edited by: Laksh Anan ]
[ May 24, 2005: Message edited by: Laksh Anan ]
I know that remove in the Component Interface actually removes the bean (Session/ Entity - row ). What does remove in the Home interface do ? Geting confused by too much learning .... (Just started preparing for the SCBCD )
On top of this would we need a LocalHome and Localremote interfaces for session/entity beans or a service locator pattern to cache home references

Thanks,
-Lakshmi Anantharaman
[ May 20, 2005: Message edited by: Laksh Anan ]
I thought it may be helpful to add this here

enable-call-by-reference
Range of values:
True | False

Default value:
False

Parent elements:
weblogic-enterprise-bean


Function
When enable-call-by-reference is False, parameters to the EJB methods are copied´┐Żor passed by value´┐Żregardless of whether the EJB is called remotely or from with the same EAR.

When enable-call-by-reference is True, EJB methods called from within the same EAR file or standalone JAR file will pass arguments by reference. This improves the performance of method invocation since parameters are not copied.

Note: Method parameters are always passed by value when an EJB is called remotely.

Example
<weblogic-enterprise-bean> <entity-descriptor> <ejb-name>AccountBean</ejb-name> ... <enable-call-by-reference>False</enable-call-by-reference> </entity-descriptor></weblogic-enterprise-bean>
[ May 20, 2005: Message edited by: Laksh Anan ]
Does having localHome and LocalRemote objects provide any significant performance improvement in the clustered weblogic environment.

Will this be a significant change incode considering we already have full flegded app runting on 6 instance with approximately a load of 25000 users in total. millions of line s of code (enttiy / session / servlets )

Also wondering if the Service locator pattern is useful in a scenario with localHome and localremote objects and otherwise.

Thanks
Lakshmi
Along these lines . How to capture the browser window closing with Java ?

Resposes appreciated
[ March 29, 2005: Message edited by: Laksh Anan ]
I have a table with edit in each row

A B editrow
A B editrow
A B editrow

When I click the edit row how to I add value to hidden fields ? My sample javascript is not working

< h:commandLink action="editgrade" wheniclickevent="form.assessmentId.value="+#{asmt.assessmentId}+";"+"form.assessmentId.value ="+#{asmt.assessmentName}+";" >
< h utputText value="Edit"/ >
</h:commandLink >
17 years ago
JSF
Hi

I hope this will make my question clear

How does one pass arguments or set some data mangaedbean for furthur porocessing on the fly .

I am building a table of assignments and they are group by catergory. Si O have a list of catergory and can get assignment by catergory.

As a workaround I am how I can call the set api in a mangedbean without a submit or refresh .

Also it would be helpful to understand how to encode URL for a commandLink.

Thanks
17 years ago
JSF