run Swing Applications (jar) from host server to remote machine - java

I would like to ask how to run Swing Applications from host server to a remote machine.. for example..
I have a server which has a jar file build as swing application in linux and a web page that will run the jar file..
and remote machines will just type the URL for them to load the webpage and emulate/run the jar and display the swing application to the remote machine from the server.. How can I do this?

Webswing runs java swing applications on server machine and show GUI to user in browser and it is free. I tested it with our application and it is quite good and done its job.
From webswing site :
What is Webswing ?
Webswing is a web server that allows to run any
swing application inside your web browser using only pure HTML5.
You can download from here.

Related

Run polymer js application on localhost using any Java server (not python or any other related )

I have watched some videos regarding set up of polymer js application. In some, they say start SimpleHTTPServer and deploy your app, but this server is a module of python, I don't want to install it.
So I want to run this application using some Java related server.
I have used Apache Tomcat (although any Java web server would work). Create a simple static web application (Eclipse creates a template for a new web project) and add your polymer files to it. Deploy to Tomcat and point your browser to http://localhost:8080 (or whichever ip:port you have configured)
While in active development use Eclipse to deploy and sync web application to Tomcat. Refer to Eclipse documentation for that.
For production deployment, first use polymer-cli to create a bundled package and then deploy the contents of the bundled (or unbundled) package as a web application.

Launch Java Application on Server using Eclipse

I have to maintain and made some changes to an old java application.
It is a web application but the developers made it as simple java application not dynamic java web project.
Now, i am able to launch the application if i make a zipped file and deploy it in Tomcat Server.
But i want to launch appliocation from eclipse as I want to debug the application.
I am able to launch server from eclipse but when i open the aplication URL it shows:
localhost refused to connect.
ERR_CONNECTION_REFUSED
I am making following changes in my Run Configurations>Arguments:
Program Arguments:
start
VM Arguments:
Dcatalina.base="C:\Users\Sneezy\c\apache-tomcat-8.0.32"
Dcatalina.home="C:\Users\Sneezy\c\apache-tomcat-8.0.32"
Dwtp.deploy="C:\Users\Sneezy\c\apache-tomcat-8.0.32\wtpwebapps"
Djava.endorsed.dirs="C:\Users\Sneezy\c\apache-tomcat-8.0.32\endorsed"
I cannot the project faucets to dynamic web application as it introduces lots of errors in my application.
Are there are more changes i have to make?

Deploying Java Web Application in Eclipse

I've created a Java application in Eclipse that displays an ArcGIS map and needs to execute Python and some other external software like PowerWorld on my computer. I have purchased a domain name and intend to run it on my own server connected to the internet 24/7.
How do I embed and run my application on a website?
I've looked at Apache Tomcat tutorials but most of them involve creating simple text based webpages. Also, how do I move from localhost:8080 to my domain URL?

How would I/can I post a java web project from Netbeans to Sharepoint?

I have a java web application that I am developing in Netbeans (and running through Tomcat). Is there any way to put this application on Sharepoint?
This is my first time doing this. I've read that to post the application to a tomcat server you just have to copy the .war file over, but I haven't been able to find an easy solution for Sharepoint.
Sharepoint isn't a Java Application Server. You'll have to use Tomcat (or another Java Application Server) to host your application. If you need to interact with Sharepoint from your application, you'll have to use web services, a shared database or something else to communicate.
That's not possible out of the box. SharePoint only runs ASP.NET applications, not java projects.
You can deploy the solution to a Tomcat server and then use the Page Viewer Web Part to show external content.

Looking to integrate/embed a chat client in a java webapp

Requirements:
Should be open source.
Don't necessarily need to connect to an existing IM server, and can run my own so long as it can run in a Linux OS.
Needs to support SSO with the app deployed in JBoss.
Should be able to either skin the chat client to look the same as the app or better still, embed it without any borders or decorators.
Thoughts?
There is a sample chat client with the Jetty webserver you can adapt.

Categories

Resources