Deploying database driven application using wamp server [closed] - java

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.

Related

Simplest Distribution Method for Java Front-end Database Application? [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 10 months ago.
Improve this question
I would like to create a front-end application in Java to query a Microsoft SQL database. This application will need to be distributed to around 20 computers and must be extremely user friendly. I'm hoping someone can explain two things:
The simplest way to distribute this application across multiple windows machines. I.e.least amount of software installation and maintenance.
Explain how once distributed, the application might be able to connect to the database upon launch, as opposed to authenticating a user each time.
So far I plan to use Java, JavaFX, & Microsoft JDBC driver. Open to new ideas though, cheers in advance.
For distribution, I can think of a couple of choices:
IF you are sure that each of you 20 computers has a JVM installed, you could package the app as a "FatJar", a single Jar file with all of the dependencies in it. There are plugins for this in both Maven and Gradle.
If you don't have a JVM on these computers, and don't want to have to install one, you could create a native application using GraalVM and Gluon.
Take a look at https://gluonhq.com/create-native-javafx-applications-using-graalvm-22-builds-from-gluon
If you want to connect to the database without user intervention, see sql server login credential for jdbc

How a Web Application works? [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 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.

Small java application with local database? Which database to use? [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 7 years ago.
Improve this question
I want to create a small java application which allows to connect to a database and exchange information.
It should be possible to start the DB via Java, so I don't need anything but my application to work with the DB. (Not like XAMPP where I need the XAMPP menu to start the DB server for example)
What DB should I use for such a project?
The JDK comes bundled with Java DB which is a fully functional RDBMS that is suited for small scale apps and small scale databases.
Why dont you try H2 DB, its pretty light weight and suited for small applications. If you want to move the same application at a later stage to any RDBMS, you can take mysql.
If you just want to experiment with your small application use Java DB (Previously known as Derby). If you are using JDK 7 then it comes bundled with the JDK. For older versions of JDK you have to download the Derby database from
https://db.apache.org/derby/derby_downloads.html

Running a web application on UNIX [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 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.

Using Windows-Server(2003/2008) in VMware for testing LDAP application in Java [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 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.

Categories