org.bsf.smartValueObject.demo
Class SVODemoClient

java.lang.Object
  |
  +--TestCase
        |
        +--org.bsf.smartValueObject.demo.SVODemoClient

public class SVODemoClient
extends TestCase

Handles the client-server exchanges of the demo.

See Also:
Serialized Form

Field Summary
private static EJBDefinition SVO_SERVICE
           
private  SVODemoService svoService
           
private  SVODemoUser svoUser
           
 
Constructor Summary
SVODemoClient()
           
 
Method Summary
 org.bsf.smartValueObject.demo.CompanyVO getCompanyGraph()
          Retrieve the user company graph
 void modifyConcurrently()
          Used to simulate a concurrent modification on datas.
 java.lang.String storeCompanyGraph(java.lang.Object graph)
           
 void testBug()
           
 void testEverythingCleanOnBegin()
           
 void testSvoUser()
          Test method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SVO_SERVICE

private static final EJBDefinition SVO_SERVICE

svoService

private SVODemoService svoService

svoUser

private SVODemoUser svoUser
Constructor Detail

SVODemoClient

public SVODemoClient()
Method Detail

getCompanyGraph

public org.bsf.smartValueObject.demo.CompanyVO getCompanyGraph()
                                                        throws java.rmi.RemoteException
Retrieve the user company graph

Returns:
java.rmi.RemoteException

storeCompanyGraph

public java.lang.String storeCompanyGraph(java.lang.Object graph)
                                   throws java.rmi.RemoteException,
                                          ConcurrencyException
java.rmi.RemoteException
ConcurrencyException

modifyConcurrently

public void modifyConcurrently()
                        throws java.rmi.RemoteException
Used to simulate a concurrent modification on datas.

java.rmi.RemoteException

testSvoUser

public void testSvoUser()
                 throws java.lang.Exception
Test method

Throws:
java.lang.Exception

testBug

public void testBug()
             throws java.lang.Exception
java.lang.Exception

testEverythingCleanOnBegin

public void testEverythingCleanOnBegin()
                                throws java.lang.Exception
java.lang.Exception