Joseph Jegan

Greenhorn
+ Follow
since Sep 06, 2000
Merit badge: grant badges
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 Joseph Jegan

I am thinking of implementing Caching for our web application to boost the performance.I have selected to use either EHCache or OSCache. Among the two which one is best? Please share with me some of your experience in using the above two products.
Following are the features of my project:
  • I do not require Distributed Caching
  • Most of the Operations are Read-Only Nature
  • I need to Cache only Serializable Java Objects
  • Should be Open Source
  • Ablity to configure the Caching declaratitively
  • My project doesnt use Hibernate

  • Thanks
    18 years ago
    All,
    The EJB spec says, Bean Managed Transaction is not possible in Entity Beans (Both BMP and CMP). Can some one explain me the reason?
    Thanks in Advance
    Is there a server-side solution to show a session expiry page?
    I think, it is not possible to use HTTPSession.isNew() to distinguish between a request that comes for the first time and a request which comes from a timed-out session. Because, for both the cases, isNew() will return true.
    [ January 08, 2004: Message edited by: Joseph Jegan ]
    [ January 08, 2004: Message edited by: Joseph Jegan ]
    18 years ago
    All,
    Thanks for answering my question.
    Let me give more details on my requirements. In our web.xml, we have configured session-timeout to a value of 15 minutes. So, our webcontainer will automatically removes the session if the last accessed time goes more than 15 minutes. Now, we need to show a session expiry page which says "Your Session has Expired" whenever a request belonging to the expired session hits the webcontainer.
    So, what logic should i use to determine a request belongs to a expired sesion or not.
    Thanks
    Joseph
    18 years ago
    Can someone tell me how to determine a session is expired?
    I am currently using HTTPServletRequest.isRequestedSessionIdValid() method to determine if the sesion has expired. But, i am not getting a onsistent result all the time. I ma using ATG Dynamo Application Server.

    Thanks in Advance
    18 years ago
    Home interface is responsible for the creating, removing and finding the EJB instances. Whereas Component interface (remote and local) provide access to bean's business methods. Can someone tell me, why the remove() method is present in EJBObject and EJBLocalObject interfaces which should ideally present only in Home interface?

    Suppose there are 2 requests , then there would be 2 instances of that Entity Bean in the memory .


    Is this statement correct?
    Composite Entity Pattern (one of Core J2EE patterns) can be implemented only by BMP. We cannot implement through CMP. Any thoughts?
    Hi,
    Can someone tell me how many questions are there in the exam and the duration of the exam.
    Thanks.

    ------------------
    Hi anil
    Please e-mail to me the tutorial: josephjegan@hotmail.com
    Thanks