• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

IDE with Tomcat Server

 
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am thinking to execute simple spring application. I see my old eclipse not working and workspace everything is wiped out. Which IDE with built in tomcat and database you recommend using quickly. If i try to set up eclipse then tomcat then database separately taking time and encountering issues Where you store project source code to refer back after say 2 years.
 
Bartender
Posts: 667
14
TypeScript Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
spring boot web starters will have tomcat embedded in the application.  Easy and no need to worry about the servlet container.
 
Sheriff
Posts: 5552
326
IntelliJ IDE Python Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would not recommend coupling your project to your IDE. Your IDE is a tool to modify your project more efficiently than you would with a basic text editor, but your IDE should not become a dependency of your project.

The answer to your question of "Which IDE do you recommend?" is to use whatever IDE you like the most and are most proficient in using.
 
sai rama krishna
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That makes sense. Importing into same type of IDE easy as previous version of IDE crashed with ever changing versions of underlying softwares etc. Hope spending day or two to bring everything up is only solution rather than expectation of having everything up and running in minutes or hours
 
Saloon Keeper
Posts: 27492
195
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know of no IDE that has Tomcat built in, much less any particular brand of database.

IDE's use plugins to run a separately-installed Tomcat. The Eclipse JEE edition has a pre-installed plugin (WTP), but I've always despised it and I'm using the Eclipse Tomcat Plugin from the Eclipse Marketplace myself.

There are also plugins to talk to databases from IDEs, although I do OK without them using the regular database console apps.

Spring Boot is an execution framework, though, not an IDE.
 
sai rama krishna
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I also tried eclipse market place tomcat to avoid compatibility issues. It showed tomcat 9.1.14 (for latest eclipse i downloaded yesterday) which i downloaded but did not install automatically. I checked in eclipse plugin directory below but could not see tomcat there as well to browse to add
C:\Users\gp\eclipse\jee-2021-09\eclipse\plugins
eclipse_tomcat.JPG
[Thumbnail for eclipse_tomcat.JPG]
eclipse_tomcat_2.JPG
[Thumbnail for eclipse_tomcat_2.JPG]
eclipse_tomcat_3.JPG
[Thumbnail for eclipse_tomcat_3.JPG]
 
sai rama krishna
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
attached is the tomcat plugin from eclipse i installed
eclipse_tomcat_4.JPG
[Thumbnail for eclipse_tomcat_4.JPG]
 
sai rama krishna
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eclipse suggested attached 9 version and 10 version to download and install. These version different from eclipse market place. Too many versions to keep up with.
eclipse_tomcat_5.JPG
[Thumbnail for eclipse_tomcat_5.JPG]
eclipse_tomcat_6.JPG
[Thumbnail for eclipse_tomcat_6.JPG]
 
Tim Holloway
Saloon Keeper
Posts: 27492
195
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Tomcat plugins do not include Tomcat. You have to download and install Tomcat from tomcat.apache.org. Easy enough to do, since Tomcat is a ZIP file and all you have to do is unzip it and point the plugin at the directory it unzipped to using that first dialog.

You actually have the option to install and run multiple versions of Tomcat at the same time, but unless you are an especially evil person (like me) you won't usually do that. It does help when you start migrating between Tomcat versions, though.
 
sai rama krishna
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I selected 10.0.10 it is asking for source directory of downloaded tomcat 10.0.10. I tried downloading from here bug could not find zip file of it though
https://archive.apache.org/dist/tomcat/tomcat-10/v10.0.10/
Only Exe file there. Somehow exe file prevents from installing other versions of tomcat in future right. Bring up development environment and keeping it up is bit challenge unless daily work on same laptop everyday
 
Tim Holloway
Saloon Keeper
Posts: 27492
195
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ah, I forgot that the latest version of the plugin can download Tomcat for you. But you still have to push the "download" button and make sure that the plugin dialog installed Tomcat.
 
Tim Holloway
Saloon Keeper
Posts: 27492
195
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't bother with the Tomcat source directory. What you want is in the bin directory.

Everything is there, but I don't know how the plugin does the download. I MAY have used it when I installed Tomcat 9 a while back, but I don't know how to get that dialog now.

The traditional way to get Tomcat for me would be via this site: https://tomcat.apache.org/download-10.cgi and I would download one of the core versions. Windows-specific versions may include installing as a Windows Service, but the ZIP versions work too. The tarballs (tar.gz) are common for Unix-like systems, although some Windows ZIP programs can read them also.
 
sai rama krishna
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was not sure which action above downloaded tomcat 10.0.10 for me. I am able to now attach to eclipse and start it after i change port from 8080 to 8999
tomcatDownloaded.JPG
[Thumbnail for tomcatDownloaded.JPG]
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't use Tomcat, use Tomee.  You then have CDI also.
Apache has an article of how to put tomee in eclipse.  But I like netbeans.
 
sai rama krishna
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Interesting. I never heard about tomee. i will check. Thank you Jim and Tim
 
Let me tell you a story about a man named Jed. He made this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic