This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Servlets and the fly likes ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "ejb" Watch "ejb" New topic
Author

ejb

Javawala
Greenhorn

Joined: Feb 15, 2003
Posts: 14
Dear sir,
i have servlet client in the WEBContainer of oracle9iAS.
this servlet has to communicate to a java class outside the container.
is possible.if possible hoe to do that.
thanks in advance.
Regards,
SureshKumar.V
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
I'm moving this thread to the Servlets forum. Please continue this discussion there. Thank you


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

What do you mean by communicate ? Could you please explain more
Where is the java class?


Groovy
Ken Robinson
Ranch Hand

Joined: Dec 23, 2003
Posts: 101
The ONLY way a servlet can use a class is if it is in the available classpath, which is usually the classes in the web container's classpath and those in WEB-INF/lib and WEB-INF/classes.
If you want to make a remote call (EJB, RMI), any client classes (stubs) must be in one of the locations listed above.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17276
    
    6

"OCPSuresh"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
here.
Thanks! and welcome to the JavaRanch!
Mark


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ejb
 
It's not a secret anymore!