Satheesh Satti

Greenhorn
+ Follow
since Sep 12, 2005
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 Satheesh Satti

Hi,

I agree with you.. But in my opinion after the application is built we should not manually edit the dd and configure the transaction attributes as people who are referring the javadoc should not be misguided as they are looking at the older attributes.

Thanks for ur reply.

Satheesh.
Hi,

I don't know if this is the right forum to ask this question. It is application assemblers job to define the transaction attributes in dd. Actually bean provider is not even supposed to know what transaction attributes the application assembler is going to set for the method...

And does this mean that everytime I change the way my bean behaves I have to actually go change the source code. That beats the whole point of component based development right.

Thanks in advance
Satheesh.
Hi,

I would really appreciate if some one answers the following question.

If container calls the ejbCreate on a stateless session bean at an entirely unrelated time to the clients create call on home object.. how come we can ask for the EjbObject reference from the SessionContext in the ejbCreate method.

Thanks in advance,
Satheesh.
http://wiki.apache.org/jakarta-velocity/BrowserSniffer
This is what I was looking for.

Thanks,
Satheesh.
14 years ago
Hi,

I have a servlet which serves different HTML for different browser's(Based up on the browser type,version etc). Does any body know any browser sniffer (from any open source community like jakarta). I feel that this is a common problem many people would face I wonder if their isn't one already available. I didn't want to reinvent the cycle.
I would greatly Appreciate any help.

Thanks,
Satheesh.
14 years ago
No...
Container calls the init method on the servlet to move it from the loaded state to initialized state and then container passes the request and response objects to the service methods for each request.
Hence at this point of time servlet doesnot have access to the response object.
15 years ago
Thanks for all the responses

I am wondering what spec says about it and API doesn�t say that RequestDispatcher returned by servletContext is not Thread Safe. I am using Tomcat and hence can know whether I can do it or not by looking in to the RequestDispatcher implementation. But that makes my code vendor specific and didn�t want to do something like it.

I am using at as read only inside the Service Methods by assigning it once in the init Method.

Thanks,
Satheesh.
15 years ago
Many Thanks for ur reply.

It is an instance variable and it is being set once in the init method of the servlet which will be called only once when the servlet is loaded and later on I am using it to do the forwards in the service methods(doGet etc..,).Is it safe to do something like that.

Thanks again,
Satheesh.
15 years ago
Hi..

Can some one please answer the following question.
Is the RequestDispatcher returned by getRequestDispatcher(java.lang.String path) of ServletContext class thread-safe.

Thanks
Satheesh.
15 years ago