Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-263

Testsuite enhancements for validating affinity processing

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 4.0.15.Final
    • 4.0.0.Final
    • None

    Description

      In order to test the interaction between a client and multiple servers (clustered and non-clustered), the EJB client testsuite currently provides a simple framework for:

      • starting and stopping one or more servers, each on a given host and port (via DummyServer.java and DummyAssociationImpl.java)
      • deploying named modules on such servers
      • simulating a cluster of servers with a defined membership

      The EJB client 4.0 testsuite is in need of more testing in these areas:

      • affinity initialization (for stateful session beans) and
      • affinity processing during invocation (for both stateful and stateless session beans)

      This PR adds in test framework elements to address those issues, listed here:

      • specify whether a deployed bean is stateful or stateless
      • allow both stateful and stateless beans to be deployed on the same server
      • to cause deployed beans to return a Result<T> object which contains the result (of type T) of the invocation as well as the node the invocation was invoked upon

      These additional changes will allow writing test cases to validate the following:

      • affinity initialization
      • affinity processing
      • lazy session creation

      Attachments

        Activity

          People

            rachmato@redhat.com Richard Achmatowicz
            rachmato@redhat.com Richard Achmatowicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: