wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Weblogic  problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic  problem" Watch "Weblogic  problem" New topic
Author

Weblogic problem

shail jcp
Greenhorn

Joined: Feb 03, 2001
Posts: 4
Has anybody tried javabean and jsp combination ?
I have placed the javabean in the server classes folder
the jndi naming code is in javabean.
The jsp instantiates the javabean , and javabean contacts EJB
Now when i call the jsp it gives error 500
about javax.naming.InitialContext
where as i am not using this
if i directly call eJB from jsp it works even when i import
this package
but with javabean it does not
why so
Any clues
sandy gupta
Ranch Hand

Joined: Jan 30, 2001
Posts: 228
Hi Shail,
There is a theory that i can give but there is no validation for the same. Here Goes : U see java beans are intra process components while as EJB's are Inter Process Components and in case u try to access JavaBean from a JSP page ( which is a WL Process component), the problem arises while as when u try to access the EJB there shud and is no problem.
HTH
Sahil
p.s:Names can be deceptive


Adios
 
Consider Paul's rocket mass heater.
 
subject: Weblogic problem