aspose file tools*
The moose likes Web Services and the fly likes JSP access to web service sunctionality Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "JSP access to web service sunctionality" Watch "JSP access to web service sunctionality" New topic
Author

JSP access to web service sunctionality

Scott Wilson
Greenhorn

Joined: Jun 22, 2007
Posts: 8
Hello all and thanks for reading this post.

I am relatively new to web services and I have what may be a simple question.

I would like to access some functionality within a web service that I am going to expose. It is a simple set of document functionality (insert, delete, search, etc) and can be either used as a web service or included within my web application for use within the web container (Weblogic 9.2) with Axis 1.4. Currently, Axis is embedded within the application.

What I would like to know is if there is a way to deploy this functionality as a web service AND at the same time have access to the functions from within my application (using a JSP or whatever). I have been told that for performance reasons, it is not a good idea to just access the web service from within my application by using a web service client.

Do I just have to make sure that the jar file that contains the web service functionality is included within the war file (in the correct directory) for the web service?

Thanks for your response in advance.

Scott Wilson
scott.wilson@cubic.com
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
Welcome to JavaRanch.

The jar file that makes up the WS will end up in the WEB-INF/lib directory, along with all the other web app jar files. That means the classes can be used from elsewhere in the web app as well.


Ping & DNS - my free Android networking tools app
Scott Wilson
Greenhorn

Joined: Jun 22, 2007
Posts: 8
Thank you for your prompt response!

I was hoping that was the answer, but I just needed confirmation. I couldn't find that question/answer elsewhere.

Scott
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP access to web service sunctionality