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 9 years ago.
Improve this question
I have a simple web application based on Java and javascript. I have only used it in Windows OS.
Is it possible to run the server on a unix machine? And access it from other machines?
What server does unix support?
If it is possible, what steps would be involved in doing so?
Current environment:
Application Server: Apache tomcat
Java Version :JDK 1.6.
OS: Windows XP
I have no idea about UNIX machines and have not used one before. I am assuming JDK can be installed on the UNIX server. And change of application server should not be an issue.
Java Platform Independent feature comes in.
It will run, only thing is your code should not have things specific to OS, like using File path separator like "/" instead use File.separator.
Also, you will need JVM specific to OS ie unix variant.
And access it from other machines?
Yes, Application deployed on server is accessible from any place in UNIX as well.
What server does unix support?
You can use Tomcat to test (Others based on your need).
what steps would be involved in doing so?
Same as what you did in Windows what you did.
Related
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 new to this web application thing and I have just started creating a web application using JSP for my implant training but I am very much tangled with these questions in my head.
Do the computers in the client side need java installed for utilizing my web application because I am using JSP ?
How will the computers access my web application after I host it in the server?
What is the procedure to host the application in the server.
I am developing my web application in Netbeans IDE and the server is Tomcat but everything is in my personal computer, very soon I will have to deploy it in actual server and how should I make my web application a stand alone application ( To work without NetBeans IDE ).
No, client only need a web browser.
Client can call your server IP address (http://192.168.1.10/app) or call its domain if you have setup your domain (http://yourdomain.com/app)
You can run your application on any computer (Linux, Windows, Mac, Solaris, BSD, etc.) capable of running Java SE (Standard Edition). Tomcat runs on top of Java SE.
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 7 years ago.
Improve this question
I am working on a database driven application in netbeans 8.1, and I am using wampserver for mysql. I would like to know how I could deploy(.exe) this application to a window XP machine. I have checked quite a few tutorials but all of them show me how to do it with a non database application.
Please let me know any tutorials or anything of that sort.
You need to install a MySQL server on the XP, which is compatible with the given OS. From here you can see that version 5.5 is compatible with Windows XP. You need to connect to the given database server using your application. So, the ingredients:
install MySQL Server 5.5 on your Windows XP
export the database from your MySQL you are using with WAMP
import the database to the newly installed MySQL Server 5.5 on your Windows XP
make sure that your application connects to the MySQL server
Potential problem: You might experience problems if you used a newer version of MySQL server in your wamp. These are version-problems and you need to make your database and the application backwards compatible with MySQL Server 5.5.
Or, on the other hand: you might decide to use a newer operating system.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i am creating an android application which has got two parts a client part and a server part. So the client will be asking the serveer for a particular data and server need to give it back to the client. My question is how i can run this server program (jar file ) in a web server. I have tested it locally using eclipse but i need to know how i can put this into a web server and run it there. So that the client can use a data connection and connect to the server program and get back the respose from there Sorry for the inconvenience caused and a thank you in advance
From the way you describe your server it sounds like a simple .jar file that you built. If this is the case, you can simply deploy the jar on any compatible computer (or webserver) that you have shell access to.
Build runnable jar in eclipse
Place the jar file on some server
Make sure the server has java installed (same java you used to build your runnable jar)
Run the jar using java -jar path_to_jar.jar
To answer your question, you can run this in the background of a server running other services as long as you pick a port that isn't already in use. Make sure you enable port forwarding on your router/firewall (if you have one) if you want to access the service externally.
You will require Tomcat server for running Java ,jsp
To start with hosting this link might help you.
How to host a JSP website on a webserver?
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 have made a client application for LDAP Server(especially for Microsoft AD) in java where my client application will fetch attributes(it'll be shown) on the basis of the Entry/Base DN,Scope of Search.I have made this application in netscape and in my local system(Windows 7).
Now my plan for testing this application:
First,I have installed VMware-Workstation(8.0.0 build-471780),then I'll installed Windows Server(2003 or 2008) iso image through VMware.
Next(will it be possible) to apply Microsoft AD services through this Windows Server version.
I don't want to install server edition in some other system for testing.Feel free to suggest/comment about this process or correct me if I'm wrong to my approach-give inputs for the best approach for testing.
Sure, the Windows server (and AD) doesn't mind where it's running, as long as you have sufficient resources. Install the server in VMware and then configure the AD.
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 8 years ago.
Improve this question
It appears that we will have to build/deploy one of our new JBoss apps on Windows.
All our current deployments are on Solaris so we were slightly concerned with the stability of this model. Apparently half of JBoss deployments are on Windows if this article is accurate. But I was wondering what the community had to say.. Is Windows considered a solid platform to deploy JBoss on?
Should be fine. The JBoss folks have paid careful attention to how their software behaves on Windows, even working with Microsoft on it. Make sure you look at the up to date recommendations for running JBoss on Windows. There are multiple ways to set it up and some are no longer recommended. If you just google it, you'll likely find instructions for the outdated setup.
For development I run JBoss on a Windows platform and it runs without any problems.
One pitfall I tapped in was the different sorting behaviour of the file systems. I had two jar files that happened to contain different versions of the same class. On a Linux system one jar was loaded first, on Windows the other, resulting in strange errors. But of course, you should never have two versions of the same class at one time, so this happens only in a badly configured system.
JBoss AS is tested for server editions of Windows - 2003, 2008 etc.
Also, some JBoss AS developers develop on Windows, some on Macs.
See the list of tested JBoss EAP configurations.
Yes, JBoss AS should run well on Windows.