Connecting to engine API via EJB3 and "bonita home" property

My issue is setting up the properties files needed by the client JAR to make the connection. The documentation says “Update the bonita-client.properties file configured in the ${bonita.home}/client/conf folder for the bonita client to connect to the server with the appropriate API type.” I did not create a bonita home directory because I want to use programmatic configuration. What’s more, that very page itself says that the “bonita home client” is deprecated. It also doesn’t mention a bonita-client.properties file, but rather a bonita-client-custom.properties. Are they the same thing?

Does the bonita-client JAR really need a bonita.home directory to configure an EJB3 connection, or can it be done programatically?

Thanks.

PS: That specific page has some organizational issues. Most of the content under “Server configuration” > “Server configuration to accept EJB3 connection” concerns configuring the client and not the server.

I think I may have figured out how to set the properties programatically from the JavaDoc. The documentation is just a bit confusing since it seems to be written assuming bonita.home is being used. Oh well.