Saturday, March 10, 2012

Usage of Apache TomEE

Starting situation: we have some EJB's using Apache Cayenne and want to provide some web services or RESTful services hosted on an application server. Geronimo, Jonas et al are all quite complex and a more simpler server would benefit for small applications or development environments.

Approach: having used already OpenEJB with Apache Cayenne brought our attention to the new Apache TomEE. As we wanted to use as well Apache CXF in order to provide JAX-WS/RS services the usage of Apache TomEE Plus caused quite some issues with CXF. TomEE Plus has bundled CXF however using CXF from its original distribution is more desired. So switching back to the "Web Profile" and the using CXF out of the box brought the desired environment. Deploying of a war containing the EJB jar and all the rest had the right effect. EJB's were available like you would deploy them through an EAR directly to OpenEJB and the access was available as http://127.0.0.1:8080/openejb/ejb.

All in all this seams to be the right setup and runs easily on Unix and Windows. As of writing Apache TomEE was just released as 1.0 Beta 2. See yafra wiki for more information on setup and development.

2 comments:

  1. That could mean machines with individual signage quite than an indication hanging over a bank of clustered machines or table games or curved shows that make the player really feel like they’re enveloped in the game. Slotomania has an enormous variety of free slot games that you simply can} spin and enjoy! Whether you’re on the lookout for basic slots or video slots, they're all free to play. To 카지노 사이트 get going, all you need to|you must} do is choose which fun slot machine you need begin out|to begin} with and simply click begin out|to begin} half in} for free! You can choose from Vegas slots, conventional slots and many of|and a lot of} more, whenever you play House of Fun casino slot machine games. The days of hitting three cherries as machines jingle and jangle whereas spitting out a mountain of quarters are lengthy gone.

    ReplyDelete