Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic