Do it via Interfaces:
Make an interface that describes the methods of CorbaConnection
Call it CorbaInterface_A.
have CorbaConnection implement CorbaInterface_A
Next say:
CorbaInterface_A corbacon = con.get();
This is how true Object Oriented Programming Works.
Eric R. Dunstan
May 30, 2000
>From: Jyotsna Bharadwaj <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Inner Classes
>Date: Fri, 26 May 2000 05:17:53 GMT
>
>Hello All
>I am facing a problem while using inner classes.
>
>I get a "NoClassDefFoundError" error at run time, although everything
>compiles correctly.
>
>
>ConnectionPool con = new
>ConnectionPool("pr","pr","localhost","com_prog_ccrm",5);
>
>ConnectionPool$CorbaConnection corbacon = con.get();
>
>Can anybody help me out on this .
>
>thanks and regards
>
>Jyotsna
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>http://java.sun.com/products/jsp/faq.html
>http://www.esperanto.org.nz/jsp/jspfaq.html
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets