Eclipse für JSP und Servlets

Status
Nicht offen für weitere Antworten.

miketech

Bekanntes Mitglied
Hi,

ich beschäftige mich zur Zeit mit JSPs und Servlets, um einfache Webanwendungen zu schreiben. Nun möchte ich das gerne in Eclipse etwas automatisiert machen. D.h. derzeit mache ich es so, dass ich in irgendeinem Editor (oder Eclipse) den Code schreibe, dann das Servlet kompiliere und in den Tomcat Ordner schiebe.

Wie kann ich das denn automatisieren, wenn ich mich nicht gleich mit Ant rumschlagen möchte? Kann ich Eclipse irgendwie einrichten, dass er mir das automatisch kompiliert und deployd und ich nur noch auf "Run" klicken muss?

Oder muss ich dafür diese ganzen Deployment Deskriptoren einrichten? (Hab da mal ein Tutorial mit der JBoss IDE durchgespielt und das war nur noch ätzend mit den Deskriptoren)

Gruß

Mike
 

SamHotte

Top Contributor
Hab zwar selbst noch nichts damit gemacht, aber evtl. ist das WebTools-Projekt was für dich?

Professionell (und dementsprechend teuer) gibt's sowas unter dem Namen "WebSphere Application Developer" von IBM -- da steckt Eclipse unter der Haube und ein paar hundert IBM-eigene PlugIns ;)
 

miketech

Bekanntes Mitglied
Hi,

und das kostet dann wahrscheinlich auch entsprechend :)

Es gibt ja noch MyEclipse, aber das kostet auch, wenn auch nicht viel. Aber ich will erstmal was zum Rumprobieren, bevor ich Geld ausgebe.

Werds mal mit den WebTools probieren, danke.

Gruß

Mike
 

bronks

Top Contributor
miketech hat gesagt.:
... Werds mal mit den WebTools probieren, danke ...
Die WebTools hatten noch vor ein paar Wochen viele Bug über die hier einiges geschrieben wurde. Die JBossIDE für Eclipse funktioniert dagegen deutlich besser.
 

miketech

Bekanntes Mitglied
Hallo,

mein erstes Servlet und meine erste JSP Seite laufen nun mit den Webtools. Also noch kann ich keinen Bug ausmachen bei dieser Komplexität ;)

Nutzt die JBoss IDE nicht auch die WebTools?

Hab die JBoss IDE jetzt mal getestet und da hab ich das Problem, dass ich nicht weiß, womit ich anfangen soll :) Starte ich ein J2EE Projekt, wenn ich nur mit Servlet und JSP arbeite? Und dann gibts dort noch ein EJB Projekt. Dachte dass gehört mit zu J2EE dazu. Warum brauch ich dafür ein extra Projekt-Typ?

Gruß

Mike
 

bronks

Top Contributor
Bei mir steht im Angebot:
- EJB3.0 Project
- J2EE 1.3 Project
- J2EE 1.4 Projekt

Wenn ich eine WebApp haben will, dann nehme ich J2EE 1.4 Project.
 

miketech

Bekanntes Mitglied
Hallo,

nochmal eine Frage:

Wenn ich J2EE Project auswähle muss ich anscheinend alles per Hand machen. Ich muss irgendwie ständig Deskriptoren erzeugen, wie das im JBossIDE Tutorial beschrieben ist.

Wenn ich stattdessen Web -> Dynamic Web Project auswähle, erzeugt er mir automatisch alle Deskriptoren, die sich auch ständig anpassen, wenn ich z.B. ein Servlet erzeuge. Und es werden automatisch META-INF und diese Verzeichnisse angelegt, was bei J2EE Project nicht der Fall ist.

Muss ich das bei J2EE Project denn wirklich alles mit diesen Deskriptoren machen? Hab noch keinen Schimmer, was ich da grad alles auswähle :) Ich verstehe nur nicht, wie das Web Project das macht, wenn ich keine Deskriptoren habe. Ich finde auch nichts, um z.B. beim J2EE Project das ganze zu automatisieren.

Gruß

Mike
 
Status
Nicht offen für weitere Antworten.
Ähnliche Java Themen
  Titel Forum Antworten Datum
F Eclipse für Java 1.8 ARM einrichten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
B .exe Datei für Eclipse Java Programm erstellen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
LimDul IDEA IntelliJ Tipps für den Umstieg von Eclipse auf intelliJ IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
keinLebenNurCode Eclipse Eclipse: Gelbes Hilfsfenster für Funktionen und Methoden anzeigen lassen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
ruutaiokwu Eclipse Eclipse-Plugin für UML "Reverse Engineering", um aus Code Klassendiagramme zu erstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
K Eclipse für Java, Python und C/C++ IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
A Eclipse Eclipse mit eigenem Plugin braucht für ersten Start sehr lange IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
M Eclipse Funktionierender DarkTheme für Eclipse auf MacOS X IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
N Eclipse Plug-In für farbliche Hervorhebung von Codeblöcken vorhanden??? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
H GUI Builder Jigloo für Eclipse Helios ??? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
wolfgang63 Einfügeposition für generierten Code in Eclipse Kepler IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
A Eclipse Export/Auscheacken des Java-Projekts aus Eclipse für anderen Distributionen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
T Anfänger: UML-Plugin für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
O Eclipse (+ Jre, Jdk, usw..) für iPod Touch/iPhone IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
M JavaFX-Plugin für Eclipse Juno IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
E mysql-connector für Eclipse DB plugin IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
Java-Insel Eclipse JDK bzw. JDE für Eclipse funktioniert nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
S OpenJDK: mit Eclipse auf Windows für Linux IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
GUI-Programmer Eclipse C/C++ für Eclipse aufrüsten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
G Eclipse Eclipse Plugin für Debian Paket Erstellung (DEB)? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
B GUI Builder für Eclipse? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
I BPMN für eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
P Eclipse Welche Eclipse Version für Win64bit? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
Kr0e Eclipse Tool für Jars - Automatisch Dependencies einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
K JSF EL Content Assist für @Named CDI in Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Eclipse Code Review Tool für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
R Guter GUI Editor für Eclipse? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
H XSD / WSDL Werkzeug für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
S Problem mit javacc-Plugin für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
B Hibernateplugin für Eclipse 3.5.1 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
A Eclipse-Plugin für eigenes Code-Folding IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
Houly GUI-Builder Plugin für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Eclipse Workspace für verschiedene User konfigurieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
S PASCAL-Plugin für Netbeans/Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
X Eclipse Update Site für Intranet mit Buckminster Plugin nicht vollständig IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
A Free UML Editor für Eclipse? Empfehlung? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
X Eclipse Update Site teilweise für lokales Intranet spiegeln IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 25
T Eclipse Update - Workaround für No repository found containing… IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
M Eclipse als CVS-Client für externe Dateien IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
S Eclipse Tastenkombinationen für z.B. TestCase IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
E Neuer? SwingBuilder für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
J kostenloses UML-Tool für Eclipse Ganymed? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
T iReport für Eclipse? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
T UML aus Quellcode (am liebsten für Eclipse) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
S SVN-Plugin für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
G Aeltere Java Version für Eclipse Projecte IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
S Shortcuts für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
G Parameter für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
F Maven plugin für Eclipse: tld dependencies in jars IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
GilbertGrape MyEclipse für Eclipse Ganymede IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
GilbertGrape Eclipse: shortcut für "add unimplemented methods" IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
O Suche ne Eclipse Version für ein Java Web Projekt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
G Wird der Visual Editor für Eclipse weiterentwickelt? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
R vernünftiges ftp plugin für eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
Antoras Eclipse Plugin für grafische Oberflächen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
T XML Plugin für Eclipse Ganymede IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
N Eclipse Plugin für XML / XSL Transformation gesucht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G Gui-Builder-Plugin für Eclipse ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
Y Eclipse Plugin für Coverage IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
P Zend Studio für Eclipse mit Java erweitern IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
tfa Build-Skript für Eclipse-Projekte IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
eskimo328 code completion für JSF (Eclipse) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
B GUI-Builder für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
R Deutsche Sprachdatei für Eclipse 3.3 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G UML für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
L Welche Plug-Ins für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
K eclipse plugin für oberflächen programierung? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
F Eclipse Warnings ausschalten für ein Package? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
L Designfrage für Eclipse! IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
I Sysdeo-Plugin für Eclipse / Tomcat - wo downloaden? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
R Eclipse mehr Speicher für VM geben funktioniert nicht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
F UML2 für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
padde479 PL/SQL Plugin für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
B Deutsches Sprachpaket für Eclipse 3.2 ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
M Eclipse und extrahieren von Strings für Property Datei? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
S uml plugin für eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
G uml plug-in für eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
H Tutorial für CVS mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
Icewind Problem mit Eclipse 3.1 und kompillierung für java 1.4 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
A Eclipse Plug In für Visualisierungszwecke? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
0 Neues Lomboz und neuer VisualEditor für Eclipse 3.1M6 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G GUI Builder für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
G gui builder plugin für eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
B EclipseUML für Eclipse 3 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 14
A Visual Editor von/für Eclipse gesucht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
G Eclipse: Parameter für Anwendung setzen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
A MySQL-Plugin für Eclipse 2.1 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
C Erfahrung GUI-Buildern für Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
N UML-Plugin für Eclipse 3.0 IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
N Plugin für Eclipse entwickeln?! IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
B Welche Plugins sind für Eclipse nützlich? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
R Eclipse beim Ausführen zur Eingabe in die Konsole springen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
T Eclipse Java Projekt funktioniert in Eclipse, aber nach export kein Dateizugriff IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M Eclipse oder IntelliJ? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
JonasM Gibt es eine Libary in Eclipse mit der ich Daten per USB an einen Microkontroller Senden kann? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
N Erstellen einer ausführbaren jar Datei in Eclipse (Linux Mint) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
O Eclipse stürzt beim Autovervollständigen ab IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
C In Eclipse Einrückung im Java-Editor einstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Avalon html ist nicht html in eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
A Docker im Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3

Ähnliche Java Themen

Neue Themen


Oben