Hello
Better to use the MVC 2 model of JSP. That is use JavaBeans/Servlets/JSPs
where, JavaBeans will act as MODEL, JSPs as VIEW, and Servlets as
CONTROLLER. With this we have implemented and it is working fine. Servlets
will use EJB to Populate the JavaBeans and pass it on to the JSPs. This
works fine, dont try to call EJBs from JSPs.
Thank you,
Regards.
Ganapur Srinivas.
Cognizant Technology Solutions India Ltd.
Ground Floor,
Deepak Complex,
National Games Road,
Opp.Pune Golf Course,
Yerwada.
Pune 411006.India.
Tel. :6691960.Extn-2277.
[EMAIL PROTECTED]
-----Original Message-----
From: Amit Tyagi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 15, 2000 1:01 PM
To: [EMAIL PROTECTED]
Subject: JSP-EJB problem.
Hi all,
We r using JSP-EJB platform. Application Server we r
using is Silver Stream 3.0. We have deployed JSP and
EJB to App. Server. But we r unable to make JavaBean
(used in JSP) talk to EJB.
We get correct initialContext and lookup is also
successfull. But when we try to type cast object
returned in the lookup to our home interface. it
generates class cast exception. What could be the
reason? Object returned is the stub of home interface.
Does Silverstream 3 supports Javabeans looking up for
EJB?
Thankx in advance
Bye
Amit Tyagi
reply to [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".