Using JSR-330 in SOA-P 5.3 (EAP 5.1.2)

Latest response

Hi,

I am developing an application that needs to use dependency injection as defined in JSR-330 and would run under SOA-P 5.3 - however, that comes with EAP 5.1.2 and JSR-330 is available only in EAP 6.

Is there any way to upgrade EAP version under SOA-P 5.3, or otherwise use JSR-330 without involving 3rd party libraries?

Thanks!

 

Nikola

Responses

Hi Nikola,

 

First, thank you for using SOA-P.  This is a really interesting question.

Probably your best option is to consider using SOA-P 6 when it emerges shortly in Alpha form.  SOA 6 will be based on SwitchYard and will integrate very well with CDI concepts and the new EAP 6 model.

 

Custom-fitting SOA-P 5.3 onto EAP 6 doesn't seem likely to succeed.  SOA-P involves a great number of artifacts that are blended into the application server infrastructure.  JBoss ESB is just a start.  You could try making such a brew yourself, but it would be unsupported and may break in unpredictable ways.

 

If the SOA 6 idea sounds good and you can't wait the short while 'till Alpha emerges, you could get your feet wet with SwitchYard on AS7.  (These come already packaged together.)  You can get a feel for the new programming model, and can use community means to help us improve the product where it doesn't yet fit your use cases.

 

Good luck!

 

Rick

Thanks, this makes sense regarding the roadmap.

My problem is that we are supposed to deliver the app in upcoming weeks, and it would supposedly go live some time in February - and I don't think SOA 6 will be production-ready until then. And one of the requirements is to have a supported platform to run on. We are using SOA-P exactly because of the ESB.

I was also looking at Weld as option to support CDI model - are there any known issues with using it under SOA-P? Is it mature enough to be used in production environment?

Thanks a lot!

N. 

Hello,

There are no known problems using Weld with SOA-P, but there are no known success stories either!  You might try it, but you'll need to be aware that you will not recieve support for any components that are broken by the introduction of the new components.

That said, if I were to start such an undertaking, I'd want to start with the latest SOA-P available.  (That's currently 5.3).  You can try that (it is based on EAP 5.1.2) using Weld installation instructions for JBoss 5 AS.  Again-- this will not be a supported effort, so you'd have to own any problems you might encounter.

Good luck.  Sorry timing is not good for you on this issue.  Hopefully, we'll have SOA-6 (with all it's JEE 6 improvements) ready for your next project.

Best Regards,

Rick

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.