Not going to have time to work on this before I split for vacation, but our Hello World (http://openejb.apache.org/hello-world.html) page is getting some hits (according to google analytics) and it's a non- functional example.

The deploy flags are wrong (it's referring to 0.9.2). That whole warning about us writing to your jar file is wrong, we don't do that anymore.

The client code in the "A basic client application" is wrong. It shouldn't use the security parameters with bogus information, the user and pass should just be cut out. Package names should be updated to org.apache.openejb. Provider url should be "ejbd:// 127.0.0.1:4201". For the example that uses LocalInitialContextFactory, you don't need to specify the openejb.home anymore. The JNDI name is also incorrect, it would be "HelloRemoteHome".

The warning about needing sun's jndi library needs to go.

The RunIt.sh scripts point to jdk1.3, we require 1.5 or higher. They add dist/ and beans/ directories to the classpath, we don't have those anymore (apps/ replaces beans/). We don't need the tools.jar in the classpath anymore.

The references to the log say "c:\openejb\openejb.log" without the required logs/ directory. The text "begin with ** , ** , or **" should actually say "WARN, ERROR, FATAL" instead of just have stars.

Optionally, you can forget the micro updates and just write a new Hello World that uses EJB 3 :) Up to you.

Any volunteers?

-David




Reply via email to