I dont know whether this is the right forum to post the question or not.   

My question is :
Can I write a custom class loader in JBoss App server ? My basic requirement is 
to write a custom application loader with will first load some jar files from 
some remote machine and then will be loading the application.  This jar files 
should not be made visible by any other application deployed in the JBoss 
server.  The class loader should also be a component of the application itself.

Say for example : The application name is "App1".

Ideal scenario
----------------
1) JBoss boots up
2) It tracks all the applications
3) Reads some conf (or xml file) to trace the class loader name from App1
4) Adds the class loader to the Loader Repo
5) When JBoss feels it should load the applications i.e application loading 
step comes, it should detect that there is a custom loader associated to the 
application App1 and transfers control to it.The loader will load accordingly.

I really have no idea how this can be achieved. But if app servers provides 
extension to there class loader repo then each application can have their 
custom loaders if needed.

Any suggestion would be highly appreciated. 

suggestion can also be fwd to : [EMAIL PROTECTED]

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867213#3867213

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867213


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to