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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

JBoss 4.2.3 class loading sequence

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi every body.
I have an application which contains same jar file's with different version... and those jar are my applicaition specific...

Like base.jar which is my applications model module jar files..
There are 3 version of it.

Like base-1.0.jar, which is the initial one,

base-2.0.jar which is later contains some files which are already there in base-1.0.jar but modified....

and last base-sp.jar which is appliaction specific jar file...

what i want to do is.... my war file contians base-sp.jar........ in web-inf/lib

this jar file should be ovverriden by base-2.0.jar and
base-2.0.jar should ovverride base-1.0.jar..

while loading the classes................

when application is running...... class loader should first look into base-spec.jar for the class if it is not found then should look into base-2.0.jar and it doesnt find it their then it should go to base-1.0.jar



Kindly any help me to achive this....

Thanks in Advance,
PhaniKiran.Gutha
 
Sheriff
Posts: 67756
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please do not post the same question more than once.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic