Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Class Loaders in Tomcat

Share this post!
 Vote this!

Each time a class is instantiated as an object or referenced statically, that class must be loaded by the Java Virtual Machine (JVM) into memory, Tomcat uses class loaders and has different behavior to other class loaders. Tomcat allocates a class loader to each web application, but there are global ones as well.
Class loader Overview
The class loader deals with loading classes that many be on a file system, embedded computer systems (ROM chip), across a network. The role of a class loader is to abstract the process of loading classes, making completely independent of any type of underlying data store.
Since J2SE 1.2 the JVM uses three different class loaders
  • Bootstrap class loader (also called the primordal class loader)
  • Extension class loader
  • System class loader  more...

Tomcat Architecture

Share this post!
 Vote this!

Tomcat is a container that is made up of pluggable components that fit together in a nested manner. Tomcat is configurable you can set such settings to use specialized filters, change port numbers and IP address bindings, security settings, etc. You should always change the default setting when using in a production environment especially the security aspects, I will touch on this in the Tomcat security section. At first Tomcat configuration files appear cryptic and difficult to understand, but in future articles I will try to unpick the complexity of Tomcat into a easy understandable format.  more...

Advanced Tomcat Features

Share this post!
 Vote this!

The following subjects are discussed in this article
  • Access Logs
  • Single Sign-on
  • Request Filtering
  • Persistent Session Manager
  • Tomcat and JDBC, JNDI
  • JavaMail Session
  • Configuring lifecycle listeners   more...

How To Develop RFID Applications In Java

Share this post!
 Vote this!

Radio Frequency Identification, also known as RFID, is a tool which is being used in a large number of industries. There are a number of software programs which can work with RFID, and an example of this is RFID Anywhere by Sybase iAnywhere. It was designed using a .NET program that has greatly modified the different phases of their RFID projects. Doing this greatly improved the efficiency of their products. RFID Anywhere is a program which can handle the interfaces of printers or other objects which work with RFID. In addition to this, it can also work with sensors or bar code equipment.  more...

.NET and J2EE - A Comparsion Study

Share this post!
 Vote this!

This tutorial compares .NET and J2EE, discussing various features of both the technolgoies and summarising when and where these technologies are suitable to use for entriprise application.

Competitive or Complementary?

Introduction

With the introduction of .NET technology Microsoft was focused to enjoy monopoly in market of development of enterprise applications. But later on J2EE even though being an open source technology fought back and made sure that most of enterprise applications are developed over the top of J2EE framework. In this article we are not going to take side of any of these two prominent and proven technologies. But we are going to discuss areas and scope of both technologies along with their suitability for enterprise applications.  more...

Eclipse IDE Tutorial for Java Programmers

Share this post!
 Vote this!

This tutorial will cover:
  • Introduction to Eclipse
  • Getting Started with Eclipse
  • Choosing a Perspective
  • Creating a Project
  • Creating a Java Program
  • Compiling and Running a Java Program
  • Run Java Applications from the Command Line  more...

Tomcat for beginning Web developers

Share this post!
 Vote this!

About this tutorial
This tutorial gives Java Web developers an introduction to programming JavaServer Pages (JSPs), servlets, and Web services using Tomcat, an open source application server from the Apache Foundation. The tutorial guides you through the following tasks:
  • Downloading and installing your own Tomcat server.
  • Coding and deploying a JSP on Tomcat.
  • Coding and deploying a servlet on Tomcat.
  • Coding and deploying a Web service using Tomcat and Apache Axis.
The tutorial provides an overview of JSP, servlets, and Web services but is not intended to cover those technologies in depth.

The tutorial covers the following:
 more...

What Is Struts

Share this post!
 Vote this!

Struts
Apache Struts is an open source Java framework used for building web applications based on the servlet and JavaServer Pages (JSP) technologies. It was created in 2000 by Craig R. McClanahan and has become the de facto standard framework for web applications in Java.

This Article Covers:

  1. The Web Development Landscape: Six Years Ago
  2. Along Comes Jakarta Struts
  3. Benefits of the Struts Framework
  4. Overview of the Struts Framework
  5. Choosing a Model Layer for Struts
  6. The Struts Presentation Layer
  7. Struts' Other Great Features
  8. More Information on Struts
Is it conceivable that anyone in the business of building software hasn't heard of the Struts framework? From developers that are just starting out in the business to those long in the tooth, the name "Struts" surely must ring a bell. But if you haven't spent your development time in the Java world or haven't had the need to build web applications, Struts might only be a buzzword that you've added to your resume. For the next five to ten minutes, you're going to be taken on a whirlwind tour of the Struts framework. Get a drink (non-alcoholic, of course), sit back, and put your feet up, and learn a little about one of the most popular free frameworks to ever grace the open source community.  more...