Home » Archives for Yogesh Mali » Page 2

Author Archives: Yogesh Mali

Yogesh currently lives in Minneapolis and works as a Senior Software Engineer. He has a masters degree in Computer Science from University of Minnesota, Twin Cities. At graduate school, he did research in programming languages because of his love for functional and object oriented programming. Currently he delves into more details of Java, web development and security. Previously he worked as a product manager to create web application for health insurance brokers. In his free time, he listens to music and writes fictional stories.

Jetty Deploy War Example

In this example, we will see how to deploy a war file on a jetty and run the web application. In general, jetty server instance configures the deploy module. This will have web application deployer that hot deploys files. But other way to deploy a war file is through deployable descriptor XML file. 1. Environment Windows 7 SP 1 Eclipse ...

Read More »

Jetty Runner Example

In this example, we will show how to use jetty runner. Jetty runner is a concept where you run your web applications with a single jar without installing jetty. You don’t need to administer jetty distribution in this case. Jetty runner is a standalone jar which can be used to deploy multiple web applications or run web applications with different ...

Read More »

Jetty NIO Example

In this example, we will show how to use jetty with NIO based connector for server side communications with clients. Before Jetty 9 , there were both blocking Input/Output (BIO) and non-blocking Input/Output (NIO) and one has to specify protocol and implementation used through connector. Jetty 9 now only offers NIO connector and protocol is configured through collection of ConnectionFactory ...

Read More »

Jetty “JSP Support not Configured” Error

In this example, we will show how to resolve an error which is frequently encountered if you are using Java Server Pages (JSP). Java Server Pages is a server side technology and it is used to create dynamic java web application. JSP can be considered an extension to servlet technology. We will use embedded jetty to show the error and ...

Read More »

Jetty Session Clustering Example

In this example, we will show how to use jetty for session clustering purposes. During this, we will configure multiple jetty instances,a load balancer, and jetty session clustering. Jetty is an open source web server developed by Eclipse Foundation. You can read more about how to deploy a simple servlet on jetty here. Jetty can be used for high availability ...

Read More »

Jetty Servlet Example

In this example, we will show you how to make use of Jetty – Java HTTP Web Server and servlet container and run a sample servlet on this server. Jetty is an open source web server developed by Eclipse Foundation. As a part of this example we will create an eclipse project which will have our servlet code and to ...

Read More »