If you’re like me and you use Eclipse for Java development (I also use it for PHP), you should take a look at the MyEclipse plugin. Prior to using MyEclipse, I’d tried other Tomcat plugins for Eclipse with varying success. In the end, I deployed a standalone Tomcat for my JSP, etc. development. Now that I’m using MyEclipse, I’ve been using its Tomcat deployment instead. At first I was a little skeptical, but now I really like it.
Once you’ve installed MyEclipse, it’s a really simple process to use the internal Tomcat deployment for testing java web apps.
Here’s the approach I use:
From the menu bar, select “Window”, “Show View”, “Other”. In the “Show View” window, open the “MyEclipse Java Enterprise” folder and select “Servers”.

This will show display a Server tab within the IDE. This tab gives you control over running Tomcat.

Next, in the Project Explorer, right click on the project you want to run with Tomcat. Select “Run As”, “Run Configurations”
.
Select “MyEclipse Server Application” and you can create a new configuration for running your project within Tomcat.

Now you’re ready to run your java web apps within MyEclipse.
Like this:
Be the first to like this post.
Recent Comments