Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb

 
Javawala
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this thread to the Servlets forum. Please continue this discussion there. Thank you
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by communicate ? Could you please explain more
Where is the java class?
 
Ken Robinson
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic