Cargo

Functionality for adding ejb-refs to web applications

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 0.5
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

Cactus needs some new feature from the cargo deployment api to allow testing of local ejbs.
These are:

  • Parsing of ejb-jar.xml
  • Parsing of vendor descriptors to retrieve jndi name
  • Adding ejb-refs to web.xml
  • Adding ejb-refs to vendor descriptors

I have included a patch that does this. Supported appservers are WebLogic, Websphere and Oracle.
Do get everything working I have done some refactoring like for example:

  • Moved functionality to abstract base classes. For this purpose some new interfaces has been added.
  • Introduced vendor descriptors that the base descriptor holds references to. This allows users to write generic code which doesn´t bothers with app server specifics.
  • DTD parsing

There is still some refactoring left to be done, like:

  • Use new interface where appropriate, cleanup, rethink design
  • Use a more object oriented api for descriptor manipulating
  • Remove the DescriptorTag classes and use DTD parsing instead

Activity

Hide
Vincent Massol added a comment -

just started applying the patch (it'll take me some time - It's a big patch )

Show
Vincent Massol added a comment - just started applying the patch (it'll take me some time - It's a big patch )
Hide
Vincent Massol added a comment -

Applied, thanks!

Show
Vincent Massol added a comment - Applied, thanks!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: