Server Side Section Index
Repeating Annotations in Java 8
Learn about the need and the use of repeating/repeated annotations, a new Java programming language feature in JDK 8.
Learn Apache Camel - Indexing Tweets in Real-time
How Fast is Logging in Java?
JBoss Case Study: Learn Design Patterns From Real Projects (Part 1)
Developers can spend hours learning design patterns by heart, but sometimes when they need to use the patterns in a real project, that's not practical.
Load Testing with Apache JMeter | JMeter Installation
JMeter version 1.8 needs JDK1.4 (the JMeter mailing list says that the latest development version, the "nightly build", also works on JDK1.3), and if JDK is on your computer, the installation of JM...more
Load Testing with Apache JMeter | Adding Elements
The order of the elements doesn’t really matter, but it’s easy to rearrange them. Simply drag the elements to the proper position and answer
Load Testing with Apache JMeter | Enhancing the Test Plan
You have now seen the basic elements used in a test plan. We added a sampler and some listeners, but as could be seen in the menus on the last page there are many other elements that may be added t...more
Load Testing with Apache JMeter | Measuring Web Services Response Times
The next application to test is from the article "Using Apache Axis version 1 to build Web Services". It’s currently not possible to record a web service (SOAP) application automatically so w...more
Load Testing with Apache JMeter | Recording a Use Case
One of the really useful features in JMeter is its ability to record what you do in your browser. If you want to make a test plan for a use case, where a user working with her browser goes through ...more
Load Testing with Apache JMeter | Remote Testing
The final application that we’ll test is a mixture of the two others, it’s a browser application using Struts to invoke the DVD web service system we have just tested. The response time...more
Load Testing with Apache JMeter | Resources
JMeter is an excellent tool for performing load testing, mainly because it’s so easy to use. You must however be prepared for minor bugs, and also allot enough use time for setting up a prope...more
Load Testing with Apache JMeter |Recording a Scenario
Now we’re ready to go. First we’ll record a scenario from the article "Coding your second Jakarta Struts Application". If you’re interested in using this application yourself you&...more
Writing Servlet Filters
Filters are an under-appreciated feature of the Java servlet platform, ideal for writing components that can be added transparently to any web application. A filter is like a lightweight servlet th...more
Writing Servlet Filters | Redirecting a Request
Another use for filters is to restrict access to resources - if a filter doesn't call FilterChain.doFilter(), the resource won't be loaded. Simply returning would send an empty document to the brow...more
Writing Servlet Filters | The Filter Mapping Block
Now we need to tell the servlet container when to apply the filter, which is done with a block. The filter-mapping block includes the filter-name, which must match the name given in a block, and ...more