tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joe <>
Subject Re: testing for running OpenEJB server
Date Tue, 22 Feb 2011 08:25:57 GMT

> If you are running it on a linux box, check this link.

Hm i am looking for ease of use and in a more platform independet way.
I hoped for a feature directly supported by the container.

Currently i am thinking of writing two Java methods:

boolean isContainerRunning()

1. connect to ejbd port
2. if succesful: return true, otherwise false

boolean areEJBsInvocable()

1. invoke EJB method
2. if result is as expected return true, otherwise false

Would this be a reasonable approach?

View raw message