Home » Tag Archives: Apache Tomcat (page 5)

Tag Archives: Apache Tomcat

Launching and Debugging Tomcat from Eclipse without complex plugins

eclipse-logo

Modern IDEs like Eclipse provide various Plugins to ease web developement. However, I believe that starting Tomcat as “normal” Java application still provides the best debugging experience. Most of the time, this is because these tools launch Tomcat or any other servlet container as external process and then attach a remote debugger on it. While you’re still able to set ...

Read More »

Change Without Redeploying With Eclipse And Tomcat

eclipse-logo

They say developing Java is slow because of the bloated application servers – you have to redeploy the application to see your changes. While PHP, Python, etc. scripting languages, allow you to “save & refresh”. This quora question summarizes that “myth”. Yup, it’s a myth. You can use “save & refresh” in java web applications as well. The JVM has ...

Read More »

Multiple Tomcat Instances on Single Machine

apache-tomcat-logo

In this post we will see how to run multiple tomcat instances on a single machine and under a single user account. We first see the tomcat directory structure, where each folder has the following purpose: bin –  contains all binary and script files for running tomcat. lib – contains all shared libraries used for tomcat conf – contains configuration information like which port tomcat can bind, ...

Read More »

Web Services in Ruby, Python and Java

ruby-logo

Today I’ve had to prepare some examples to show that web services are interoperable. So I’ve created a simple web service in Java using Metro and launched it on Tomcat. Then tried to consume them using Python and Ruby. Here’s how it all finished… Web service in Java I’ve started with a simple web service in Java: package com.wordpress.jdevel.ws; import ...

Read More »

Zero-downtime Deployment (and Rollback) in Tomcat; a walkthrough and a checklist

apache-tomcat-logo

Dear All, If you thought Tomcat could not get any better, you thought wrong. Tomcat 7 introduces what is called Parallel Deployment. This was contributed by SpringSource/VMWare. Simply put, parallel deployment is the ability to deploy more than one version of your web application in parallel, making all versions available under the exact same URL. Think about this for a ...

Read More »

JAX–WS with Spring and Maven Tutorial

eclipse-logo

Spring framework provides remoting support for web services via JAX–WS, in fact, as stated in Spring reference documentation, there are three ways of exposing Spring POJO services as a JAX–WS web services : Exposing Servlet – based web services (suitable for Java EE 5 environments) Exporting standalone web services (suitable when utilizing Sun’s JDK 1.6 build–in JAX–WS provider) Exporting web ...

Read More »

Aspect Oriented Programming with Spring AspectJ and Maven

aspectj-logo

Spring framework comes with AOP support. In fact, as stated in Spring reference documentation, “One of the key components of Spring is the AOP framework. While the Spring IoC container does not depend on AOP, meaning you do not need to use AOP if you don’t want to, AOP complements Spring IoC to provide a very capable middleware solution. AOP ...

Read More »

Spring 3 RESTful Web Services

spring-interview-questions-answers

Spring 3 provides support for RESTful Web services. In this tutorial we will show you how to implement a RESTful Web service in Spring or, if you want, to expose an existing Spring service as a RESTful Web service. To make things more interesting we are going to continue from where we left of at our previous article about Spring ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.