Run desktop game on web [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 9 years ago.
Improve this question
I have made games in jar format using processing.org, Netbeans and Eclipse! These are desktop based games I want to run these games on online servers (web) without altering the code. This game also have embedded sounds and graphics in its folder. Please help me out I am new to web app development?

You can't just take a desktop application and put it somewhere and make it work in a webbrowser and multiuser magically.
You need to change code if you want your desktop application to become a webapplication.
It's a completely different development process.

For deploying Java desktop apps., the best option is usually to install the app. direct from a link using Java Web Start. JWS works on Windows, OS X & *nix.

Related

Windows Hello API [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 5 years ago.
Improve this question
I would like to use Windows Hello Face and Fingerprint API in my web application.
The websites I found show C# coding but my web application is developed in Java.
How do I integrate Windows Hello Face and Fingerprint API in my Java web application?
I also wonder, but I have find out, that Windows Hello is based on Intel solution Real Sense https://github.com/IntelRealSense/librealsense also for Linux. I dont see, that they have Java API, but I would say, that java native wrapper can be created for library. There is also documentation https://software.intel.com/sites/products/realsense/person/developer_guide.html#3.2.3_Person_Recognition. I have not tried it yet, but I think, it can be good point of start.
this also may help us to get stuff working https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk

Java web application build procedure beginner using LAMP [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 5 years ago.
Improve this question
I need to learn java programming, I have a LAMP server running and i need to build a webapplication(dynamic website). I have planned to use HTML, CSS, JS and Java for server side scripting instead of PHP using eclipse IDE.
My question is does the above thing work out and also if i want to deploy the files do i need to send the files to /var/www/html/ or any other method of deployment is there ?
Your question is weird, but yes, you can make a application with Java for the server side, read about JSP. And the files folder depends on the local server you're using , though most of the time for unix thats the right folder.
Good luck , I think you research a lot.
Edit: I was about to edit this for the LAMP definition, LAMP stands for Linux, Apache, MySQL and PHP... So you're not technically using that..

Java client-server 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 7 years ago.
Improve this question
I am creating a Java based application (a very tiny one) that downloads web-pages based on the URL that the user inputs.Now,the application does so, but shows only the source (HTML/JavaScript). How do I display the web-pages directly?
Short answer: render it.
Long answer: you need a web engine (HTML/JS/CSS parser + renderer on a canvas). This includes but not limited to Qt webkit, Chrome Embedded Framework, Gecko. There could be existing pure Java solution as well, but I don't know.
Alternative solution is to open it with a web browser by giving path to the downloaded web pages.
You can save the downloaded web pages and open it through any browser, if you want it to be programmatically, then you have to re-host the content locally on web server and then you could use selenium to open the webpage on any given browser.

How can I Make Single Application for web and desktop in JAVA [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 8 years ago.
Improve this question
I need to make a cross platform application than can run on MAC, Windows, Linux and also on web. Can JAVA be used for this? If yes then what type of JAVA project and what architecture should I use? And also need to implement MVC.
My Application will store data on local pc and will also have same interface on web. And both platforms will keep in sync!
Your choices are somewhat as follows.
Create a remote server
Create a Swing desktop client
Use the Swing client through Web Start or create a separate web
client on the remote server (with any frameworks of your choice).
Obviously the choice without a separate web client is simpler, but it also means that all "web" users must have Java installed and Web Start must be allowed.
Yes java is best fit for this....about project type first of all decide the frameworks you are going to use.

Hosting Java Code On a Website (No 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 9 years ago.
Improve this question
recently I have been making easy games such as 'blackjack' , quizzes, etc. How do I host these games online so others can play? Keep in mind these games do not use an application. Thank you
If your application is Swing/AWT based - and if you implement the game as a Component or JComponent - you can then, with minimal changes, make it run as both a Swing/AWT (i.e. desktop) application or as an Applet (embedded in a web page). You can make both run from the same .jar file, if you set it up right, and that file can also contain you resources (images, sounds). (It doesn't have too - but they you may need to load these resource in a somewhat different way, depending whether you are running as an application or applet.)
For the desktop, place you game component into a JFrame and display this (with appropriate sizing, etc).
For the web, place the component into an Applet. You will need a bunch of configuration and an HTML page with the applet in it. But once you have this you can host you game on any ordinary ISP site.
This may be a bit out of date, but: http://docs.oracle.com/javase/tutorial/deployment/applet/
I would suggest looking into Ruby on Rails for back end develoment: http://rubyonrails.org/
and Javascript for front end development: http://www.w3schools.com/js/
http://www.codecademy.com/ also has great lesson plans for building online games.

Categories

Resources