seema mani

Ranch Hand
+ Follow
since Sep 30, 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 seema mani

I also passed, thanks to all the wonderful people at JavaRanch. Am also eager to read the new book by Kathy & Bert. Congrats to everyone !
Thanks
seema
hi
If I need to refer an enterprise bean from another, I can use the ejb-ref element. Within this element I specify the home and remote interfaces of the target bean. Now I can do a JNDI lookup of the target bean uing the ejb-ref-name.
Now my doubt is what is the benefit of the optional ejb-link element ? What additional purpose does it serve ?
Thanks
Seema
hi thanks for the reply. I still have a query.
In page: 501 of "Enterprise JavaBeans" by OReilly, it says "MDBs must always have a runAs security identity specified". Is this a mistake ?
Or did I understand the concept in a wrong way ?
Thank You
seema
hello
I read that it is mandatory to specify the runAs security identity for a message driven bean. Is this correct ? What would happen if it is not specified ?
Thank you
In the question no: 51 of mockexam http://www.javaranch.com/carl/SCWCD.htm
Which statements are true about the Web Application DD ?
1) There can't be leading nor trailing spaces for PCDATA whithin text nodes
2) The servlet container must ensure that role-names in auth-constraint are defined in security-role elemen
3) URI paths specified are assumed to be URL decoded form
4) None of the above
Here the choice 2 is marked as incorrect. But is it not compulsory that the role-name in auth-constraint should be a role specified within the security-role element ?
Thanks
seema
hi
Thanks for the info. Actually, I got this info from the SCWCD Study Kit by Hanumant Deshmukh. In the answer to question no: 2 of Chapter 7, it says " When the sendError() method is called, the response is assumed to be committed. If you write anything to the response after it is committed, IllegalStateException is thrown."
So they have given this as the correct answer to that question. Is this is a mistake in the book ?
Thanks
Seema
hi
If I write something to the outputstream after calling sendError, what will happen ? The SCWCD Exam Study Kit says that this will cause IllegalStateException to be throws. But I have read somewhere else that the error would be just ignored. Which is correct ?
Thanks
Seema
hi I'm maintaining sessions using JSPs. I want the logged in users to remain signed in unless they sign out explicitly. That is whenever the user visits the site, he doesn't need to login again, he's automatically logged in and redirected to the last page he had visited on the site. How do I achieve this ? The user's session would time out after he closes the browser right ? So even if I use cookies, won't the session have expired ? Please advise
Thanks
seema
17 years ago
JSP
hi my web application which consists of servlets and JSPs hangs at times. I doubt that it could be because of Stack Overflow problem.I want to use a testing tool to monitor my server's stack usage. Which tool should I use ? I'm using Apache tomcat server.
Thanks in advance
seema
18 years ago
hi I have implemented JTree Drag & Drop as given in the following artcile http://www.javaworld.com/javaworld/javatips/jw-javatip97.html
Though my tree implements and registers DropTargetListener, the drop events are not recognized. What could be the reason ? The drag event callback methods are getting called correctly.
Thanks in advance
seema
--------------------
18 years ago
hi I'm facing a problem with the display of the JTree nodes. To display the child nodes of a node, we click the '+' symbol near it. Now my problem is that if a node which is allowed to have child nodes is shown, the '+' symbol appears even if it has no children at present. How do I change this behaviour ? That is I want the '+' sign to appear for a folder node only if it has at least one child.
Thanks a lot
seema
18 years ago
hi
For my applet, I'm using an HTML page which has the plugin tag that will automatically download the JDK 1.3 plugin. Now my problem is that if I open the html page on a machine which already has JDK1.4 plugin, still it attempts to download the 1.3 version of plugin. How do I give the tag in such a way that 1.4 plugin will be used if it is installed on the client?
Please advise
seema
18 years ago
hi
Is there any way to set the local port used by the applet for establishing a URL connection to a servlet ?
Thanks
Seema
hi
Is it possible to set the local port used by the applet for establishing a URL connection to a servlet ?
Thanks
Seema
18 years ago
hi I have a utility class which is used by an applet as well as an application. Is there any way to find out from the functions of this class if they are being invoked by an applet or not ?
I need to take a different course of action in each case.That is why.
Thanks very much
Seema
18 years ago