How to share common CMP beans across multiple web applications?

In the current environment, we have 2 web based applications consistings of 2 ear files. Each EAR

file consists of WAR, EJB jar and common files.

There are few CMP beans which are common across the 2 applications. Can we create a

seperate JAR file consisting of CMP beans and deploy it outside the EAR and access

the bean using the bussinservicefacadebean which is part of the EJB module in the EAR file?

[437 byte] By [hemanthna] at [2007-11-27 3:02:01]
# 1
Hello,I don't see any problem with that.The best is to try :DRegards,Sebastien Degardin
sdegardina at 2007-7-12 3:44:29 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Thanks for the reply. I will implement the same. I just had one doubt, will I run into any classloader issue since the CMP beans will be loaded by a different classloader. Also on the Enterprise application, I have set classloader mode to PARENT_LAST since I had to load the Log4j properties file in Websphere.

Regards,

Hemanth N

hemanthna at 2007-7-12 3:44:29 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...