I am working on dynamic web application for hosting on Internet. Since this is a java based application, so Tomcat server is required on hosting.
So, can anyone please tell me about Shared VPS server, for deployment of .war? And how to configure Tomcat on shared VPS?
Related
I created a full stack application (Angular front end, java spring boot back end, mysql database), and I was able to upload successfully both the angular files and mysql into BanaHost cPanel, however I have not found useful information on how to upload spring boot REST API, as a consequence only the front end is working. How can I deploy this REST API on cpanel?
Spring Boot Applications can't just upload and deploy if you're utilizing a cPanel Web hosting (shared) plan, like you deployed the Angular Application by uploading.
For spring boot you must do it yourself, a Virtual Private Server or Dedicated Server will unlock the site hosting restriction. If you are not much familiar with the Linux command line, you can use a Window VPS instead. Providers like, Digital Ocean, Linode, and Oracle Cloud all provide free trials.
And also, there are platforms, such as Heroku (Platform as a Service(PaSS)), where you can deploy your app without the need for a VPS. You can refer their documentation regarding this:
https://devcenter.heroku.com/articles/deploying-spring-boot-apps-to-heroku
I created spring boot api with gradle build. everything working fine in my local.
I deployed angular app in Sites/DefaultsTest in IIS web server. it run in https://example.app.com/app
SpringBoot API base path is '/api'
I want to deploy spring boot api in same windows server machine and should able to access through Angular App globally.
please guide me.
IIS WebServer Dashboard
As far as I know, the spring boot API is a java web application, we don't suggest you directly hosted the java web application in the IIS.
I suggest you could try to install a docker or using tomcat to host the application, then you could use IIS reverse proxy to redirect the request to that API to get the result.
More details about how host the spring boot application on the docker, you could refer to below article.
https://blog.codecentric.de/en/2017/04/ansible-docker-windows-containers-spring-boot/
More details about how to use IIS reverse proxy, you could refer to below article.
https://blogs.msdn.microsoft.com/friis/2016/08/25/setup-iis-with-url-rewrite-as-a-reverse-proxy-for-real-world-apps/
Do IBM WebSphere Application Server 7.0 have a web server plugin like in version 8.5? or in WAS7 we need IIS as a web server.
To add to what Gas has pointed out, if you intend to use a web server in front of your WebSphere Application Server (WAS) deployment, installing the WAS HTTP Plugin on the web server is a requirement.
All versions of WAS have this requirement and offer a plugin for the following web servers:
IBM HTTP Server (IHS)
Apache HTTP Server
Domino Web server
Internet Information Services (IIS)
Sun Java Web server
The plugin itself is available on the "Supplements" image for which ever WAS bundle you're licensed for. The following document provides the appropriate WAS v7 part numbers for each OS:
Download WebSphere Application Server Version 7.0 for Windows operating systems
The "Supplements" image is Download 3 in the list, and is a two part download.
Also, here is the Plugin install parent doc from the WAS v7 Knowledge Center:
Installing Web server plug-ins
Yes, every WAS version has Plugin for most major web servers (IHS, Apache, IIS). You need to download separate package, known as Supplements. There you will find WebSphere Plugins.
We have created spring application, this is running in tomcat and resources(css, images and js) are coming from apache. We are trying to enable ssl but we are not able to get resources from apache. In console getting exception like resources could not be loaded. Can any one please help me.
You should probably use Apache as a reverse proxy to tomcat. This way, everything will go through Apache. Resources will be served directly, and requests to the appication will be proxied to your tomcat server:
http://httpd.apache.org/docs/current/mod/mod_proxy.html
I'm looking for the service that can use Spring Web Framework
Of course I could set up apache web server and tomcat.
However, I'm a new user of amazon web service.
is it available to set up a server with Spring Web Framework on Amazon web service?
What kind of services can be used ? ec2? s3?
S3 is a service for storage of static content only, so you would need EC2 for that. You can provision an Ec2 instance (virtual private server) and set up your own tomcat and libraries (such as spring). Another way to go would be to use Elastic Beanstalk, that would automate the process of creating the infrastructure and you would only need to deploy your .war file.
A good resource to understand the services before starting would be the instructional videos and self paced labs you can find at http://aws.amazon.com/training/intro_series/