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


To make computers relate to the real world, we need sensors and analog-to-digital conversion. An exercise bicycle is a great example of how to interface a computer and a DB2 database to sensor data. All the steps are presented in an easy-to-follow format.
Category: Java tutorials > Database - Difficulty:

More cool Java tutorials:



Taking Screenshots in Java
Taking Screenshots in Java
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.
Category: Java tutorials > Swing - Difficulty:
Use XPath to Select Portions of XML Documents
Use XPath to Select Portions of XML Documents
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.
Category: Java tutorials > XML - Difficulty:
Use XStream to serialize Java objects into XML
Use XStream to serialize Java objects into XML
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.
Category: Java tutorials > XML - Difficulty:
Accessing EJBs through firewalls
Accessing EJBs through firewalls
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).
Category: Java tutorials > EJB - Difficulty:
An Introduction to Java Servlets
An Introduction to Java Servlets
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.
Category: Java tutorials > JSP - Difficulty: