return CayenneResources.getResources().getAccessStack(MULTI_TIER_ACCESS_STACK);
}
private CayenneContext createClientContext() {
ClientServerChannel serverChannel = new ClientServerChannel(getDomain());
LocalConnection connection = new LocalConnection(
serverChannel,
LocalConnection.HESSIAN_SERIALIZATION);
ClientChannel clientChannel = new ClientChannel(connection);
return new CayenneContext(clientChannel);
}