Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- Java allows Sybase and XQL integration
- Sybase ASE provides full XML and XQL support, and Java can be used to easily work with the new features. Here's how to do it, complete with specific examples.Using XQL to query Java and XML data in client/server and distributed environments requires more than the ability to use it on...
- Tags: EJB, Databases, J2EE, Application servers, InputStream, Using XQL, Sybase Inc., document type definition, XML, JDBC, Sybase Adaptive Server Enterprise, XML document, JDBC client, XML-Data, Java
- Technical articles 2002-08-23
- Handling large data files efficiently with Java
- Reading and writing data is a common programming task, but the amount of data involved can sometimes create a big performance hit. Luckily, the java.io package provides the tools you need to meet this challenge.Java provides a simple standardized API for reading and writing to and from external resources such...
- Tags: Programming languages, Serguei Eremenko, Java, FileInputStream, InputStream
- Technical articles 2002-06-13
Additional Resources
- Compress data streams in Java with GZIP and Zip
- You can compress and decompress any data stream in Java. Peter Mikhalenko shows you just how easy it is to compress data streams with GZIP and Zip data formats. The classical input/output (I/O) library in Java contains classes that support I/O handling of streams with compressed data. You...
- Tags: Peter V. Mikhalenko, Programming languages, GZip, subclass, I/O, Java, DeflaterOutputStream, InflaterInputStream, Java Tips Newsletter, Data Compression, Data, Class, Servlet, Zip, Listing B, CRC32, Checksum, ZipEntry, Software Development, Software/Web Development
- Technical articles 2007-02-21
- Read and write data with Java's I/O streams
- All of Java's I/O is based upon streams. Once you learn the syntax for one stream; you can work with any other type in Java. This article introduces some ways of working with Java streams.The Java input/output (I/O) facilities provide a simple, standardized API for reading and writing character and...
- Tags: Programming languages, Jeff Hanson, Java, I/O
- Technical articles 2002-04-17
- Access USB Bluetooth device using Java
- Please does anyone know how I can gain access to my USB bluetooth device using JSR-82 API. With my bluetooth device turned on, when i run my code belox: I get a BluetoothStateExceptionimport java.io.IOException;import java.io.InputStream;import java.io.OutputStream;import javax.bluetooth.BluetoothStateException;import javax.bluetooth.DiscoveryAgent;import javax.bluetooth.LocalDevice;import javax.bluetooth.UUID;import javax.microedition.io.Connector;import javax.microedition.io.StreamConnection;import javax.microedition.io.StreamConnectionNotifier;public class PcServer { /** * @declarations */ protected LocalDevice...
- Tags: Wi-Fi, Java, ocsam2002@..., Microsoft Access, Bluetooth, PcServer, BluetoothStateException
- Discussion threads 2007-08-25
- Save time and prevent errors by converting data to XML format
- You often need to deal with data stored or transferred in various formats, ranging from comma- or tab-separated files to more complicated formats, each needing an appropriate parser. This can slow down development and create a source of errors. In addition, there is no guarantee that your parser will convert...
- Tags: Serguei Eremenko, XML document, fixed-length format, XML
- Technical articles 2003-07-17
- Overcome security limitations to safely transfer files between applets
- File transfer is common on the Internet, and Java applets offer this functionality. However, the applets entail some security restrictions that you need to watch out for. I’m going to show you how to safely transfer files between two applets.The security limitation of appletsIf every applet could read or write...
- Tags: Wai Tik Chan, security, File Transfer, applet
- Technical articles 2003-02-27
- How to effectively handle long-running tasks in Java
- In Java, you frequently need a class that listens to some events and processes some data during the application's lifetime. The well-documented Thread API offers the framework to make this happen.Quite often, you need a class to perform tasks like data processing, listening to events, or checking another class' activities...
- Tags: Programming languages, OOA/OOD/OOP, Serguei Eremenko, Java, Runnable
- Technical articles 2002-11-19
- Create cross-platform database-driven applications with JDBC
- This article is also available as a TechRepublic download, which includes the code samples in a more manageable text file format.One of Java most powerful APIs is the Java DatabaseConnectivity JDBC interface. This module offers a unified interface todifferent databases, providing a series of generic functions that areinternally translated into...
- Tags: CITY_TEMP, CITY_TEMP value, CITY_TEMP VALUES, Contributor Melonfire, JDBC, RDBMS
- Technical articles 2007-01-29
- Protect your network traffic using Java's encryption features
- Security and encryption are standard Java features provided by way of the Java Cryptography Extension JCE. Learn how to integrate these features in your next project.The Java Development Kit JDK has strong encryption and security support. One of the nicer features is its built-in support for socket communication. As we...
- Tags: Programming languages, SECURITY, network, Java, Java Cryptography Extension, encryption, JDK
- Technical articles 2002-06-05
- Upload users' files to a Web server using ASP.NET
- Most Web sites collect data via Web pagesthis includeseverything from collecting user feedback to posting blogcontent. It's good to be able to gather text; however, it's often necessary tocollect more robust elements. For instance, many career sites gather resumesthat job seekers submit as Word documents. The functionality of uploading filesis...
- Tags: HTML, Microsoft ASP.NET, server, Tony Patton, uploaded file, Web server
- Technical articles 2006-02-14
- Parse XML with the StAX Java API
- Streaming API for XML StAX is an API that allows you to read and write XML documents in Java. StAX is a parser independent, pure Java API based on interfaces that can be implemented by multiple parsers. StAX was introduced in Java 6.0 and is considered superior to...
- Tags: Event, API, StAX Java API, getName, eventWriter.add, createNode, XMLStreamWriter, XML, Software/Web Development, Web Development, Peter Mikhalenko
- Blog posts 2008-03-31
- Send XML documents online with SAAJ
- SOAP with Attachments API for Java SAAJ provides a standard way to send XML documents over the Internet from the Java platform. SAAJ enables you to produce and consume messages conforming to the SOAP 1.1 and 1.2 specifications and SOAP with Attachments note. When you choose to...
- Tags: Message, XML Document, XML, Attachment, Simple Object Access Protocol, Object, SAAJ, Attachments API, SAAJ 1.3, SAAJ 1.3 Specification, MIME, SAAJ API, SOAPMessage, SOAPPart, SOAPHeader, SOAPBody, AttachmentPart, Request Parameter, Enterprise Edition 5, SOAP, Web Services, Enterprise Software, Software, Peter Mikhalenko
- Blog posts 2008-03-20
- Handling terminal input and output in Java
- Exceptions, classes, garbage collection--is Java getting the better of you? Get your Java Beans counted with our Java Q&A column.All developers need help from time to time. And when it comes to Java, who better to offer that help than the experienced developers at Builder? This column will feature your...
- Tags: Programming languages, Guest Contributor, Java, Using System.in, readLine, String textLine, keyboard
- Technical articles 2001-03-19
- Understand when to serialize v. externalize objects in Java
- Peter Mikhalenko explains how you can easily serialize any object if it implements the Serializable interface. He also describes how you can control the process of serialization by implementing the Externalizable interface instead of Serializable. The serialization of objects in Java allows you to make a byte sequence...
- Tags: Java, Peter V. Mikhalenko, Programming languages, serialization, Java Tips Newsletter, Class, Object, Peter Mikhalenko, Serialization Mechanism, Software Development, Software/Web Development
- Technical articles 2007-02-14
- Enhance persistent application properties in your Java application
- Most software applications require a persistent set of properties for normal execution. The Properties class in the java.util package is often used for such storage. It provides a convenient mechanism for storing properties. But sometimes you need a more complicated property file structure, which you can achieve by expanding the...
- Tags: Java, Java application, Serguei Eremenko, Properties, property file
- Technical articles 2003-05-23
- Reading compressed files in Java
- Thanks to the Java.util.jar and Java.util.zip packages, Java 2 eases the burden of working with compressed files--regardless of the format. This article explains the ins and outs of working with these handy packages.Recently, I was assigned the task of importing Web logs into a SQL database for analysis. Unfortunately, the...
- Tags: Programming languages, Guest Contributor, Java, test file, ZipFile, Java.util.zip
- Technical articles 2002-03-25
- Send XML without XMLHTTP
- This article was originally published in the Builder.com Web Development Zone e-newsletter.Microsoft provides the XMLHTTP object for sending and receiving XML data from the client. However, this restricts you from creating portable Web applications, since the XMLHTTP object is an ActiveX object.Most of the functionality in the XMLHTTP object lies...
- Tags: Programming languages, Phillip Perkins, URL class, XML, Microsoft Corp., RSProxy, XMLHTTP, RSProxy class, REQUEST_POSTDATA, newRequest, Java
- Technical articles 2003-04-01
- Print on all Java platforms with JPS
- Java Print Service JPS allows you to print even on very size-limited platforms such as J2ME; it also supports standard Java 2D graphics. Learn how to organize printing with this API. Java Print Service JPS, introduced in JDK 1.4, is an API intended for printing on all...
- Tags: Java Platform, Java Print Service, Java, Peter V. Mikhalenko, Programming languages, Print Job, Java Tips Newsletter, Job, Printer, Printing, DocFlavor Class, PrintRequestAttributeSet, Document Management, Printers, Enterprise Software, Software, Finance, Managerial Accounting, Software Development, Software/Web Development, Hardware, Peripherals
- Technical articles 2007-01-17
- Combine app-defined payloads with lightweight DIME format
- Direct Internet Message Encapsulation DIME offers a better alternative to MIME and raw XML to combine multiple text and binary records into one binary stream. See how DIME can work with your applications.The Direct Internet Message Encapsulation DIME format provides an easy, standard mechanism for combining multiple text or binary...
- Tags: Ryan Brase, Direct Internet Message Encapsulation, binary portion, Multipurpose Internet Mail Extensions, XML
- Technical articles 2002-12-06
- << Previous
- page 1 of 1
- Next >>
Storage Virtualization
-
In virtual environments, storage matters. It influences everything from application availability and disaster readiness to power consumption and TCO. Bottom line: Don’t defeat the purpose of your consolidation by skimping on storage.
- From our sponsors
-
EMC Corporation
-
ESG applauds new CX4 in analyst report
According to ESG, it's hard to find much missing in the new CLARiiON CX4.
Read the report to learn more »
-