• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JCA and ActivationSpec

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am new at implementing a resource connector and was wondering what the best way is to have dynamic ActivationSpec properties.

The EIS that I am connecting to can possible move and/or login information can change. From what I have read the properties are normally either configured via annotations on an MDB that is associated with the JCA or in the ra.xml.

Both of these options will mean at the least repackaging of the rar/ear. Can the activation spec not be written to get the required information from a EJB call or from a db?

I think the EJB option is not going to work due to load sequence, is this correct?

Thanks in advance
 
Frans van Niekerk
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I am trying to do is have the MDB provide the properties required for the JCA to connect. That way the MDB can lookup the configuration information via normal EJBs.

Obviously, this is assuming:
* MDBs are automatically started.
* I can invoke the activateEndpoint when the MDB is pointed with a MessageEndPoint constructed from the method to invoke.

Has anybody done this before?
 
Your mother is a hamster and your father smells of tiny ads!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic