This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MDB, Spring, deployment related issue

 
Karthik Upadrasta
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an MDB. It has an ejbCreate() method. In this method, I have the following:



Now, where can I put this test.xml file ?

I must have this test.xml file as a seperate jar file because these beans keep changing. And we cannot deploy the whole application again whenever there is some change in the beans. Instead, we want to deploy it as a seperate Library jar file. Btw, weblogic 10.0 is our app server.

So I jar'ed the spring xml files, and deployed them as a seperate library.

How can I make my application work ? It has to make use of this library.



In the above image, I have XATestEar25.ear file. This is my application. Then, I have testspring.jar. This has my Spring xml files.

How can I make XATestEar25 use this testspring.jar file. I cannot include testspring.jar with XATestEar25 because the testspring.jar keeps changing often.
 
Karthik Upadrasta
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answering my own question again.

It can be done through weblogic-application.xml

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic