<strong>accesing entity beans through Servlets/JSP without a WAR file </strong>
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ashish_suvarna
Posted On:   Thursday, February 28, 2002 10:43 AM

Is it possible to access Entity Beans through Servlets or JSP without a War file. i have deployed a Jar file and accessing the Entity bean through Servlet.But getting a classcast exception - cannot narrow remote Object to Home... So was just wondering .. i am able to access my Stateless and Stateful through servlets and JSP . This Entity bean is giving problem.I am using SQL server 7.Do i have to mention the SQL Connection Pool name any where in XML. I have mentioned the DataSource name in XML. Please let me know.


Any help would definitely be appreciated.

Re: accesing entity beans through Servlets/JSP without a WAR file

Posted By:   AlessandroA_Garbagnati  
Posted On:   Friday, March 1, 2002 01:32 AM

Hi,

The short answer to your question is Yes.

A WAR file is just a JAR file containing a full web application, there are no differences between an "expanded" web application and a "war" web application.


Your problem seems to be different. It could be as simple as the classes not present in the classpath, but since you say that you can access to Session Beans, this seems odd.

About | Sitemap | Contact