Understanding Java Stack Traces and Generating or Producing or Capturing Full Java Thread Dump

The article is written for J2SE 6, and Eclipse IDE for Java EE Developers. Table Of Content Introduction and Generating Java Stack Traces System Requirements Generating or Producing or Capturing Full Java Thread Dump Manipulating Java Stack Traces Java Thread Dump Process Feedback Introduction and Generating Java Stack Traces A Java stack trace is a user-friendly snapshot of the threads and monitors in a Java1 Virtual Machine (JVM). Full Java Thread Dump is a complete list of active threads. A java thread dump is a way of finding out what each thread in the JVM is doing at a particular point...

read more

Introduction, Using, Developing Web applications and Java Object Caching with Java Caching System (JCS)

The article is written for/using J2SE 6, Java Caching System (JCS) 1.3.2.8, and Eclipse IDE for Java EE Developers [Galileo]. Table of Content Introduction System Requirements Article Prerequisites Caching Overview Caching Frameworks JCS Overview JCS Regions JCS Cache Regions Configuration Setup Eclipse, JCS Develop JCS Cache Demo Summary Resources Feedback Introduction This article explains Java Caching System (JCS) and how to use JCS. The usage of JCS is demonstrated for stand-alone Java applications but same can be implemented inside the Java EE environment. Back to the top System...

read more

Customize / Handling Server Side Exceptions with Error Codes using ExceptionMapper with Jersey / JAX-RS in Java

The article is written for/using J2SE 6, Jersey 1.1.4.1 and Eclipse IDE for Java EE Developers [Ganymede]. Table of Content Introduction System Requirements Article Prerequisites Introduction to WebApplicationException Implementing WebApplicationException and Defining Exception Mappers for Resource Exceptions and Errors Summary Downloads Resources Feedback Introduction JAX-RS is a collection of interfaces and Java annotations that simplifies development of server-side REST applications. Representational State Transfer (REST) applications are easier to develop and easier to consume when...

read more

Calling / Invoking Secure RESTful Web Service over HTTPS with JAX-RS in Java without Keystore & Truststore Information

The article is written for/using J2SE 6, Jersey 1.1.4.1 and Eclipse IDE for Java EE Developers [Ganymede]. Table of Content Introduction System Requirements Article Prerequisites Securing JAX-RS Clients using SSL Summary Downloads Resources Feedback Introduction You are required to secure the communications between your Java™ API for RESTful Web Services (JAX-RS) application and clients that invoke the application by using Secure Sockets Layer (SSL) transport layer security. Java™ API for RESTful Web Services (JAX-RS) application might be running a Third Party Application running on same or...

read more

Sending / Transfering / Pushing Files in MultiParts / Chunks from Server to Client with RESTful Web Services in Java

Table Of Content Introduction System Requirements Article Prerequisites Writing and Deploying the Web Service Testing the Web Service with Test Client Resources Feedback Introduction The sample application we are going to develop through this tutorial includes writing a Jersey/JAX-RS and Tomcat based RESTful Web service, which will respond to the requests by a Jersey Client. The sample application also includes writing a Jersey/JAX-RS Web service client, which can receive the attachments in response. The tip uses a sample application to demonstrate some of the JAX-RS MutiPart API concepts...

read more