How to deploy a Web Service? - web-services

What are the steps necessary to deploy a Java based REST web service?
Like from code in the IDE to a network accessible service - I'm not asking for a detailed tutorial, just a general way on how to procede would be much appreciated, or simply some keywords of things that I should look into.
Thank you!

Related

process of deployment independent websites from SaaS Application

first of all I'm not sure how I can explain myself since I'm not native English speaker but please bear with me in the following scenario: I have a lot of customers where they need a simple blog website with their own domain name, instead of me registering on host service provider and deploying that blog website manually I'm looking for a better automated solution for example it would make a lot of sense if they use my own platform so after a successful registration/payment on my platform their website is deployed independently on private server instance (with their own specific config) ... Im not really looking for an answer on exactly how to implement that but what that process is called (the deployment part) or under what category should I dig to learn more. your advice is much appreciated.
There can be multiple approaches to solve the problem.
However, simple one will be using AWS SDK to create EC2 instances with Bitnami wordpress image.
You can trigger the API with parameters which will auto-install wordpress, configure dns and other stuff and provide the ready to use website within seconds.

How to see all valid URLs in Tomcat?

I am developing a web application with using Maven, IntelliJ, Jersey(Jax-RS) and it works on Tomcat server. I just wondered something, can we see a list of all valid URLs? I mean is there a command or something that we can write on command screen to see that? Regards,
Thanks to Stefan's comment above I found Swigger to document my web app. According to here, Swagger is:
What is Swagger?
The goal of Swaggerâ„¢ is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined via Swagger, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interfaces have done for lower-level programming, Swagger removes the guesswork in calling the service.
Hope it can help somebody.

How do I host a Django project on Google Cloud Platform?

Can anyone tell me how I can easily host my Django Project on Google Cloud Platform ?
Links to a detailed video guide are highly appreciated and Thanks in advance.
I find the documentation so convoluted, tedious, and non-user friendly and so need help to figure out the right way to host my Django based project.
The best way to deploy your Django project in the cloud is using a micro VM, or you can use google app engine but I don't have experience with that so I can't help you with that.
First create a VM instace if you don't know how you can read this then you can read this tutorial how to setup a Django tutorial in a Linux machine . Hope it helps
Google Cloud Platform has multiple product offerings, you need to decide on one which best fits your particular case.
IMHO you should start here to decide: Getting Started With Django

Standalone Instance, or Deployed War?

Why would you deploy a WAR onto a web server such as tomcat, as opposed to running it standalone?
Are there benefits as to deploying as a .war opposed to running the instance standalone?
I cant seem to find any reason why it's better to deploy a web app, then it is to run it stand alone.
Is war deployment just standard practice?
Does the size of user-base have anything to do with it?
Is it a per application basis?
Is it just admin preference?
The reason I am asking these questions is I have a webservice that I have the option to deploy my war file to tomcat, or to run it standalone. Is there a general practice on to why you would use one over the other? There seems to be little reason why, and more of just do.
I don't agree with the practice of "It's always been done this way..."
If anyone could shine some light on when to use one over the other, and why it's superior to do so, that would be appreciated.
Tomcat will take care of all the HTTP stuff for you. Things like HTTP request and response, sessions, and JSP. Maybe this will help - http://wiki.apache.org/tomcat/FAQ.
If you only have one web site on one server then there is no difference... you could make that whole site a PowerPoint presentation and email it.

Semantic Web Service repository

Does anybody know a good, public and large Web Services repository in which Web Services are semantically described (e.g., using OWL-S) that I could use in order to test some of my work?
Thanks!
I don't know of any large OWL-S repository, I dont think it has received much traction. I good resource might just be asking on the OWL-S API list; folks on there might know some services, or be hosting their own, that you could use.