Export application from jelastic - java

I created glassfish server in jelastic environment. Now I can import(upload and deploy) my application to it.
The question is: How can I export(download to computer) that deployed application from the server.

The best way for software development, in your case, is using the version control system. Jelastic supports deploy java project via GIT/SVN with Maven. With this solution, you will always have actual source code which can be deployed on Jelastic in any time.
Also, you can download your application using Direct SSH Access to the Container or SFTP/FISH Protocols.

Related

How Does One Deploy a Jersey Application to a Remote Tomcat Server

I need to state up front that I am not a Java developer. So it is fair to assume that I know very little about the tooling etc. that Java dev's will be naturally familiar with.
So, I have created a Jersey web api (2.25.1) on my home server running Windows 2012. It serves data to a Xamarin application. I need to deploy this to a Linux server (Ubuntu) on AWS which my friend spun up.
At the moment, the only access I have is via SSH (Putty).
Tomcat (and Glassfish) have been installed on the Linux machine.
How do I go about deploying that application to that AWS server?
The official Jersey documentation seems to be MIA, and my Googling efforts don't yield much. There's a lot of SO questions with a similar title to this one. But I have not found any of the answers (and in many cases, questions) helpful to my cause.
Cheers
I assume that you are using maven to create your jersey web app .
Upon build you will get a *.war file .Copy the same to tomcat/webapps folder .
Start your tomcat then.
To take your file there on remote use winscp tool with your ssh credentials.

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.

How can i change deployed application to webserver from application server?

I am having a web application which is deployed in oracle weblogic application server. After getting analysed, i found that there is no need for application server(atleast for this application), i am in need to deploy this application into the oracle weblogic web server.
can anyone help on this, how can i change deployed application to webserver from application server ?
Or in a different words, i can say how can i migrate my application deployment from oracle weblogic application server to oracle weblogic web server ?
I am using weblogic 10. and Maven to build the application
About the application, it is using Apache axis, webservices, jsf, and few java classes.
Thanks in advance!
I've recently migrated one application from WAS to tomcat
The approach i followd is.
Identify and remove all the WL specific dependencies / jars (that you may not need of)
Change the build script to generate .war instead of .ear
deploy the generated .war to any servlet container/ webserver
with your specs (axis,ws,jsf) you dont need a .ear but .war will do.
if you are using ant modify your build script, i'd suggest go for maven for better dependency management
building of top of the answer by #TechExchange
even for Jboss, you still need to analyze the application to remove all WL specifics.
Ex: Descriptors for EJB's MDB's and so on.
with JBOSS you can still use the ear format.
A quesiton, you had mentioned that because you found that the application doesn't need a app server you decided to migrate it to web server, now with JMS in the picture do you still need to move?

Deploy Java webapp on AWS EC2 from Eclipse

I am getting started with AWS plugin for Eclipse (Juno)
I've seen that it is possible to deploy some app on Amazon Elastic BeanStalk, which is great, but I'd prefer to deploy it directly to a specific EC2 instance (mostly for cost optimisation)
Has anyone done that before, or will I have to write my own Eclipse plugin to do so ?
According to :
http://blog.rajithdelantha.com/2011/10/complete-guide-to-deploy-java-web.html , creating an EC2 server (to be used like a Tomcat) is possible, but I can't find the option, I just have Tomcat6/7 for EBS.
With an EC2 server you can run whatever web server you want, it's basically just a VM. You could run Tomcat, Jetty, JBoss, etc. Almost all of those web servers have plugins or tools to enable deployment from Eclipse which are completely independent of Amazon. For example, if you choose to setup Tomcat on your EC2 server then you could follow these (there may be newer) instructions.

one setup file for java application and web application server installation?

I have a web application made with java that runs on Apache Tomcat. I need to give the application to for easy deployment for several clients.
For that I am required to create a installation file this case for windows, but hope it could be cross OS. This installation should be setup Tomcat and install my web application and mysql database with relevant settings.
Any resources I could use this for?
Advanced Installer has a project type just for Tomcat web applications. But it's a commercial tool so you will need a license. If you want a free solution, you can try WiX.

Categories

Resources