host java website in Windows machine [closed] - java

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Anybody knows why godaddy.com cannot host Java based website in Windows machine? Is there any technical difficulty to do so?
EDIT:
this link has answer and solution: http://www.oreillynet.com/onjava/blog/2006/09/why_is_javaenabled_hosting_so_1.html

To host a Java-based website (I guess you mean JSP or similar), then you need a Java application server, e.g. Apache Tomcat.
There is no technical reason why a Java application server cannot run on Windows. There are commercial reasons why web hosting providers generally do not offer, or charge more for, Java hosting versus more "standard" configurations based on Apache httpd or Windows IIS.

Is your hosting option from GoDaddy for a Linux based host or a full Linux virtual machine?
The problem is likely that you have a Linux based host where you have your own chroot to isolate your files and data from other customers and your pages are served with their webserver.
What you would need to find is a hosting plan which includes a Java server, like Glassfish or Websphere. You could also find a host where you get an entire Linux virtual machine that you can install your own software on and run your own webserver.

Can you please identify what the problem is? You are asking why Godaddy.com does not offer Java web application hosting on Windows. This is a strategic decision by Godaddy.com, there is no technical reason behind it. Your question is like asking why Ford does not offer pink as a stock color on their cars.
If you are looking for an alternative hosting provider who offers Java web application hosting, you should ask a new question stating exactly that.

Related

Moving application to the cloud, Tomcat, Java, MySQL - Azure/AWS options LAMP or services? [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 2 years ago.
Improve this question
I need to bring over a system from locally hosted to cloud services. Right now the system runs on Tomcat 6, MySQL 5.1 and JDK 8.xx running on Windows Server 2012
What is the best approach to move this forward - right now it is running on Windows Server, for licensing costs, etc it seems cheaper to move to Linux as the OS and spin up a LAMP server or use AWS or Azure services for a serverless solution if I understand things correctly. I understand there are also solutions like Bitnami with pre-built environments.
This is far from my area of expertise so I'm looking for advice on the current preferred solutions for this kind of setup. Not married to Azure, AWS, any particular solution. Wondering what needs to happen code wise too so we can take the necessary steps to move to new infrastructure.
Any advice, pitfalls, solutions would be welcome just to find some direction. Sorry if this seems vague can offer up more info as needed.
One good solution is to move towards containerized solution. Both Azure and AWS offer managed Kubernetes service. Moving to container based solution will also have added benefit in your case that you can build your own container even with older versions of your existing apps or pick base image from the plethora of public images (e.g. for Tomcat https://hub.docker.com/_/tomcat). So it will be quicker migration with lift and shift approach.
For more details about container service offering in Azure, refer https://learn.microsoft.com/en-us/azure/containers/

alternative methods of hosting a java socket [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
In recent discussions on stackoverflow I have discovered that many/most web hosts dont allow java servers to be uploaded as they open ports and create a vulnerability in their system. Without paying extra for a java web host, how is possible to by pass this issue? Can php be used to somehow wrap the java programmed socket, or even write the socket itself in php? This is one method I have heard, but surely the host would look at this no differently than a java written socket- a security threat?
Whilst i'm on topic, how is it that paying more for a java webhost all of a sudden makes their system less vulnerable? Is this just a con to extort a little more by allowing ports to be open if your willing to pay for it, or is their something that i'm misunderstanding?
Thanks
Host it using a dedicated or VPS(virtual private server) below are 2 of my personal cloud/vps providers that i use. You can look around for more but yeah shared hosting in my opinion is for entry thing or when you don't want to have to worry about the underlying platform. If you have a understanding of linux and managing your own servers then i would go for vps all the way.
http://aws.amazon.com/ and https://www.digitalocean.com/
With regards to the PHP part of the question as I stated in my comment if you have ssh access you can run your PHP script php myscript.php though i am not to sure how you would wrap your java service.

How to setup java environment in digitalocean? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I want to set up java/jsp environment in digitalocean VPS. I need help with that. I found help in digitalocean community but I want to know that which os is best for jsp and tomcat? And also the version of OS. I saw that tomcat is accessible at port 8080 so is there any option that i can access my site at port 80 or something like domain.com/index.jsp instead of domain.com:8080/indes.jsp?
I am still learning java and jsp so for that I need help to set up.
Tomcat can run on almost any OS, so choose one you are experienced and comfortable with. There's been a tendency to go with CentOS for server deployment, but as far as I'm aware no strong justification for choosing this over Ubuntu. Use whichever version is the most recent released version - for Ubuntu that's 14.04. DigitalOcean provide a variety of images and they're likely to be up to date and well supported.
Tomcat can be setup to run on any port you want, including 80. There are loads of guides to this, here's one that looks comprehensive: http://java-notes.com/index.php/installing-tomcat-with-http-port-80-on-linux

which technologies shall I use to offer an out-of-box server installation [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to build a client-server architecture software, and I want the server component can be easily installed by average people on their Windows or Mac OS X operating systems.
The server-side:
1. contains a self-running web server
2. hosts a web-based administrator site to manage business data and master data
3. provides API endpoints (in JSON) over WIFI
4. has sqlite 3 or MySQL database to hold business data
5. the data volume is low, the
The client-side are mobile applications which talk with server via API endpoints over WIFI.
I started thinking about Java, as JVM is installed on almost every computer, but what about the web-server and database? In a sense, as I use MAMP on my Mac a lot, I like the approach of this nice product, easy install, one click to launch all services.
Can anyone point me a possible direction?
You have suggested MySQL. That sounds fine to me.
I would suggest Tomcat as a pretty widely used web-server.

Deploying a project on a server [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 8 years ago.
Improve this question
I developed a website using netbeans 6.9.1 and glassfish and now i have to install it on a real server. What are the steps i should take to make this working ?
1.) Install the exact version of MySQL i was working on my machine
2.) Install Glass fish (I think i did something after logging into
Glassfish admin portal, but i am not sure what i did)
Can someone brief me up with what i have to do ?
You must take care of several things:
correct / supported OS (MySQL, Glassfish, JDK) and hosting environment (physical, virtual, cloud, etc.)
JDK version / vendor
storage requirements
Glassfish installation, installation guide is here
MySQL installation, if I remember correctly it's packaged with the product
Configure all components for production (e.g. JVM heap size, OS configuration)
If required set up appropriate monitoring tools (servers up, storage allocations, etc.)
Verify whether you can get a least 2 (e.g. virtual) servers (production, staging/test)
You should create proper installation guides and operational manuals, this depends on your environment. This can become a complex task...
Edit: Depending on your non-functional requirements you may want to have the DB on a separate server and build an application server cluster. As #Vineet mentioned you should look for professional help if it's a large environment.

Categories

Resources