Accesing external classes inside EJB methods
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jesus_Guerra
Posted On:   Thursday, September 27, 2001 07:14 AM

How can I to instantiate classes that don´t belong to a EJB jar from this EJB methods?
I've tried the "class.forname" and "loadclass" methods but it doesn´t work :-( .I get always the "ClassNotFound" exception.
Is this possible or should I take another programmatic way?

Thanks in advance.
Jesus

Re: Accesing external classes inside EJB methods

Posted By:   Tarun_kumar  
Posted On:   Thursday, September 27, 2001 08:19 PM

HI

First U have to be specific which App Server you are using ...In every Application Server there is one classpath through which EJB ClassLoader
and other classloaders ask for classes .

So u should put all these helper classes
in that classpath
About | Sitemap | Contact