Hi,
Yes I'm working currentlty on it refactoring to make it simpler
etc..., also I'm working in a improved documentation. I hope this will
ready soon along with the 0.1.3- Release.
In the meantime, to execute the case study:
I suppose you'd already imported the projects into eclipse.
1) Execute the invoicing-server, using a main class or a test. You
only need to start a jEmbeddedContainer that imports the
InvoicingWebServer.class:
@
@Include(resources = {InvoicingWebServer.class})
public class InvoicingServerIntegrationTest {
private RepositoryHandler handler = null;
@Before
public void init() {
handler = RepositoryHandlerFactory.getInstance(
RepositoryProvider.SIMPLE, getClass());
handler.start();
}
@After
public void dispose() {
handler.dispose();
handler = null;
}
@Test
public void test() {
while(true);
}
}
Once it has started it's ready to receive the petitions from the hub-
server.
2) Repeat Step 1, but whith the HubServer.class.
After it has started it will start to create petitions against the
invoicing-server, storing the created invoices in the invoicing-server/
generated-invoices directory.
Take care
Adolfo