Connecting Perl to EJBs


As I mentioned on Saturday, I was paying with Axis, the Apache SOAP engine, and found (via Google, naturally) a good little tutorial.  Part III of the tutorial shows how to get Axis working with jBOSS (a good open source J2EE application server).   I didn't go through the whole tutorial (which shows how to use a Struts like tool to create a connection to the EJB once its had a SOAP interface exposed.  Rather, I deployed my class's gateway simulation bean as a SOAP service (took all of 5 minutes).  Then, I fired up SOAP::Lite and wrote a little Perl script to hit the gateway and do an authorization (another 5 minutes).  All in all, pretty slick---in about 10-15 minutes, I had a Perl interface to my EJB.