deploy web app on softlayer - java

I have tried to search online for hours but unable to find a correct guide on deploying a web application on softlayer bare metal server.
My web app is developed in JAVA and the web server I use is tomcat7. I already exported the application into a war file from my eclipse IDE.
Now I am not sure how I can proceed. Any help is deeply appreciated! Much thanks in advance!
Cheers.

One thing that can help you, would be to order a VM with MySQL, once it's done you will have to install Tomcat on it and deploy your web app (war file) to it. Also you could buy a certificate to run https since self-certificate are not supported.
There's also some other add ons that you might be interested on, and you can see them when you're placing an order.
The next link can help you with the database:
https://knowledgelayer.softlayer.com/topic/databases
Hope it helps.

Related

JavaFX + Embedded HTTPS server

I'm looking forward to developing a Java application to send files across the internet;
The main idea is to use a JavaFX frontend to control an embedded HTTPS server hosting a web page that contains a list of all files needed to be shared, each with a download option.
What would be the best way to approach this? I've looked into Tomcat (embeddable, supports JSPs) but it seems to be very underdocumented. There's also Spring Boot but it doesn't seem to support JAR packaging (see footnotes: https://www.baeldung.com/spring-boot-jsp).
Can you help me out? Thanks!
PS: I plan on using OpenJDK version 16 on Linux Mint

How do i publish my Java code to localhost using Tomcat 6?

I'm very new to programming and i'm too lost.
I wrote a simple Java code on Eclipse (2 Classes) without any GUI and i want to access this simple Java App from any device in my LAN using a browser.
According to what i found on Google and Stack Overflow, Tomcat might help me.
Tomcat 7 didn't work on my Eclipse, so i'm using version 6 of it.
How can i make a GUI for my app?
And what do I need to be able to publish it using Tomcat?
Any help will be appreciated.
Thanks Everyone in Advance.
Tomcat is an application server. It means that you can write an application and then deploy it to a server (for example Tomcat). Then this application will be accessible on the server by some URL (for example http://localhost:8080/AwesomeApplication).
It only makes sense for web applications that handle some requests. You can't deploy an application with GUI, or simple console application to Tomcat or any other app server.
In language of final file representing your app - it must be a WAR file.

Spring project deploy on real server

I have a Spring MVC project running locally on tomcat right now. What I need to do to be able to run it on my linux server? How can I deploy it? Before I used firezilla(running usual jars) to connect to server using ssh. Please help me by writing easy steps on how to run web application on server, thank you.
There are a lot of answers to this just have to google (i found about 10 in first couple pages that were good).
It all varies based on your environment, build setup etc.
Here is example of deploying with maven to tomcat
http://www.mkyong.com/maven/how-to-deploy-maven-based-war-file-to-tomcat/
and another
http://bitbybitblog.com/deploy-to-tomcat/
Some IDEs also have inbuilt functions that take care of this for you as well.

Hosting full stack web application on Heroku

I have a full stack web application that I want to host on Heroku. I have never deployed a web application so I don't know where to begin. Can anyone help me out? The frontend is HTML/CSS/JS(angular) and the backend is java(spring) if that helps.
This guide pretty much goes through everything that you need to do to deploy to heroku.
Basically, if you have your code hosted on github already, you can just create the app on heroku, add a heroku remote (git add remote 'git#heroku.com:yourapp.git') and push to heroku (git push heroku master). If you are unfamiliar with git, I suggest you start with that.
First and foremost, Heroku has a developer manual here Heroku Java Development Going through that, you will realise that Heroku gives you tomcat/jetty support only, but you must use embedded versions, and fireup everything on your own.
I guess since you have to fireup everything on your own, using even a full-fledged javaee could be possible, the only problem is firing it up, and tomcat/jetty gives you an easier option.

Deploy Java EE Project in Weblogic

I have WebLogic installed in my computer. I already added it as a server in my Eclipse IDE. How do I configure my Web application to run or for it to be deployed on the WebLogic server. I found a sample project and found a weblogic.xml in it. Where do I start? Do I need to add something, etc.
If your web application is already a "Dynamic Web Application", then you should be able to deploy it just by right clicking on it, then Run As > Run on Server and choose the WebLogic Server runtime.
If this doesn't work, maybe you need to add the right facet to your project. Right click on your project and go to Properties > Project Facets and check that Dynamic Web Module is checked.
If this still doesn't work, maybe recreate a "Dynamic Web Application" from scratch and move (or copy) your sources to this newly created project.
Many tutorials are actually available at the WTP Community Resources page. See for example Using the Eclipse Web Tools Platform with Apache Tomcat. It is not specific to WebLogic but if you already have it setup in Eclipse, it should be easy to adapt the specific parts.
PS: It's hard to say anything about your sample project and the weblogic.xml as you didn't provide any detail about them. Maybe try to follow the advices above and, if you still have problems, update your question with more information.
There are a number of resources on using Eclipse with WebLogic, including Oracl'es Enterprise Pack for Eclipse. It's hard to tell without more information, but you need a WebLogic Domain configured with at least an Admin Server to deploy the web application to. When doing local development, it's acceptable to deploy applications to the Admin Server, but beyond this you typically want an Admin Server and a managed server where the application will get deployed to.
Here's some info on Eclipse and WebLogic - http://www.oracle.com/technetwork/developer-tools/eclipse/learnmore/index.html
Question is missing much details. You can find some detailed help here
http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs90/deployment/index.html

Categories