I am just starting out with programming a tomcat server in java, and have installed eclipse's Web Tools Platform, but when I try to create a Dynamic Web Project, It wants me to specify an installation of Tomcat on my own machine. Is it necessary, other than to run the project, as the server to really use it is online? If it's not, any way I can bypass this problem?
(I'm not sure if there us a more appropriate stack exchange site for this: If there is, please direct me to it.)
Related
I am a 2 months olds developer in Java Web development (New Job). I want to check for a way to setup local development with IDE & able to debug/work with remote web server.
The current practise in my company is access the web server with sftp (WinSCP), edit file with any text editor, and upload back to linux web server, then either compile the java file & restart in webserver or refresh the content after uploaded the jsp file.
The company is currently using SVN for version control, the web server can be Oracle iPlanet Web server or Apache Tomcat server.
I had go through Eclipse Remote Debugging but I cannot tell which project should I create at the beginning.
I tried to start with normal Java project, but unable to connect with the server.
Do forgive me if I asked this question in wrong section/wrong forum or maybe this seem pretty basic for you, and do point out which action I did wrongly and I supposed to find out more info/knowledge before proceed. Please do not use Intellij IDEA IDE (PAID IDE) as reference, due to currently is just my own idea to suggest a change from current development process in company, with no financial back up.
For database, I am totally satisfy with using Oracle SQL Developer to connect and develop.
Thanks for reading this.
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.
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.
After some time of research I didn't find a complete answer to this. My scenario is as follow:
1 Windows client with Eclipse.
1 Debian server with Tomcat 8.
The idea is to use the remote Tomcat server in the Windows machine to avoiding install the local Tomcat plugin on it, and deploy the projects directly to the remote server vía Eclipse. Is this possible?
As the information I've read, I'm afraid that the local Tomcat server is mandatory in order to get access to de Java Servlets API (package javax.servlet.*). I have a project in Eclipse without any Tomcat (remote nor local) and this package is not available so can't compile.
So, there is a way to achieve what I want? I'm a bit lost in this, so may I have some misleading concepts and simply this is not possible for some good reason :).
Thank you in advance.
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.