Mantis - Hessian
Viewing Issue Advanced Details
4097 minor always 06-30-10 17:25 06-30-10 17:25
ferg  
 
normal  
new  
open  
none    
none  
0004097: hessian sesson management
(rep by sweigersf)

and my client (which runs as a normal Java SE process using a SE bootstrapped CDI container like Weld or ResinContainer):

Code:

public class AppStart {

    @Produces
    @ApplicationScoped
    public RemoteInvocationHandler getRemoteInvocationHandler()
            throws Exception {
        HessianProxyFactory factory = new HessianProxyFactory();
        RemoteInvocationHandler remote = (RemoteInvocationHandler) factory
                .create(RemoteInvocationHandler.class,
                        "http://localhost:8080/alchemy-no-test-app-web/remoteInvocation"); [^]
        return remote;
    }
}

How can I enable the use of sessions from my SE application? I assume there must be some way to create and destroy a client session similar to what HttpClient does, but alas my knowledge of Hessian is a bit limited.
Edit/Delete Message

There are no notes attached to this issue.