Eclipse WTP and Tomcat Tutorial

If you are not interested in all the technical details of Servlet development in eclipse and tomcat, and you just want a quick introduction on how to install an Eclipse based Web development environment with all the bells and whistles and create a quick Servlet, then this screencast is for you.

Actually i just wanted to play around with Wink, which is totally awesome. Maybe I will create a more sophisticated version of this tutorial later. Sorry for the messy audio and some content glitches, but I’m sure it will be helpful to some people anyways.

22 Responses to “Eclipse WTP and Tomcat Tutorial”


  1. 1 andrej

    läuft! prima! seit wann machst du werbung für WTP, du heretik! ;)

  2. 2 Toni

    Werbung? Na Du bist gut – schließlich ist es das einzige frei erhältliche Tool dafür das halbwegs funktioniert. Aber okay, der Vollständigkeit halber sei noch erwähnt: Man könnte sich auch “MyEclipse” im Abo kaufen und auf WTP verzichten ;)

  3. 3 johngo

    Great! My first servlet with Eclipse and Tomcat in 1 hour! Your tutorial saved me a lot of time, an is beautiful too! It is easy to follow, and shows exactly the same screens as I have on my desktop. Perfect!

    Thank you very much!

    Johngo

  4. 4 andrej

    @johngo:

    who told you, that this tutorial saves a lot of your time? ;)

    @toni: tschulidge, aber kann mir die seitenhiebe in richtung wtp nicht verkneifen. ist mir doch zu instabil. deine tutorials sind aber klasse. das weisst du aber sicherlich auch selbst :)

  5. 5 Toni

    @Johngo – Thanks! Appreciate it.

    @Andrej – Well in all seriousness, WTP is kinda broken in many aspects. But unless you want to switch to another IDE like Netbeans or Idea (for which you’ll have to fork out 500$), you just have no other choice (except MyEclipse, which I despise)…well except “roll your own”, which could turn out to be quite complicated in this case ;)

  6. 6 Dan

    Thanks for putting this together.

    It saved me time and some lumps on head from banging on desk.

  7. 7 Robin Percy

    Great tutorial. Very complete without getting bogged down in detail. It was extremely helpful.

  8. 8 Secco

    Very lovely, especially the upgrade-process with callisto. But I wouldn’t use the WTP – Dynamic Web Project, since it makes problems when changing from older eclipse versions. The use of the tomcat-plugin makes much less problems.

  9. 9 Eric

    Thanks for putting this together! It is a big help. I tried it with Eclipse Version: 3.3.0 (M6) Build id: I20070323-1616, and ran into a problem. At the Europa Discovery Site, after picking WST and JST, “Select Required” did not pick any additional features. I thought that was ok and proceeded without the other features that “Select Required” had added in your example. Later, when I got to the New Server Runtime Wizard, this appeared:
    Basic
    HTTP Server
    [red square] JS22 Runtime Library
    [red square] Preview
    This did not match the list from your example, so I clicked on the “Download Additional Server Adapters” link above that, and downloaded org.apache.geronimo.feature. I was hoping that would add Apache to this list (matching your example) but it did not. I was then experimenting and returned to Europa Discovery Site, and when I pick anything (like Java Persistence), an error appears that indicates the geronimo install is not complete:
    org.apache.geronimo.feature (1.2.0) requires plug-in “org.eclipse.emf.ecore”
    I cannot fix that error, and unless it is fixed I cannot install any other features. If you know a solution to this I would really appreciate some advice. It might just be a bug in this pre-release version of Eclipse.

  10. 10 Toni

    Sorry Eric, i have no experience with version 3.3. WTP is quite buggy as it is in the stable release, so messing around with the dev branch will likely get you into trouble and is discouraged for real life work usage.

  11. 11 sat

    it was good..helped a lot ..i knew java jsp tomcat but without using eclipse.(masnually deplyoing by editing some config files)

  12. 12 Rodrigo

    Hi, This doesn´t work for me…
    When i try http://localhost:8080/HelloWorld/hello i have the next error: Estado HTTP 404 – /
    http://localhost:8080 doesnt work too :(

    Someone can help me?

    Thanks

  13. 13 kerstin

    hallo,
    die Seite hat mir gut gefallen, ich habe probiert das Servlet Programm laufen zu kriegen, aber es zeigt an, der Code gibt es Fehler.
    Die seite http://localhost:8080/HelloWorld/hello
    wird nicht angezeigt.
    Können Sie mir bitte weiter helfen?

    Vielen Dank!
    Kerstin

  14. 14 Goutham Rao

    Hello Mate,

    Extremely usefull screencast. I knew JSP and servlets the day i first touched them and it is been two years now , but still unable to map the configuration files. This was an extremely usefull one. The ending part gets hanged , but by then i had learnt to fiddle things on my own and managed to get the results.

    Thanks again for this wonderfull screen cast. You guys are doing a great job.

  15. 15 Kamal Ahmed

    Thank you so much for this tutorial, i have never seen anything like this elegant, and something that actually “works” within few minutes.

    This is my first JSP, and servlet, and i hope to create a lot more.

    Do you have anything similar for JUnit, or JMeter? if not, i can offer my help to create one.

    Thanks,
    -Kamal.

  16. 16 SlowStrider

    This is an excellent tutorial to get started with basic Servlets/JSP under Eclipse!

  17. 17 Hans

    Hallo,
    das Tutorial ist wirklich sehr schön und der “Sprecher” spricht sehr verständlich…
    Leider werden die letzten 10% des videos nicht gezeigt. Die Stimme ist noch ein paar sekunden zu hören, aber das Bild bleibt stehen.
    Neu Laden, neu starten, alles versucht, bleibt immer an der selben stelle stehen – JSP datei aus dem Tenmplate erzeugen und anpassen im Editor.

    Irgendwelche Tips ?

  18. 18 Nauman

    Great effort. Keep up the good work.

  19. 19 teyla

    Thanks you much for the clarity and keeping things basic and simple.

  20. 20 yugushen

    Great tutorial and nice screencast.

    Thank you very much!

  21. 21 mss

    Great Start for me…. Thank you

  1. 1 italo.swau.edu » Eclipse with Tomcat

Leave a Reply






Bad Behavior has blocked 880 access attempts in the last 7 days.

FireStats iconPowered by FireStats