Tutorial search
Tutorials
Stuff
Affiliates
Photoshop Templates
Featured Photoshop templates - professional ready to use designs for your next project.
View all templates
Connecting your exercise bike to DB2 with Java on Linux - Java tutorial

Connecting your exercise bike to DB2 with Java on Linux tutorial description
| Added on | 03.05.2008 |
| Total clicks | 17 |
| Tutorial Rating | 0 |
| Tutorial Difficulty | 0 |
Connecting your exercise bike to DB2 with Java on Linux
More cool Java tutorials:

Have you ever wanted to grab a screenshot from your Java application? Here's a quick tutorial on how to grab a screenshot and save it to a JPEG and PNG file. This shows how to use the Robot class to capture the screen image and the ImageIO API to save it as a JPG and PNG.

XML is a data format concerned primarily with compatibility and flexibility. This tutorial will teach you the fundamentals of XPath. Part 1 of this tutorial details the XPath specification, which allows you to specify particular sections of an XML document using a directory-like syntax. You'll learn the syntax of XPath, and you'll work with tools that let you experiment with XPath.

XML serialization has a myriad of uses, including object persistence and data transport. XStream is an easy-to-use open source Java library for serializing Java objects to XML and back again. Learn how to set up XStream, and discover how to use it to serialize and deserialize objects as well as to read configuration properties from an XML configuration file.

Ever try to write a J2EE application accessing EJBs across a firewall? It can be messy, and developers often must resort to all kinds of workarounds, none of them particularly "neat." Developers often write a servlet to intercept HTTP requests and delegate them to EJBs, which is kind of a kludge. Another approach that uses tunneling technologies-such as RMI over HTTP-can entail a big performance hit. But there is a better way. You can solve this problem elegantly by using Java Secure Socket Extension (JSSE).

This article describes the overall servlet architecture and what you need to develop your application with servlets. Also presented are several code examples to show you how to use the Servlet API, and compare it with CGI and proprietary server APIs where appropriate.



