How to document Java Web service API [closed] - java

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I have a Java web service and want to document the public API so the documentation is able to be browsed from the web from the same URL as the web service. How is this usually done?

There is wsdldocumentation tag:
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Your Documentation</wsdl:documentation>

There is no standard way of doing so. The WSDL is not humanly readable, and the page listing - if any - the possible WSDL's is automatically generated.
You will need to investigate how the web service layer you have chosen, do it, and see if there is any way to "hook into" that mechanism.

You can also use a documentation tool like iDocIt! to add documentation to the WSDL. It is an Open Source Eclipse Plugin for documenting APIs. http://code.google.com/p/idocit

Related

what is exact relation among spring , java servlet and tomcat in mapping url to a resource? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am working on a dynamic web project in java with spring framework running on a tomcat.
in details which one is responsible for url mapping ? and what is role of each of them in this scenario?
If you are very new to J2EE than I would like to suggest first go through JSP and Servlet then you will be able to understand how servlet mapping work, what is web container and all.after getting idea about these thing it would be easy for you to deal with spring, as of now answer to your questions is seems to be broad category.

new to android - what technology should be used to access web service? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
there seems to be many ways to access a REST web service. but different documentation out there states they all have problems and now i am confused what to use.
Here are our options:
HTTPClient - from apache, but deprecated. However Apache does provide some alternative
HttpURLConnection - has bugs in it.
AndroidHttpClient - includes the workaround for a major bug in HttpURLConnection
I really don’t know which one to use from the list above. Is there one which I am missing that I should be using
to access a REST web service ?
Ideally, to access a REST Web service, you use a higher-level library, like Retrofit, that handles more of the work for you.
Otherwise, Google's official recommendation is to use HttpURLConnection.

Should I go for dedicated server to host an EJB application? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm building an application that invokes a (JAVA)web service implemented in JBOSS.
I plan to host the web service as soon as I finish building it.
My question is: Should I go for a dedicated server to host it? Or go for a VPS?
I read about this two hosting possibilities but did not find a clear answer for my case.
Thank you.
I am hosting a web service on a dedicated server with Rackspace. It works well, and I can always add their hybrid solution in the future if I want.
I went with their dedicated server, because I have full control. Their support team is awesome and their machines are pretty good.

Recommend a JSON-RPC library for java and javascript [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I'm looking around for a good solution for JSON-RPC either in JAVA and Javascript (both sides, but I don't mean it has to be the same project!).
Post your hints. I'd like a mainstream project with lot of examples around.
I've tried jsonrpc4j but I can't get it working with spring...
Wikipedia have list of JSON-RPC libraries in various languages.
You can use spring-json view to transfer data from client to server using JSON.
spring-json view
on the official website you will find a list of JSON-RPC libraries/Clients for all languages including java and javascript
http://json-rpc.org/wiki/implementations

What is the best approach for integrating Lotus Notes applications? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I'm investigating how we can interface a Java application with a Lotus Notes application.
The Lotus Notes application is actually a workflow app.
We need to retrieve information such as:
Give me all documents which have this state.
Give me the content of notes document xyz.
We need to be able to modify information:
Modify field reporter of document 'xyz' into 'abc'
We need to be able to look at least at logging so that we have at least some trace when we develop our application.
Setup a web service in Notes using Domino Designer and call it from Java.
The web service can then pass the data from Notes to Java in XML.
Hosting web services has been part of Domino designer since R7.

Categories

Resources